x86_64 issues using crosstool-0.28-rc31
Andrew Walrond
andrew@walrond.org
Wed Aug 4 11:53:00 GMT 2004
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
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
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
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
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
The kernel build otherwise seems to complete without problems, and seems to
boot fine. Should I be worried?
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.
Andrew Walrond
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list