This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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: After compiling glibc-2.10.1, make tests return errors.


Mike Frysinger wrote:
On Saturday 25 July 2009 01:12:50 Richard Lemieux wrote:
I just compiled glibc-2.10.1 natively for an i686 Q6600 running
linux-2.6.29.5 and gcc-4.2.2.  I am at the point of making the tests.

I configure as follows.  The straightforward configure leads to an error
later at compile time:

undefined reference to `__sync_fetch_and_add_4

this is expected behavior. your toolchain defaulted to using i386 instructions which latest glibc will not work with. you must configure your toolchain and/or compiler flags to select a better target (such as i686).
-mike

Thanks Mike,


Looking in config.make I see 'base-machine = i386' indeed. I still have to
find out where this comes from. Otherwise, I think that I found
answers to my other question in <http://www.linuxfromscratch.org/lfs/view/6.5-rc1/chapter06/glibc.html>.


Thanks,

Richard


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