How to build 32 bit glibc in a 64 bit host ?

Metuki Sabhe sabhe.metuki@gmail.com
Thu Jul 3 16:54:00 GMT 2008


On Thu, Jul 3, 2008 at 7:30 PM, Ryan Arnold <ryan.arnold@gmail.com> wrote:
> On Thu, Jul 3, 2008 at 11:20 AM, Metuki Sabhe <sabhe.metuki@gmail.com> wrote:
>> I've tried to build a 32-bit glibc in my 64-bit host and failed.
>>
>> I gave "--buid i386-linux" to configure, and that went ok,
>> but when I try to "make" I get the following errors:
>>
>> nptl/sysdeps/i386/tls.h:65:3: error: #error "TLS support is required."
>> In file included from include/tls.h:6,
>>                 from sysdeps/unix/sysv/linux/i386/sysdep.h:30,
>>                 from <stdin>:1:
>
> Please reply with the configure fragment you used to configure GLIBC.

Nothing fancy:

../glibc-2.5/configure --build i386-linux
--prefix=/home/metuki/glibc-2.5-install

If I remove the --build parameter, it builds ok.

I didn't mention I am trying to build glibc-2.5.

Thank you.

>
> Ryan S. Arnold
>



More information about the Libc-help mailing list