Build failure, default branch Debian 64
Heater.
Posts: 21,230
I can no longer build the default branch of propgcc:
This is on Debian amd64 Wheezy
The release branch still builds OK.
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/heater/propeller/propgcc/gcc/lto-plugin -I/home/heater/propeller/propgcc/gcc/lto-plugin/../include -DHAVE_CONFIG_H -Wall -Werror -g -O2 -c /home/heater/propeller/propgcc/gcc/lto-plugin/lto-plugin.c -fPIC -DPIC -o .libs/lto-plugin.o/bin/bash ./libtool --tag=CC --tag=disable-static --mode=link gcc -Wall -Werror -g -O2 -module -bindir /opt/parallax/libexec/gcc/propeller-elf/4.6.1 -Wc,../libiberty/libiberty.a -o liblto_plugin.la -rpath /opt/parallax/libexec/gcc/propeller-elf/4.6.1 lto-plugin.lo libtool: link: gcc -shared .libs/lto-plugin.o ../libiberty/libiberty.a -Wl,-soname -Wl,liblto_plugin.so.0 -o .libs/liblto_plugin.so.0.0.0/usr/bin/ld: ../libiberty/libiberty.a(argv.o): [B]relocation R_X86_64_32S against `_sch_istable' can not be used when making a shared object; recompile with -fPIC[/B] ../libiberty/libiberty.a: could not read symbols: Bad valuecollect2: error: ld returned 1 exit statusmake[3]: *** [liblto_plugin.la] Error 1make[3]: Leaving directory `/home/heater/propeller/build/gcc/lto-plugin'make[2]: *** [all] Error 2make[2]: Leaving directory `/home/heater/propeller/build/gcc/lto-plugin'make[1]: *** [all-lto-plugin] Error 2make[1]: Leaving directory `/home/heater/propeller/build/gcc'make: *** [/home/heater/propeller/propgcc/../build/gcc/gcc-built] Error 2
This is on Debian amd64 Wheezy
The release branch still builds OK.
Comments
Now the build fails earlier with:
After removing the build directory and including /opt/parallax/bin in the PATH propgcc builds just fine. Only I don't recall having to remove the build directory ever before.