[Bug debug/35693] New: configure: error: cannot compute suffix of object files: cannot compile
mkdir -p -- sparc-sun-solaris2.10/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in sparc-sun-solaris2.10/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /usr/local/bin/install -c checking for gawk... gawk checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for sparc-sun-solaris2.10-ar... ar checking for sparc-sun-solaris2.10-lipo... lipo checking for sparc-sun-solaris2.10-nm... /apps/tmp/software_eval/gcc43/./gcc/nm checking for sparc-sun-solaris2.10-ranlib... ranlib checking for sparc-sun-solaris2.10-strip... strip checking whether ln -s works... yes checking for sparc-sun-solaris2.10-gcc... /apps/tmp/software_eval/gcc43/./gcc/xgcc -B/apps/tmp/software_eval/gcc43/./gcc/ -B/apps/gcc43/sparc-sun-solaris2.10/bin/ -B/apps/gcc43/sparc-sun-solaris2.10/lib/ -isystem /apps/gcc43/sparc-sun-solaris2.10/include -isystem /apps/gcc43/sparc-sun-solaris2.10/sys-include checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/apps/tmp/software_eval/gcc43' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/apps/tmp/software_eval/gcc43' make: *** [all] Error 2 -- Summary: configure: error: cannot compute suffix of object files: cannot compile Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tom_francen at midtechcorp dot com GCC build triplet: sunblade 2000 sun 2.10 + patches patches via pca GCC host triplet: sunblade 2000 sun 2.10 + patches patches via pca GCC target triplet: sunblade 2000 sun 2.10 + patches patches via pca http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35693
[Bug debug/35693] configure: error: cannot compute suffix of object files: cannot compile
--- Comment #2 from tom_francen at midtechcorp dot com 2008-03-25 22:38 --- Created an attachment (id=15376) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15376&action=view) config.log attachment ... /apps/tmp:0x83:root:sb100mtc2> cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ gcc-4.3.0/configure --prefix=/apps/gcc43 --with-config-shell=/usr/bin/ksh --with-gnu-ld --with-gnu-as --with-gmp=/apps/gmp42 --with-mpfr=/apps/mpfr23 ## - ## ## Platform. ## ## - ## hostname = sb100mtc3 uname -m = sun4u uname -r = 5.10 uname -s = SunOS uname -v = Generic_127111-11 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = sb100mtc3 Release = 5.10 KernelID = Generic_127111-11 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/local/bin PATH: /apps/law5/gen/cgi-bin PATH: /apps/law5/gen/bin PATH: /apps/java_150/bin PATH: /apps/IBM/db2/V8.1/bin PATH: /apps/IBM/db2/V8.1/adm PATH: /apps/IBM/db2/V8.1/instance PATH: /apps/IBM/ldap/V6.0/bin PATH: . PATH: /usr/ccs/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /apps/cobolse5/bin PATH: /usr/local/samba/bin PATH: /usr/local/sbin PATH: /usr/sadm/bin PATH: /usr/local/ssl/bin PATH: /apps/oracle/10.2.0/bin PATH: /usr/sfw/bin PATH: /apps/oracle/10.2.0/bin PATH: /usr/local/lem PATH: /usr/local/laprop/bin PATH: /usr/local/lapatch/bin ## --- ## ## Core tests. ## ## --- ## configure:1505: checking build system type configure:1523: result: sparc-sun-solaris2.10 configure:1558: checking host system type configure:1572: result: sparc-sun-solaris2.10 configure:1580: checking target system type configure:1594: result: sparc-sun-solaris2.10 configure:1637: checking for a BSD-compatible install configure:1692: result: /usr/local/bin/install -c configure:1703: checking whether ln works configure:1725: result: yes configure:1729: checking whether ln -s works configure:1733: result: yes configure:2885: checking for gcc configure:2901: found /usr/local/bin/gcc configure:2911: result: gcc configure:3155: checking for C compiler version configure:3158: gcc --version &5 gcc (GCC) 4.2.3 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3161: $? = 0 configure:3163: gcc -v &5 Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: gcc-4.2.3/configure --with-config-shell=/usr/bin/ksh --with-gnu-ld --with-gnu-as Thread model: posix gcc version 4.2.3 configure:3166: $? = 0 configure:3168: gcc -V &5 gcc: '-V' option must have argument configure:3171: $? = 1 configure:3194: checking for C compiler default output file name configure:3197: gccconftest.c >&5 configure:3200: $? = 0 configure:3246: result: a.out configure:3251: checking whether the C compiler works configure:3257: ./a.out configure:3260: $? = 0 configure:3277: result: yes configure:3284: checking whether we are cross compiling configure:3286: result: no configure:3289: checking for suffix of executables configure:3291: gcc -o conftestconftest.c >&5 configure:3294: $? = 0 configure:3319: result: configure:3325: checking for suffix of object files configure:3346: gcc -c conftest.c >&5 configure:3349: $? = 0 configure:3371: result: o configure:3375: checking whether we are using the GNU C compiler configure:3399: gcc -c conftest.c >&5 configure:3405: $? = 0 configure:3409: test -z || test ! -s conftest.err configure:3412: $? = 0 configure:3415: test -s conftest.o configure:3418: $? = 0 configure:3431: result: yes configure:3437: checking whether gcc accepts -g configure:3458: gcc -c -g conftest.c >&5 configure:3464: $? = 0 configure:3468: test -z || test ! -s conftest.err configure:3471: $? = 0 configure:3474: test -s conftest.o configure:3477: $? = 0 configure:3488: result: yes configure:3505: checking for gcc option to accept ANSI C configure:3575: gcc -c -g -O2 conftest.c >&5 configure:3581: $? = 0 configure:3585: test -z || test ! -s conftest.err configure:3588: $? = 0 configure:3591: test -s conftest.o configure:3594: $? = 0 configure:3612: result: none needed configure:3630: gcc -c -g -O2 conftest.c >&5 conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' bef
[Bug debug/35693] configure: error: cannot compute suffix of object files: cannot compile
--- Comment #3 from tom_francen at midtechcorp dot com 2008-03-25 22:42 --- Subject: RE: configure: error: cannot compute suffix of object files: cannot compile hi rick, I did review the config.log output ... grepped for "error" ... but in all honesty, I'm not quite sure what I'm searching for, or what would need to be changed. I've successfully built gcc346/gcc404/gcc412/gcc423 on my 3 sunblade boxes ... this is just my 1st attempt at gcc43 ... tjf denver, co Have you looked at sparc-sun-solaris2.10/libgcc/config.log for those details? -- rwild at gcc dot gnu dot org changed: What|Removed |Added CC||Ralf dot Wildenhues at gmx ||dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35693 --- You are receiving this mail because: --- You reported the bug, or are watching the reporter. --- Comment #4 from tom_francen at midtechcorp dot com 2008-03-25 22:42 --- Created an attachment (id=15377) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15377&action=view) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35693
[Bug debug/35693] configure: error: cannot compute suffix of object files: cannot compile
--- Comment #6 from tom_francen at midtechcorp dot com 2008-03-25 23:35 --- Created an attachment (id=15378) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15378&action=view) new config.log from directory sparc-sun-solaris2.10/libgcc -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35693
[Bug debug/35693] configure: error: cannot compute suffix of object files: cannot compile
--- Comment #7 from tom_francen at midtechcorp dot com 2008-03-25 23:36 --- Subject: RE: configure: error: cannot compute suffix of object files: cannot compile sorry ... here's the one in the sparc-sun-solaris2.10/libgcc directory ... thanks much. tjf denver, co -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ralf dot Wildenhues at gmx dot de Sent: Tuesday, March 25, 2008 4:44 PM To: [EMAIL PROTECTED] Subject: [Bug debug/35693] configure: error: cannot compute suffix of object files: cannot compile --- Comment #5 from Ralf dot Wildenhues at gmx dot de 2008-03-25 22:43 --- Subject: Re: configure: error: cannot compute suffix of object files: cannot compile * tom_francen at midtechcorp dot com wrote on Tue, Mar 25, 2008 at 11:38:05PM CET: > > /apps/tmp:0x83:root:sb100mtc2> cat config.log [...] > $ gcc-4.3.0/configure --prefix=/apps/gcc43 --with-config-shell=/usr/bin/ksh > --with-gnu-ld --with-gnu-as --with-gmp=/apps/gmp42 --with-mpfr=/apps/mpfr23 That's the toplevel config.log. Please look at the one in the sparc-sun-solaris2.10/libgcc directory. --- Comment #8 from tom_francen at midtechcorp dot com 2008-03-25 23:36 --- Created an attachment (id=15379) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15379&action=view) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35693
[Bug java/21206] gcj seems not to pass the option to ld correctly
--- Comment #16 from tom_francen at midtechcorp dot com 2007-11-14 23:16 --- i'm receiving a very similar error under solaris 2.10, binutils and core utils (latest versions), gnu make, etc. gcc 4.1.2 built fine ... gcc 4.2.1 and 4.2.2 fail with the same error below ... /usr/bin/ksh ./libtool --tag=CXX --mode=link /apps/tmp/./gcc/xgcc -shared-libgcc -B/apps/tmp/./gcc -nostdinc++ -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/usr/local/sparc-sun-solaris2.10/bin/ -B/usr/local/sparc-sun-solaris2.10/lib/ -isystem /usr/local/sparc-sun-solaris2.10/include -isystem /usr/local/sparc-sun-solaris2.10/sys-include -L/apps/tmp/sparc-sun-solaris2.10/libjava -g -O2 -o libgcj-tools.la -rpath /usr/local/lib -rpath /usr/local/lib -version-info `grep -v '^#' ../../gcc-4.2.2/libjava/libtool-version` classpath/tools/libgcj_tools_la-tools.lo /apps/tmp/./gcc/xgcc -shared-libgcc -B/apps/tmp/./gcc -nostdinc++ -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/usr/local/sparc-sun-solaris2.10/bin/ -B/usr/local/sparc-sun-solaris2.10/lib/ -isystem /usr/local/sparc-sun-solaris2.10/include -isystem /usr/local/sparc-sun-solaris2.10/sys-include -shared -nostdlib /apps/tmp/./gcc/crti.o /usr/ccs/lib/values-Xa.o /apps/tmp/./gcc/crtbegin.o classpath/tools/.libs/libgcj_tools_la-tools.o -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -L/apps/tmp/sparc-sun-solaris2.10/libjava -L/apps/tmp/./gcc -L/usr/local/sparc-sun-solaris2.10/bin -L/usr/local/sparc-sun-solaris2.10/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../../../sparc-sun-solaris2.10/lib -L/usr/ccs/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../.. -lgcc_s -lgcc_s -lc /apps/tmp/./gcc/crtend.o /apps/tmp/./gcc/crtn.o -Wl,-soname -Wl,libgcj-tools.so.8 -o .libs/libgcj-tools.so.8.0.0 (cd .libs && rm -f libgcj-tools.so.8 && ln -s libgcj-tools.so.8.0.0 libgcj-tools.so.8) (cd .libs && rm -f libgcj-tools.so && ln -s libgcj-tools.so.8.0.0 libgcj-tools.so) /usr/local/sparc-sun-solaris2.10/bin/ar rc .libs/libgcj-tools.a classpath/tools/libgcj_tools_la-tools.o /usr/local/sparc-sun-solaris2.10/bin/ranlib .libs/libgcj-tools.a creating libgcj-tools.la (cd .libs && rm -f libgcj-tools.la && ln -s ../libgcj-tools.la libgcj-tools.la) /usr/bin/ksh ./libtool --tag=GCJ --mode=link /apps/tmp/gcc/gcj -B/apps/tmp/sparc-sun-solaris2.10/libjava/ -B/apps/tmp/gcc/ -L/apps/tmp/sparc-sun-solaris2.10/libjava -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/lib -shared-libgcc -L/apps/tmp/sparc-sun-solaris2.10/libjava/.libs libgcj.la /apps/tmp/gcc/gcj -B/apps/tmp/sparc-sun-solaris2.10/libjava/ -B/apps/tmp/gcc/ -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -L/apps/tmp/sparc-sun-solaris2.10/libjava -L/apps/tmp/sparc-sun-solaris2.10/libjava/.libs ./.libs/libgcj.so -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -lpthread -lrt -ldl -L/apps/tmp/./gcc -L/usr/local/sparc-sun-solaris2.10/bin -L/usr/local/sparc-sun-solaris2.10/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../../../sparc-sun-solaris2.10/lib -L/usr/ccs/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../.. -lgcc_s -lgcc_s -Wl,--rpath -Wl,/usr/local/lib /usr/local/sparc-sun-solaris2.10/bin/ld: unrecognized option '-Wl,-rpath' /usr/local/sparc-sun-solaris2.10/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status make[3]: *** [jv-convert] Error 1 make[3]: Leaving directory `/apps/tmp/sparc-sun-solaris2.10/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/tmp/sparc-sun-solaris2.10/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/apps/tmp' make: *** [all] Error 2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
[Bug bootstrap/34097] New: gcc build on solaris 2.10 fails
i'm on solaris 2.10, attempting to build gcc versions 4.2.2 (also failed w/4.2.1). i've SUCCESSFULLY built 4.1.2, 3.4.6, and other versions. i complete through 5 hours of the build process (creating nearly 7mb of nohup.out output) before erroring with what follows belows. my configure statement is as follows: CONFIG_SHELL=/usr/bin/ksh export CONFIG_SHELL gcc-4.2.1/configure --prefix=/apps/gcc42 --with-config-shell=/usr/bin/ksh --with-gnu-ld --with-gnu-as i run the latest versions of the OS, binutils, make, and pretty much any utility posted on sunfreeware.com. here's the tail end of the 7mb nohup.out make command ... /usr/bin/ksh ./libtool --tag=CXX --mode=link /apps/tmp/./gcc/xgcc -shared-libgcc -B/apps/tmp/./gcc -nostdinc++ -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/usr/local/sparc-sun-solaris2.10/bin/ -B/usr/local/sparc-sun-solaris2.10/lib/ -isystem /usr/local/sparc-sun-solaris2.10/include -isystem /usr/local/sparc-sun-solaris2.10/sys-include -L/apps/tmp/sparc-sun-solaris2.10/libjava -g -O2 -o libgcj-tools.la -rpath /usr/local/lib -rpath /usr/local/lib -version-info `grep -v '^#' ../../gcc-4.2.2/libjava/libtool-version` classpath/tools/libgcj_tools_la-tools.lo /apps/tmp/./gcc/xgcc -shared-libgcc -B/apps/tmp/./gcc -nostdinc++ -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -B/usr/local/sparc-sun-solaris2.10/bin/ -B/usr/local/sparc-sun-solaris2.10/lib/ -isystem /usr/local/sparc-sun-solaris2.10/include -isystem /usr/local/sparc-sun-solaris2.10/sys-include -shared -nostdlib /apps/tmp/./gcc/crti.o /usr/ccs/lib/values-Xa.o /apps/tmp/./gcc/crtbegin.o classpath/tools/.libs/libgcj_tools_la-tools.o -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -L/apps/tmp/sparc-sun-solaris2.10/libjava -L/apps/tmp/./gcc -L/usr/local/sparc-sun-solaris2.10/bin -L/usr/local/sparc-sun-solaris2.10/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../../../sparc-sun-solaris2.10/lib -L/usr/ccs/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../.. -lgcc_s -lgcc_s -lc /apps/tmp/./gcc/crtend.o /apps/tmp/./gcc/crtn.o -Wl,-soname -Wl,libgcj-tools.so.8 -o .libs/libgcj-tools.so.8.0.0 (cd .libs && rm -f libgcj-tools.so.8 && ln -s libgcj-tools.so.8.0.0 libgcj-tools.so.8) (cd .libs && rm -f libgcj-tools.so && ln -s libgcj-tools.so.8.0.0 libgcj-tools.so) /usr/local/sparc-sun-solaris2.10/bin/ar rc .libs/libgcj-tools.a classpath/tools/libgcj_tools_la-tools.o /usr/local/sparc-sun-solaris2.10/bin/ranlib .libs/libgcj-tools.a creating libgcj-tools.la (cd .libs && rm -f libgcj-tools.la && ln -s ../libgcj-tools.la libgcj-tools.la) /usr/bin/ksh ./libtool --tag=GCJ --mode=link /apps/tmp/gcc/gcj -B/apps/tmp/sparc-sun-solaris2.10/libjava/ -B/apps/tmp/gcc/ -L/apps/tmp/sparc-sun-solaris2.10/libjava -g -O2 -o jv-convert --main=gnu.gcj.convert.Convert -rpath /usr/local/lib -shared-libgcc -L/apps/tmp/sparc-sun-solaris2.10/libjava/.libs libgcj.la /apps/tmp/gcc/gcj -B/apps/tmp/sparc-sun-solaris2.10/libjava/ -B/apps/tmp/gcc/ -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -L/apps/tmp/sparc-sun-solaris2.10/libjava -L/apps/tmp/sparc-sun-solaris2.10/libjava/.libs ./.libs/libgcj.so -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src -L/apps/tmp/sparc-sun-solaris2.10/libstdc++-v3/src/.libs -lpthread -lrt -ldl -L/apps/tmp/./gcc -L/usr/local/sparc-sun-solaris2.10/bin -L/usr/local/sparc-sun-solaris2.10/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../../../sparc-sun-solaris2.10/lib -L/usr/ccs/lib -L/usr/local/lib/gcc/sparc-sun-solaris2.10/../.. -lgcc_s -lgcc_s -Wl,--rpath -Wl,/usr/local/lib /usr/local/sparc-sun-solaris2.10/bin/ld: unrecognized option '-Wl,-rpath' /usr/local/sparc-sun-solaris2.10/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status make[3]: *** [jv-convert] Error 1 make[3]: Leaving directory `/apps/tmp/sparc-sun-solaris2.10/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/apps/tmp/sparc-sun-solaris2.10/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/apps/tmp' make: *** [all] Error 2 -- Summary: gcc build on solaris 2.10 fails Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tom_francen at midtechcorp dot com GCC build triplet: n/a GCC host triplet: n/a GCC target triplet: n/a http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34097
[Bug java/21206] gcj seems not to pass the option to ld correctly
--- Comment #18 from tom_francen at midtechcorp dot com 2007-11-15 13:46 --- Subject: Re: gcj seems not to pass the option to ld correctly thank you wilson ... i just tried suggestion #6 ... and it WORKED!! thank you very much!! tjf --- Thomas James Francen Midwest Technologies Corporation http://www.midtechcorp.com - website +1.303.898.6300 - Cell / Voicemail +1.610.887.5155 - Fax --- [EMAIL PROTECTED] wrote: From: "wilson at tuliptree dot org" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [Bug java/21206] gcj seems not to pass the option to ld correctly Date: 14 Nov 2007 23:46:07 - --- Comment #17 from wilson at tuliptree dot org 2007-11-14 23:46 --- Subject: Re: gcj seems not to pass the option to ld correctly On Wed, 2007-11-14 at 23:16 +0000, tom_francen at midtechcorp dot com wrote: > i'm receiving a very similar error under solaris 2.10, binutils and core utils > (latest versions), gnu make, etc. gcc 4.1.2 built fine ... gcc 4.2.1 and > 4.2.2 > fail with the same error below ... You can try the workaround I gave in comment #6. Jim -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21206
[Bug fortran/34207] New: configure: error: GNU Fortran is not working
in building GCC 4.3.3-20071116 on my solaris sparc 10 (latest patches) boxes, i receive the follow message: configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla attaching /apps/tmp/gcc43/sparc-sun-solaris2.10/libgfortran/config.log here's my configure statement CONFIG_SHELL=/usr/bin/ksh export CONFIG_SHELL PATH=/usr/local/bin:$PATH:/apps/mpfr2 export PATH LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:/apps/mpfr2/lib export LD_LIBRARY_PATH gcc-4.3-20071116/configure --prefix=/apps/gcc43 --with-config-shell=/usr/bin/ksh --with-gnu-ld --with-gnu-as --with-gmp=/usr/local/lib --with-mpfr=/apps/mpfr2 and here's the config.log output per the request above ... == This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Fortran Runtime Library configure 0.3, which was generated by GNU Autoconf 2.59. Invocation command line was $ /apps/tmp/gcc43/gcc-4.3-20071116/libgfortran/configure --cache-file=./config.cache --enable-multilib --prefix=/apps/gcc43 --with-config-shell=/usr/bin/ksh --with-gnu-ld --with-gnu-as --with-gmp=/usr/local/lib --with-mpfr=/apps/mpfr2 --enable-languages=c,c++,fortran,java,objc --program-transform-name=s,y,y, --with-target-subdir=sparc-sun-solaris2.10 --build=sparc-sun-solaris2.10 --host=sparc-sun-solaris2.10 --target=sparc-sun-solaris2.10 --srcdir=../../gcc-4.3-20071116/libgfortran ## - ## ## Platform. ## ## - ## hostname = sb100mtc3 uname -m = sun4u uname -r = 5.10 uname -s = SunOS uname -v = Generic_127111-03 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = sb100mtc3 Release = 5.10 KernelID = Generic_127111-03 Machine = sun4u BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 2 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/local/bin PATH: /apps/law5/gen/cgi-bin PATH: /apps/law5/gen/bin PATH: /apps/java_150/bin PATH: /apps/IBM/db2/V8.1/bin PATH: /apps/IBM/db2/V8.1/adm PATH: /apps/IBM/db2/V8.1/instance PATH: /apps/IBM/ldap/V6.0/bin PATH: . PATH: /usr/ccs/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /apps/cobolse5/bin PATH: /usr/local/samba/bin PATH: /usr/local/sbin PATH: /usr/sadm/bin PATH: /usr/local/ssl/bin PATH: /apps/oracle/10.2.0/bin PATH: /usr/sfw/bin PATH: /apps/oracle/10.2.0/bin PATH: /usr/local/lem PATH: /usr/local/laprop/bin PATH: /usr/local/lapatch/bin PATH: /apps/mpfr2 ## --- ## ## Core tests. ## ## --- ## configure:1398: creating cache ./config.cache configure:1519: checking build system type configure:1537: result: sparc-sun-solaris2.10 configure:1595: checking for --enable-version-specific-runtime-libs configure:1610: result: no configure:1614: checking for --enable-intermodule configure:1626: result: configure:1655: checking host system type configure:1669: result: sparc-sun-solaris2.10 configure:1677: checking target system type configure:1691: result: sparc-sun-solaris2.10 configure:1731: checking for a BSD-compatible install configure:1786: result: /usr/local/bin/install -c configure:1797: checking whether build environment is sane configure:1840: result: yes configure:1905: checking for gawk configure:1921: found /usr/local/bin/gawk configure:1931: result: gawk configure:1941: checking whether make sets $(MAKE) configure:1961: result: yes configure:2121: checking whether to enable maintainer-specific portions of Makefiles configure:2130: result: no configure:2244: checking for sparc-sun-solaris2.10-gcc configure:2270: result: /apps/tmp/gcc43/./gcc/xgcc -B/apps/tmp/gcc43/./gcc/ -B/apps/gcc43/sparc-sun-solaris2.10/bin/ -B/apps/gcc43/sparc-sun-solaris2.10/lib/ -isystem /apps/gcc43/sparc-sun-solaris2.10/include -isystem /apps/gcc43/sparc-sun-solaris2.10/sys-include configure:2552: checking for C compiler version configure:2555: /apps/tmp/gcc43/./gcc/xgcc -B/apps/tmp/gcc43/./gcc/ -B/apps/gcc43/sparc-sun-solaris2.10/bin/ -B/apps/gcc43/sparc-sun-solaris2.10/lib/ -isystem /apps/gcc43/sparc-sun-solaris2.10/include -isystem /apps/gcc43/sparc-sun-solaris2.10/sys-include --version &5 xgcc (GCC) 4.3.0 20071116 (experimental) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2558: $? = 0 configure:2560: /apps/tmp/gcc43/./gcc/xgcc -B/apps/tmp/gcc43/./gcc/ -B/apps/gcc43/sparc-sun-solaris2.10/bin/ -B/apps/gcc43/sparc-sun-solaris2.10/lib/ -isystem /apps/gcc43/sparc-sun-solaris2.10/include -isystem /apps/gcc43/sparc-sun-solaris2.10/sys-include -v &5 Readin
[Bug fortran/34207] libgfortran configure: "GNU Fortran is not working" on sparc-sun-solaris2.10
--- Comment #2 from tom_francen at midtechcorp dot com 2007-11-27 14:30 --- thanks ... i'm using sunfreeware.com's latest version of GMP (4.2.1) and MPFR's 2.3.0 (plus the latest downloaded patches) ... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34207