"Lorenzo Milesi" <[EMAIL PROTECTED]> posted
[EMAIL PROTECTED], excerpted
below, on  Wed, 07 Jun 2006 13:11:14 +0200:

> I'm trying to upgrade a x86 distcc host for crossdev from gcc 3.4 to
> 4.1.1. When I run crossdev to compile gcc I get the following error in the
> logs:
> 
> checking how to compare bootstrapped objects...
> cmp --ignore-initial=16 $$f1 $$f 2 
> checking for correct version of gmp.h... no
> configure: error: GMP with MPFR support is required to build fortran
> 
> !!! ERROR: cross-x86_64-pc-linux-gnu/gcc-4.1.1 failed.
> 
> 
> I tried doing crossdev -C and rebuilding the whole thing but didn't work
> anyway. I tried emergin gmp on the x86 host but obviously it didn't work.

I've never used crossdev or distcc, as I simply continually upgrade a
single machine (currently a dual Opteron 242, next upgrade to dual-cores,
last upgrade to 8 gig memory, upgrade before that to 4x300 gig sata
drive kernel RAID, upgrade before that...) so have no need for it. 
However...

Do you have the same gcc version on all hosts?  If not, distcc can fail
with strange errors from what I've read (and it makes sense).  If you have
already upgraded one of them to gcc-4.1.1, unless you unmerged the
previous gcc, you should be able to use either gcc-config or eselect
compiler (if you've already upgraded to it) to select the old gcc that
hopefully matches the other versions you are using with distcc.

If you hadn't forgotten that and all were the same, don't mind me, as I
know little else about it.  Just thought you might have forgotten this bit
as 3.4.x was the latest unmasked for quite some time.

One other thing, based on the error...  Except for many apps in the
science area, fortran isn't much used any more.  If you aren't running
anything of that nature, chances are pretty good you can set USE=-fortran. 
Of course, with distcc, you'll probably want to keep everything either
with or without fortran.  Oh, and the fortran USE flag used to be f77. 
The fortran USE flag is enabled by default, so it's possible you have it
on even tho you don't need it.

Simple stuff, but maybe something you overlooked...



-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
[email protected] mailing list

Reply via email to