ia64-portbld-freebsd9.0 Last working version: gcc-4.6.2.20110902 Building 4.6.2.20110916 fails with: Checking multilib configuration for libgcc... Configuring stage 2 in ia64-portbld-freebsd9.0/libgcc configure: loading cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for gawk... gawk checking build system type... ia64-portbld-freebsd9.0 checking host system type... ia64-portbld-freebsd9.0 checking for ia64-portbld-freebsd9.0-ar... /usr/local/ia64-portbld-freebsd9.0/bin/ar checking for ia64-portbld-freebsd9.0-lipo... lipo checking for ia64-portbld-freebsd9.0-nm... /usr/ports/lang/gcc46/work/build/./gcc/nm checking for ia64-portbld-freebsd9.0-ranlib... /usr/local/ia64-portbld-freebsd9.0/bin/ranlib checking for ia64-portbld-freebsd9.0-strip... /usr/local/ia64-portbld-freebsd9.0/bin/strip checking whether ln -s works... yes checking for ia64-portbld-freebsd9.0-gcc... /usr/ports/lang/gcc46/work/build/./gcc/xgcc -B/usr/port s/lang/gcc46/work/build/./gcc/ -B/usr/local/ia64-portbld-freebsd9.0/bin/ -B/usr/local/ia64-portbld- freebsd9.0/lib/ -isystem /usr/local/ia64-portbld-freebsd9.0/include -isystem /usr/local/ia64-portbl d-freebsd9.0/sys-include checking for suffix of object files... configure: error: in `/usr/ports/lang/gcc46/work/build/ia64- portbld-freebsd9.0/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[2]: *** [configure-stage2-target-libgcc] Error 1 Full work/build/ia64-portbld-freebsd9.0/libgcc/config.log is attached. Here's the relevant extract: configure:3246: checking for suffix of object files configure:3268: /usr/ports/lang/gcc46/work/build/./gcc/xgcc -B/usr/ports/lang/gcc46/work/build/./gc c/ -B/usr/local/ia64-portbld-freebsd9.0/bin/ -B/usr/local/ia64-portbld-freebsd9.0/lib/ -isystem /us r/local/ia64-portbld-freebsd9.0/include -isystem /usr/local/ia64-portbld-freebsd9.0/sys-include -c -g -O2 -pipe -I/usr/local/include -fno-strict-aliasing conftest.c >&5 conftest.c: In function 'main': conftest.c:16:1: internal compiler error: Segmentation fault: 11
Created attachment 25338 [details] ia64 FreeBSD gcc4.6 libgcc config.log
Gerald has provided a fix for the _Unwind_FindTableEntry FreeBSD ia64 issue (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45650). With this fix, 4.7 on ia64 FreeBSD now gives the same error: checking for ia64-portbld-freebsd9.0-gcc... /usr/ports/lang/gcc47/work/build/./gcc/xgcc -B/usr/ports /lang/gcc47/work/build/./gcc/ -B/usr/local/ia64-portbld-freebsd9.0/bin/ -B/usr/local/ia64-portbld-fr eebsd9.0/lib/ -isystem /usr/local/ia64-portbld-freebsd9.0/include -isystem /usr/local/ia64-portbld-f reebsd9.0/sys-include checking for suffix of object files... configure: error: in `/usr/ports/lang/gcc47/work/build/ia64-p ortbld-freebsd9.0/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. gmake[2]: *** [configure-stage2-target-libgcc] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc47/work/build'
Created attachment 25362 [details] ia64 FreeBSD gcc4.7 libgcc config.log
Well, my "fix" may not really be one (it definitely is a hack and not the right fix) and thus it may actually be causing the segmentation fault even. I think http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45650 may need to be addressed for real first, before delving into this one.
GCC 4.6.2 is being released.
GCC 4.6.3 is being released.
The 4.6 branch has been closed, fixed in GCC 4.7.0.