Port-mips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libgmp missing ?
On Thu, Aug 25, 2011 at 07:30:51AM +1000, matthew green wrote:
>
> > hello,
> > running a build.sh targetting i386 on a current mips64 platform (evbmips),
> > I ended up with:
> > checking whether gcc __attribute__ ((mode (XX))) works... yes
> > checking for recent GMP... yes
> > checking for __gmpz_init in -lgmp... no
> > configure: error: libgmp not found or uses a different ABI.
> > Please read the INSTALL file -- see "In case of problem".
> > *** [.configure_done] Error code 1
> >
> > it looks like there's no libgmp on evbmips64 (neither o32, n32 or n64).
> > Is it expected ?
>
> probably similar to the macosx build issues others have seen. can
> you see what default ABI gmp is building (src/tools/gmp), and then
> see what difference it has to mpfr (src/tools/mpfr).
In the build output I remember seeing ./configure selecting o32.
But I didn't notice for which part of the build this was.
tools/gmp/build has:
java:/home/bouyer/tmp/i386/obj/home/bouyer/src/tools/gmp/build>file version.o
version.o: ELF 32-bit LSB relocatable, MIPS, MIPS-I version 1 (SYSV), with
unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 =
0x3040000, not stripped
mpfr config.log has:
configure:13596: cc -o conftest -O -I/home/bouyer/tmp/i386/obj/home/bouyer/curr
ent/src/tooldir/include -L/home/bouyer/tmp/i386/obj/home/bouyer/current/src/too
ldir/lib conftest.c -lgmp >&5
ld:
/home/bouyer/tmp/i386/obj/home/bouyer/current/src/tooldir/lib/libgmp.a(lt22-init.o):
ABI is incompatible with that of the selected emulation
>
> the config.log files in each build dir should be useful. could you
> make them available somewhere?
Sure: ftp://asim.lip6.fr/outgoing/bouyer/config.log.tar
contains all the config.log files under tools/
I didn't save the output of build.sh but I can restart a clean one if
needed.
> possibly we need to patch gmp for
> mips64 to use default not -64.
I don't think it used -64, but maybe -o32 ...
>
> libgmp is not installed by netbsd by default; we only build and
> link against static versions for the in-tree compiler. any other
> user of these needs their own copy, and this is what is failing
> for you.
OK, thanks
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index