This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/36721] Compiler aborts with no message when libgmp and/or libmpfr are missing



------- Comment #6 from w6ws at earthlink dot net  2008-07-03 18:48 -------
Subject: Re:  Compiler aborts with no message when libgmp
 and/or libmpfr are missing

jvdelisle at gcc dot gnu dot org wrote:
> This issue comes up on Cygwin a lot as well...

Yes - it happened to me yesterday - hence the impetus for my
report...

> In the Cygwin case, I do that build, so as FX begged in another email, perhaps
> I will statically link in those libraries.

I really appreciate your efforts too!

> ...  They do help us get users to try it and report
> bugs.  That is highly valued.

Well, I regularly compile about 250k lines of F90 and C++ code.
Since gfortran 4.3 came out, it has been working pretty well.

Since you do the cygwin builds, you might be interested that there is
another problem with it at link time.  When I use g++ to link programs,
the 3.4.4 libstdc++ wants to use the 3.4.4 libgcc for externals such as
"___w32_sharedptr_terminate" (and friends).  However my build scripts
set up the library paths such that the libgcc.a that is supplied with
gfortran is used instead.  The new libgcc does not have the required
externals, so I get unsatisfieds.  I have to rename the newer libgcc
to fake out the linker, and then all is well.

Walter


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]