package/makedumpfile: fix build on sparc64
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 4 Feb 2021 19:31:11 +0000 (20:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 5 Feb 2021 18:38:20 +0000 (19:38 +0100)
commit28df31e8dc3b878b4c0b12aaf4106bb0a95292ff
tree59d6edbb9f63bbe92b5b57ff77c5d72378632fd8
parent5e2422d12a21c027d53f57886a4544116c00e177
package/makedumpfile: fix build on sparc64

Fix the following build failure on sparc64:

/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: /tmp/ccylTux8.o: in function `find_kaslr_offsets':
/home/giuliobenetti/autobuild/run/instance-0/output-1/build/makedumpfile-1.6.8/makedumpfile.c:4017: undefined reference to `get_kaslr_offset'

Even if this build failure is only raised with version 1.6.8,
get_kaslr_offset was also undeclared on sparc64 in version 1.6.7

Fixes:
 - http://autobuild.buildroot.org/results/1421f54f7599bba62c0a4bd5c65ce21c8cc7ee1a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/makedumpfile/0002-makedumpfile.h-fix-build-on-sparc64.patch [new file with mode: 0644]