This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Announce: MPFR 2.2.1 is released


Hi Kaveh,

Kaveh R. GHAZI wrote:
>
> It's not clear from your message whether this is a problem limited to
> mpfr-2.2.1, or 2.2.0 had this also. In any case, I think the mpfr
> configure process is right to stop you from shooting yourself by using a
> mismatched gmp header and library.
Here-to-fore, I've been happy with whatever was installed with my
distribution.
Now, that doesn't work.
>
> I'm not sure why you can't put /usr/local/lib first, but I totally
> sympathize! :-) I've had access to boxes where what got put into
> /usr/local by previous users was really old garbage and I didn't want to
> suck it into my builds.
(details: the primary library version was the same, but some libs in
/usr/local/lib were preserved over a re-install and they referenced
libimf which was now gone.) Anyway, it was an ugly nuisance.
I've now "rm -f"-ed all those broken .so-s.
> The way I solved it was to put my stuff in another directory (e.g.
> /usr/local/foo) then I could safely put that directory ahead of /usr and
> not worry about wierd side-effects from unrelated things. Try installing
> gmp (and mpfr) in their own dir and use --with-gmp=PATH when configuring
> gcc. Let me know if that works for you.
export LD_LIBRARY_PATH=/usr/local/lib seems to work....Thanks. Maybe now
that the
libimf referencing libs are gone, I can go back and re-order the library
search again.
Anyway, the whole deal about gmp-config is that mpfr should be doing the
equivalent
of --with-gmp=`gmp-config --libdir` so that you *don't* have the
/usr/local headers
and the /usr binary. (a suggestion and a hint to Vincent.) Except I just
noticed
gmp-config doesn't exist. Or mpfr-config. *sigh*. Never mind, I guess.

All this is for an inclhack.def patch:

fix = {
hackname = glibc_calloc;
files = bits/string2.h;
select = ' calloc \(1, 1\)';
c-fix = format;
c-fix-arg = ' calloc ((size_t)1, (size_t)1)';
test-text = <<- _EOTest_
char * pz = (char *) calloc (1, 1);
_EOTest_;
};


Thank you - Bruce


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