Bug 39083 - stage 3 libgfortran build fails
Summary: stage 3 libgfortran build fails
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libfortran (show other bugs)
Version: 4.3.3
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 04:27 UTC by Anthony Eckert
Modified: 2009-02-07 20:58 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
autoconf log of failed stage 3 build (8.50 KB, text/plain)
2009-02-03 15:38 UTC, Anthony Eckert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Eckert 2009-02-03 04:27:14 UTC
appears to be similar to reported bug against 4.3.2
Comment 1 Anthony Eckert 2009-02-03 04:33:32 UTC
appears similar to bug 37865, but without --enable-intermodule.
Only departure from defaults is --prefix
Comment 2 pinskia@gmail.com 2009-02-03 04:35:44 UTC
Subject: Re:  stage 3 libgfortran build fails



Sent from my iPhone

On Feb 2, 2009, at 8:33 PM, "tony_eckert at umsl dot edu" <gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #1 from tony_eckert at umsl dot edu  2009-02-03  
> 04:33 -------
> appears similar to bug 37865, but without --enable-intermodule.
> Only departure from defaults is --prefix

Are you building in the source tree?

>
>
>
> -- 
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39083
>
Comment 3 Anthony Eckert 2009-02-03 15:38:00 UTC
Created attachment 17233 [details]
autoconf log of failed stage 3 build
Comment 4 Paolo Bonzini 2009-02-03 16:56:39 UTC
no he's not.
Comment 5 Mikael Morin 2009-02-03 18:00:52 UTC
/export/home/eckerta/Desktop/objdir/./gcc/gfortran -B/export/home/eckerta/Desktop/objdir/./gcc/ -B/usr/local/gcc-4.3.3/i686-pc-linux-gnu/bin/ -B/usr/local/gcc-4.3.3/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc-4.3.3/i686-pc-linux-gnu/include -isystem /usr/local/gcc-4.3.3/i686-pc-linux-gnu/sys-include -c   conftest.F >&5
/export/home/eckerta/Desktop/objdir/./gcc/f951: symbol lookup error: /usr/local/lib/libmpfr.so.1: undefined symbol: __gmp_get_memory_functions

I guess it's a problem with gmp.
Do you have it installed? 
Which versions of mpfr and gmp do you have?
Comment 6 Mikael Morin 2009-02-03 18:01:33 UTC
(In reply to comment #1)
> Only departure from defaults is --prefix
No, -prefix ;) 

Comment 7 Anthony Eckert 2009-02-07 20:58:30 UTC
Thanks to Mikael Morin for spotting that. Updating from gmp-4.1.4 to gmp-4.2.4 and adding the latest mpfr fixed the problem.  Thanks to all who replied.