public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58842] New: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation"
@ 2013-10-22 11:07 beany_kelly at yahoo dot com
  2013-10-22 21:37 ` [Bug fortran/58842] " dominiq at lps dot ens.fr
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: beany_kelly at yahoo dot com @ 2013-10-22 11:07 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/58842] libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation"
  2013-10-22 11:07 [Bug fortran/58842] New: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation" beany_kelly at yahoo dot com
@ 2013-10-22 21:37 ` dominiq at lps dot ens.fr
  2013-12-21 20:32 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-10-22 21:37 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58842

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The error "GNU Fortran is not working" is often related to problems with one
(or several) of the gmp, mpfr, or mpc libraries. You may have a look at the
following PRs: pr30960, pr34207, pr34242, pr36586, pr36810, pr41601, pr43770,
pr45641, pr50062, pr50238, pr51103, or pr51607.

Check 
(1) that you have the right versions of this libraries in /opt/local that pass
'make check' without error;
(2) that you don't have other such libraries which may interfere with the one
in /opt/local (look into /usr/local for instance).


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/58842] libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation"
  2013-10-22 11:07 [Bug fortran/58842] New: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation" beany_kelly at yahoo dot com
  2013-10-22 21:37 ` [Bug fortran/58842] " dominiq at lps dot ens.fr
@ 2013-12-21 20:32 ` dominiq at lps dot ens.fr
  2014-03-02 19:02 ` egall at gwmail dot gwu.edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-12-21 20:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58842

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
No feedback. Closing as WORKSFORME.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/58842] libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation"
  2013-10-22 11:07 [Bug fortran/58842] New: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation" beany_kelly at yahoo dot com
  2013-10-22 21:37 ` [Bug fortran/58842] " dominiq at lps dot ens.fr
  2013-12-21 20:32 ` dominiq at lps dot ens.fr
@ 2014-03-02 19:02 ` egall at gwmail dot gwu.edu
  2014-03-05 17:10 ` egall at gwmail dot gwu.edu
  2014-03-05 17:43 ` egall at gwmail dot gwu.edu
  4 siblings, 0 replies; 6+ messages in thread
From: egall at gwmail dot gwu.edu @ 2014-03-02 19:02 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58842

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #3 from Eric Gallager <egall at gwmail dot gwu.edu> ---
I am running into this error as well. I attached my relevant logfiles in the
downstream ticket that the OP linked to.

(In reply to Dominique d'Humieres from comment #1)
> 
> Check 
> (1) that you have the right versions of this libraries in /opt/local that
> pass 'make check' without error;

Local-Admins-MacBook-Pro:~ ericgallager$ port installed gmp mpfr libmpc
The following ports are currently installed:
  gmp @5.1.2_0+universal (active)
  libmpc @1.0.2_0+universal (active)
  mpfr @3.1.1-p2_0+universal (active)

I lost my results for their testsuites, but I suppose that I can run them
again...

> (2) that you don't have other such libraries which may interfere with the
> one in /opt/local (look into /usr/local for instance).

MacPorts sanitizes its build environment to avoid finding things in places like
/usr/local. That is a moot point though, as I do not have any of gmp, mpfr, or
libmpc installed in /usr/local anyways.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/58842] libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation"
  2013-10-22 11:07 [Bug fortran/58842] New: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation" beany_kelly at yahoo dot com
                   ` (2 preceding siblings ...)
  2014-03-02 19:02 ` egall at gwmail dot gwu.edu
@ 2014-03-05 17:10 ` egall at gwmail dot gwu.edu
  2014-03-05 17:43 ` egall at gwmail dot gwu.edu
  4 siblings, 0 replies; 6+ messages in thread
From: egall at gwmail dot gwu.edu @ 2014-03-05 17:10 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58842

--- Comment #4 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to Eric Gallager from comment #3)
> I am running into this error as well. I attached my relevant logfiles in the
> downstream ticket that the OP linked to.
> 
> (In reply to Dominique d'Humieres from comment #1)
> > 
> > Check 
> > (1) that you have the right versions of this libraries in /opt/local that
> > pass 'make check' without error;
> 
> Local-Admins-MacBook-Pro:~ ericgallager$ port installed gmp mpfr libmpc
> The following ports are currently installed:
>   gmp @5.1.2_0+universal (active)
>   libmpc @1.0.2_0+universal (active)
>   mpfr @3.1.1-p2_0+universal (active)
> 
> I lost my results for their testsuites, but I suppose that I can run them
> again...

So I am back after re-running the testsuites, and it turned out that mpfr was
the culprit, so I opened a separate issue downstream for that:
https://trac.macports.org/ticket/42732


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/58842] libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation"
  2013-10-22 11:07 [Bug fortran/58842] New: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation" beany_kelly at yahoo dot com
                   ` (3 preceding siblings ...)
  2014-03-05 17:10 ` egall at gwmail dot gwu.edu
@ 2014-03-05 17:43 ` egall at gwmail dot gwu.edu
  4 siblings, 0 replies; 6+ messages in thread
From: egall at gwmail dot gwu.edu @ 2014-03-05 17:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58842

--- Comment #5 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to Eric Gallager from comment #4)
> > I lost my results for their testsuites, but I suppose that I can run them
> > again...
> 
> So I am back after re-running the testsuites, and it turned out that mpfr
> was the culprit, so I opened a separate issue downstream for that:
> https://trac.macports.org/ticket/42732

Actually libmpc was to blame as well: https://trac.macports.org/ticket/42733


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-05 17:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-22 11:07 [Bug fortran/58842] New: libgfortran configuration error in 32-bit mode for GCC 4.8 with MacPorts "universal installation" beany_kelly at yahoo dot com
2013-10-22 21:37 ` [Bug fortran/58842] " dominiq at lps dot ens.fr
2013-12-21 20:32 ` dominiq at lps dot ens.fr
2014-03-02 19:02 ` egall at gwmail dot gwu.edu
2014-03-05 17:10 ` egall at gwmail dot gwu.edu
2014-03-05 17:43 ` egall at gwmail dot gwu.edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).