Closed dinuxbg closed 7 years ago
@dinuxbg
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./config -I./../include -I./.. -I./../bfd -DLOCALEDIR="\"/usr/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -Wwrite-strings -I./../zlib -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT tc-pru.o -MD -MP -MF .deps/tc-pru.Tpo -c -o tc-pru.o `test -f 'config/tc-pru.c' || echo './'`config/tc-pru.c
config/tc-pru.c:178:1: error: conflicting types for 'md_number_to_chars'
md_number_to_chars (char *buf, uint64_t val, int n)
^
In file included from ./as.h:555:0,
from config/tc-pru.c:23:
./tc.h:33:8: note: previous declaration of 'md_number_to_chars' was here
void md_number_to_chars (char *, valueT, int);
^
Makefile:1634: recipe for target 'tc-pru.o' failed
make[5]: *** [tc-pru.o] Error 1
Regards,
Looks like an issue with 32-bit hosts (I've been testing on x86_64). I'm working on a fix.
Note that binutils must be upgraded and installed prior to building the new GCC. This is due to some ABI-breaking changes since BETA-rc1.
Binutils ABI should be stable from this point on - PRU port has been mainlined, and it should be mostly compatible with TI's CLPRU ELF ABI.
Testing done: I used sbuild on x86 to build the packages. Since I have not made any changes to the build and release scripts, I do not expect issues for armhf.
Signed-off-by: Dimitar Dimitrov dimitar@dinux.eu