* [Buildroot] Error configuring MPFR - "libgmp not found or uses a different ABI"
@ 2009-05-24 19:43 Adam McLaurin
2009-05-24 20:10 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Adam McLaurin @ 2009-05-24 19:43 UTC (permalink / raw)
To: buildroot
I checked out the latest buildroot from git this morning and
unfortunately cannot get it to build successfully.
The build ends like this:
checking whether the
/home/irotas/sandboxes/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-g++
-Os -pipe -Os
-I/home/irotas/sandboxes/buildroot/build_i686/staging_dir/usr/include
-I/home/irotas/sandboxes/buildroot/build_i686/staging_dir/include
--sysroot=/home/irotas/sandboxes/buildroot/build_i686/staging_dir/
-isysroot /home/irotas/sandboxes/buildroot/build_i686/staging_dir
-mtune=i686 -march=i686 linker
(/home/irotas/sandboxes/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc __attribute__ ((mode (XX))) works... yes
checking for recent GMP... yes
checking for gmp internal files... no
checking for working alloca.h... yes
checking for alloca... 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".
make: ***
[/home/irotas/sandboxes/buildroot/build_i686/mpfr-2.4.1/.configured]
Error 1
I've uploaded the build output, configuration files, and MPFR config.log
to my website:
http://public.irotas.fastmail.fm/buildroot/buildroot.log.tgz
http://public.irotas.fastmail.fm/buildroot/config
http://public.irotas.fastmail.fm/buildroot/config.cmd
http://public.irotas.fastmail.fm/buildroot/mpfr.config.log
I also tried downloading 'buildroot-2009.02.tar.gz' and have the same
problems with that version too, so it looks like it's not a new problem.
I don't know if it matters, but I'm building on Ubuntu 8.10 (Linux
2.6.27-14).
Any suggestions?
Thanks,
Adam
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Error configuring MPFR - "libgmp not found or uses a different ABI"
2009-05-24 19:43 [Buildroot] Error configuring MPFR - "libgmp not found or uses a different ABI" Adam McLaurin
@ 2009-05-24 20:10 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2009-05-24 20:10 UTC (permalink / raw)
To: buildroot
>>>>> "Adam" == Adam McLaurin <buildroot@irotas.net> writes:
Adam> I checked out the latest buildroot from git this morning and
Adam> unfortunately cannot get it to build successfully.
From mpfr.config.log we see:
/home/irotas/sandboxes/buildroot/build_i686/gmp-4.2.4/.libs/libgmp.so: undefined reference to `_IO_getc'
/home/irotas/sandboxes/buildroot/build_i686/gmp-4.2.4/.libs/libgmp.so: undefined reference to `__ctype_b_loc'
/home/irotas/sandboxes/buildroot/build_i686/gmp-4.2.4/.libs/libgmp.so: undefined reference to `_IO_putc'
collect2: ld returned 1 exit status
This if gmp/mpfr for the target, E.G. for the compiler running on the target.
_IO_getc is a glibc specific feature, so it seems like the gmp build
system gets confused when cross compiling and target=host and ends up
using the host compiler / include files.
I'll try to track it down.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-24 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-24 19:43 [Buildroot] Error configuring MPFR - "libgmp not found or uses a different ABI" Adam McLaurin
2009-05-24 20:10 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox