http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58842
Bug ID: 58842 Summary: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation" Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: beany_kelly at yahoo dot com Created attachment 31069 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31069&action=edit libgfortran configuration log file Hi. Working on a Macbook running OS X 10.8.5 (Mountain Lion), with MacPorts. I want a "universal" installation of GCC (including Fortran) to run in 32-bit and 64-bit modes. This is failing for me (the pre-packaged 64-bit only is OK). Here's the bug report on trac.macports.org: https://trac.macports.org/ticket/40548 A responder noted the following line in the lengthy log file I uploaded: ------------------------------------------------------------------------ :info:build checking if /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/./gcc/xg++ -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/./gcc/ -nostdinc++ -nostdinc++ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64-apple-darwin12/i386/libstdc++-v3/include/x86_64-apple-darwin12 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64-apple-darwin12/i386/libstdc++-v3/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/libstdc++-v3/libsupc++ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/libstdc++-v3/include/backward -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/gcc-4.8.1/libstdc++-v3/testsuite/util -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64-apple-darwin12/i386/libstdc++-v3/src -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64-apple-darwin12/i386/libstdc++-v3/src/.libs -B/opt/local/x86_64-apple-darwin12/bin/ -B/opt/local/x86_64-apple-darwin12/lib/ -isystem /opt/local/x86_64-apple-darwin12/include -isystem /opt/local/x86_64-apple-darwin12/sys-include -m32 PIC flag -fno-common -DPIC works... no :info:build configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc48/libgcc/work/build/x86_64-apple-darwin12/libgfortran/config.log ------------------------------------------------------------------------ ... and suggested I follow the advice therein. I'm now attaching the configuration logfile at the end.