Compiling glibc_64_multilib on a 32 bit system breaks with this error. (AMD Phenom 4) kernel-2.6.30.1 binutils-2.19.1 GCC-4.4.1 glibc-2.10.1 more of this error (-d): ---------- ... In file included from include/tls.h:6, from sysdeps/unix/sysv/linux/x86_64/sysdep.h:26, from <stdin>:1: nptl/sysdeps/x86_64/tls.h:77:3: error: #error "TLS support is required." In file included from include/tls.h:6, from sysdeps/unix/sysv/linux/x86_64/sysdep.h:26, from <stdin>:1: nptl/sysdeps/x86_64/tls.h:77:3: error: #error "TLS support is required." In file included from include/tls.h:6, from sysdeps/unix/sysv/linux/x86_64/sysdep.h:26, from <stdin>:1: ... ---------- 32 bit system build works fine and stable ! very stable - great work!!! It seams that the make process doesn't setup all right for this task. Maybe there have to be some more switches too. (only guesses)
I don't even want to know how this system looks like. It's just not supported. If you want to make it work you're on your own. Check the exact details of the configure log.
You see I did spent very much time on this problem. So how do you imagine cross-compiling is possible? - would be nice to read this in the INSTALL file - there is a little error at the moment, maybe you want to talk to the gcc development that they support your wish how it should work. Or better gcc-src-package uses the glibc-src-package to compile both at the same time for those cross tasks. CLFS and others can't help on this problem, they also do mistakes in building those systems. And I think that this should be a main task for binutils, glibc and gcc, the kernel is ready for that task. Maybe you think building 64 bit systems on a 32 bit system is not supported - but that doesn't matter which way you take. Cross is cross and the systems (libs) should always be separated clearly. And cross compiling 64 bit on a 32 bit x86 system should be the main task at the moment, to get 64 bit systems at all. I also think there should be some head developers for binutils, glibc and gcc holding the communication between these softwares and the features they want to implement. So better and more stable software and builds will be the result.