This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Multilib error with x86_64


Friends,

I have been trying CT-NG (1.18.0) to build a 64-bit and 32-bit capable
toolchain. used the x86_64-unknown-linux-gnu sample, and enabled the
multilib option in there. My host is a x86_64 host. the ct-ng build
threw an error during "Installing C library headers & start files"
phase.

Installing C library headers & start files
[EXTRA]    Configuring C library
[EXTRA]    Installing C library headers
[EXTRA]    Installing C library start files
[INFO ]    =================================================================
[INFO ]    Building for multilib subdir='32'
[EXTRA]      Configuring C library
[EXTRA]      Installing C library start files
[ERROR]      nptl/sysdeps/x86_64/tls.h:69:3: error: #error "TLS
support is required."

..... more errors like this and like
<stdin>:11: error: 'REG_RBP' undeclared (first use in this function)
[ERROR]      <stdin>:11: error: (Each undeclared identifier is
reported only once

Could you please let me know if I made any mistake somewhere ?
Enabling multilib is the only change i made to the sample.  I have
tried few other combinations -

1. unchanged x86_64-unknown-linux-gnu works fine.
2. selecting eglibc instead of glibc and with multilib fails.
3. the x86_64-unknown-linux-uclibc sample, with multilib fails too.

The failures in 2 & 3 are different from the one I mentioned above.

Could you please let me know if I made any mistake somewhere or how to
get the multilib working fine ?

Thanks
vissu

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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