Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gcc49 from pkgsrc


I'm trying to build gcc 4.9.2 from pkgsrc on a raspberry PI B+. Compilation fails with :

c++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W
-Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -static-libstdc++
-static-libgcc -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o
xgcc gcc.o ggc-none.o \
  c/gccspec.o  libcommon-target.a \
   libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
gcc.o:(.rodata+0x58c4): undefined reference to `host_detect_local_cpu(int, char
Makefile:1805: recipe for target 'xgcc' failed
gmake[3]: *** [xgcc] Error 1

I haven't found any usable workaround but some users seem to have the same issue. Do you have idea to build gcc 4.9.2 on arm ?

	Best regards,


Home | Main Index | Thread Index | Old Index