Hello.
It seems that lang/gcc starts producing incorrect binaries after some
point. Right now it stops building with:
checking whether to build static libraries... yes
libtool.m4: error: problem compiling FC test program
checking for /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/
-B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem
/usr/local/i386-portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include option to produce PIC...
checking if /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/
-B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem
/usr/local/i386-portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include static flag works... no
checking if /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/
-B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem
/usr/local/i386-portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include supports -c -o
file.o... no
checking if /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/
-B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem
/usr/local/i386-portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include supports -c -o
file.o... (cached) no
checking whether the
/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/
-B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem
/usr/local/i386-portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include linker
(/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/collect-ld) supports
shared libraries... yes
checking dynamic linker characteristics... freebsd9.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether the GNU Fortran compiler is working... no
configure: error: GNU Fortran is not working; please report a bug in
http://gcc.gnu.org/bugzilla, attaching
/tmp/ports/usr/ports/lang/gcc/work/build/i386-portbld-freebsd9.1/libgfortran/config.log
configure:12860: /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gcc/work/build/
./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr/local/i386-
portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include -c conftest.f >&5
<built-in>:0:0: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:12863: $? = 1
configure:12991: checking for
/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gc
c/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /us
r/local/i386-portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include option to produce
PIC
configure:13276: result:
configure:13341: checking if
/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran
-B/tmp/ports/usr/ports/lang/gcc
/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/
-B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr
/local/i386-portbld-freebsd9.1/include -isystem
/usr/local/i386-portbld-freebsd9.1/sys-include static flag works
configure:13369: result: no
Same with or without CPUTYPE set, building with clang or with in-base gcc.
My CPU is:
Oct 2 17:57:10 limbo kernel: CPU: AMD Athlon(tm) XP 2500+ (1833.95-MHz
686-class CPU)
Oct 2 17:57:10 limbo kernel: Origin = "AuthenticAMD" Id = 0x6a0
Family = 0x6 Model = 0xa Stepping = 0
Oct 2 17:57:10 limbo kernel:
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
Oct 2 17:57:10 limbo kernel: AMD
Features=0xc0400800<SYSCALL,MMX+,3DNow!+,3DNow!>
--
Sphinx of black quartz, judge my vow.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"