This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ 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]

Re: x86_64 issues using crosstool-0.28-rc31


Andrew Walrond wrote:
Firstly, Hi! and thanks for a great tool!

I've successfully built gcc-3.3.4-glibc-2.3.2
and
gcc-3.4.0-glibc-2.3.2
x86_64 toolchains on an opteron system running a 32bit i686 linux distro.


I used the toolchain to build a 64bit kernel for the system, using

make ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu-

which works well except for these assertions:

LD .tmp_vmlinux1
x86_64-unknown-linux-gnu-ld: BFD 2.15 assertion fail /home/andrew/crosstool-0.28-rc31/build/x86_64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/binutils-2.15/bfd/linker.c:619

A little google searching finds http://developer.osdl.org/dev/plm/cross_compile/README.x86_64 which suggests downgrading to 2.14.90.0.8. (Same problem showed up in http://lists.linux-wlan.com/pipermail/linux-wlan-user/2004-June/012626.html)

The kernel build otherwise seems to complete without problems, and seems to boot fine. Should I be worried?

Oh, probably :-)


Secondly, FYI, I have found that if I try to build other toolchains while running the 64bit kernel, but with the same 32bit distro, the build fails while configuring glibc, like this

checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

I've double checked; It works fine when I'm running a 32bit kernel.

I've run into this before. Were you using a recent crosstool? I think the patch http://kegel.com/crosstool/crosstool-0.28-rc26/patches/glibc-2.3.2/glibc-2.3.2-cross-2.patch should have helped. (see also e.g. http://lists.gnu.org/archive/html/autoconf/2004-05/msg00087.html) - Dan

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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