can't compile on x86 - building cross-compiler for ia64 getting SIGSEGV
Is it actually possible to cross-develop from x86?
This must have been answered before, but I did not see any way to search the posts to this list.
Quoted 1 line
./configure --prefix=/usr/local/ia64
--host=ia64-hp-linux; gmake
gives me:
cc1: Internal error: Segmentation fault
on both gcc-3.0 and gcc-3.0.1
The snapshot distributed from HP with nue fails building both 2.4.5 and 2.4.9 with:/home/kmacy/linux/include/asm/hw_irq.h:122:
Internal compiler error in `pushdecl', at c-decl.c:2310
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gcc: Internal compiler error: program cpp got fatal signal 13
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
Quoted 1 line · k Macy
Is it actually possible to cross-develop from x86?
Current gcc code will not cross compile from ix86 to ia64, it gets problems with conditional return of 64 bit values in some functions. Disabling optimization for some directories avoids the problem, but is too messy as a long term solution. Report the bug to gcc.
It looks like in both cases it was my fault, when building the compiler I set the --host=ia64... when it should have been --target=ia64... When building 2.4.9 I hadn't downloaded and applied the latest patches to the tree. The default IA64 in the linux tree is pretty broken.
In both cases the compiler should have failed a lot more gracefully, but it sounds like 32bit->64bit cross-compilation is non-trivial.
Thanks.
-Kip
Quoted 5 lines · --- Jim Wilson
Quoted 1 line
Current gcc code will not cross compile from ix86
to ia64, it gets
Quoted 1 line
problems with conditional return of 64 bit values
in some functions.
Quoted 7 lines
A bug report would be very useful, yes. You didn't even mention what
program is being miscompiled. If you have already reported the bug, please
point me at the report.Jim
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com