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]

x86_64 issues using crosstool-0.28-rc31


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


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