This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: How to build 32 bit glibc in a 64 bit host ?
- From: "Metuki Sabhe" <sabhe dot metuki at gmail dot com>
- To: "Ryan Arnold" <ryan dot arnold at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Thu, 3 Jul 2008 19:53:42 +0300
- Subject: Re: How to build 32 bit glibc in a 64 bit host ?
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=nXCgRfzzLqhkx1jWjsS1TXsEh67p8hdJ5PD9hzuNgJA=; b=gLUXFQdCLKNStPrmtLhWFs5ID3R1x9WtXwShX/om1cVv79wYcR9DYQauZQEUPCTF6w LGYqoFwZ2TCdZHiStFbCbpvRfypewUPmNIPPqfhrqHvd6LJO7ibhmVSGomI3zEPqdlUh tEgWY1P20gHggiie/h4gFujvCNcwssuEAs1tQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=F+BgsZaX3DyicpAAiD3jqVpdjzu4AgtbEAZ1ML0jhmYwJCDx/Hdm5NflpA0/19gKG4 xFlV7Z8UK2H5+ILCRt5rpXCI9Qj+vabkEeMk9ZGKqhHSrPg89zGm7gfcQJhm+dUyuMBI JGZvjNfSk0m/TGxCKffwvqC5j9LtopJIA/HRU=
- References: <549992e50807030920r66c50d2jf2f9cc847cd54faf@mail.gmail.com> <ff4da150807030930o70747941m3211eb4e749b2a5f@mail.gmail.com>
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
>