This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Build error on ARM


Hi!

I see this build issue with latest release and HEAD:

gcc -D_GNU_SOURCE -DHAVE_CONFIG_H  -DDEBUGPRED=0 -DSRCDIR=\"/usr/src/packages/BUILD/elfutils-0.142/src\" -DOBJDIR=\"/usr/src/packages/BUILD/elfutils-0.142/src\" -I. -I.. -I. -I./../libelf -I./../libebl -I./../libdw -I./../libdwfl -I./../libasm -I./../lib -I..   -Wall -Wshadow -std=gnu99  -Werror  -Wformat=2  -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -fPIC -DPIC -D__SOFTFP__ -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -MT ldgeneric.o -MD -MP -MF .deps/ldgeneric.Tpo -c -o ldgeneric.o ldgeneric.c
cc1: warnings being treated as errors
ldgeneric.c: In function 'compute_hash_sum':
ldgeneric.c:4179: error: implicit declaration of function '__elf_getdata_internal'
ldgeneric.c:4179: error: assignment makes pointer from integer without a cast
make[2]: *** [ldgeneric.o] Error 1
rm i386_ld.o
make[2]: Leaving directory `/usr/src/packages/BUILD/elfutils-0.142/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/elfutils-0.142'

Environment is  gcc-4.4.1, glibc-2.10.1 and binutils 2.19.51 .

Best,
Jan-Simon

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]