public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/41601]  New: GNU Fortran is not working
@ 2009-10-06 13:08 chris dot hhodges at gmail dot com
  2009-10-06 13:09 ` [Bug fortran/41601] " chris dot hhodges at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: chris dot hhodges at gmail dot com @ 2009-10-06 13:08 UTC (permalink / raw)
  To: gcc-bugs

I have tried several times to compile gcc-4.4.1 from source on my TSL Linux
server. *I am not compiling from within the source tree*, and I have made sure
that I have mpfr and gmp which I compiled and installed from source without
problems.

Each time it fails with:

checking whether the GNU Fortran compiler is working... no

and the first error in the config log seems to be

undefined reference to `shl_load'

As TSL is no longer a supported distro I have no option but to compile all my
apps from source (and I don't yet have g++) so any help would be greatly
appreciated!

Sorry if I have not filled out all the details correctly. Also I'm not sure how
to attach a file here. So I have made my config.log available on my server via
http here:

http://chrishh.homeip.net/config.log


-- 
           Summary: GNU Fortran is not working
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: chris dot hhodges at gmail dot com


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


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

* [Bug fortran/41601] GNU Fortran is not working
  2009-10-06 13:08 [Bug fortran/41601] New: GNU Fortran is not working chris dot hhodges at gmail dot com
@ 2009-10-06 13:09 ` chris dot hhodges at gmail dot com
  2009-10-06 13:19 ` schwab at linux-m68k dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: chris dot hhodges at gmail dot com @ 2009-10-06 13:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from chris dot hhodges at gmail dot com  2009-10-06 13:08 -------
Created an attachment (id=18719)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18719&action=view)
config.log error report

ah now I see the attach option


-- 


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


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

* [Bug fortran/41601] GNU Fortran is not working
  2009-10-06 13:08 [Bug fortran/41601] New: GNU Fortran is not working chris dot hhodges at gmail dot com
  2009-10-06 13:09 ` [Bug fortran/41601] " chris dot hhodges at gmail dot com
@ 2009-10-06 13:19 ` schwab at linux-m68k dot org
  2009-10-07  1:29 ` jvdelisle at gcc dot gnu dot org
  2009-10-07 10:23 ` chris dot hhodges at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: schwab at linux-m68k dot org @ 2009-10-06 13:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schwab at linux-m68k dot org  2009-10-06 13:19 -------
This is the real problem:

/root/gcc-build/./gcc/f951: relocation error: /usr/local/lib/libmpfr.so.1:
undefined symbol: __gmp_get_memory_functions

You need to fix your libmpfr installation.


-- 

schwab at linux-m68k dot org changed:

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


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


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

* [Bug fortran/41601] GNU Fortran is not working
  2009-10-06 13:08 [Bug fortran/41601] New: GNU Fortran is not working chris dot hhodges at gmail dot com
  2009-10-06 13:09 ` [Bug fortran/41601] " chris dot hhodges at gmail dot com
  2009-10-06 13:19 ` schwab at linux-m68k dot org
@ 2009-10-07  1:29 ` jvdelisle at gcc dot gnu dot org
  2009-10-07 10:23 ` chris dot hhodges at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-10-07  1:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2009-10-07 01:29 -------
Please let us know if you fix this and/or you are still stuck.


-- 


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


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

* [Bug fortran/41601] GNU Fortran is not working
  2009-10-06 13:08 [Bug fortran/41601] New: GNU Fortran is not working chris dot hhodges at gmail dot com
                   ` (2 preceding siblings ...)
  2009-10-07  1:29 ` jvdelisle at gcc dot gnu dot org
@ 2009-10-07 10:23 ` chris dot hhodges at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: chris dot hhodges at gmail dot com @ 2009-10-07 10:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from chris dot hhodges at gmail dot com  2009-10-07 10:23 -------
(In reply to comment #3)
> Please let us know if you fix this and/or you are still stuck.
> 

Yes. I've got this fixed now!
gcc now fully compiled. 

Many thanks for the pointer to the __gmp_get_memory_functions
error. I couldn't have done it without this info.
http://www.mpfr.org/faq.html#undef_ref1 describes the problem I had and
suggests some solutions.

In short I had two GMP libraries. One in /usr/local/lib, which I had compiled
from source, and one in /usr/lib, which was there from the distro.

Rather than fiddle about with compiler options and library paths I just updated
the gmp symlink in /usr/lib to point to the new library in /usr/local/lib and
then everything worked a treat.

Many thanks, once again.


-- 


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


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

end of thread, other threads:[~2009-10-07 10:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 13:08 [Bug fortran/41601] New: GNU Fortran is not working chris dot hhodges at gmail dot com
2009-10-06 13:09 ` [Bug fortran/41601] " chris dot hhodges at gmail dot com
2009-10-06 13:19 ` schwab at linux-m68k dot org
2009-10-07  1:29 ` jvdelisle at gcc dot gnu dot org
2009-10-07 10:23 ` chris dot hhodges at gmail dot com

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).