* [Linux-ia64] can't compile on x86 - building cross-compiler for ia64 getting SIGSEGV
@ 2001-09-03 19:44 k Macy
2001-09-05 0:52 ` Keith Owens
2001-09-05 18:14 ` k Macy
0 siblings, 2 replies; 3+ messages in thread
From: k Macy @ 2001-09-03 19:44 UTC (permalink / raw)
To: linux-ia64
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.
> ./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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] can't compile on x86 - building cross-compiler for ia64 getting SIGSEGV
2001-09-03 19:44 [Linux-ia64] can't compile on x86 - building cross-compiler for ia64 getting SIGSEGV k Macy
@ 2001-09-05 0:52 ` Keith Owens
2001-09-05 18:14 ` k Macy
1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2001-09-05 0:52 UTC (permalink / raw)
To: linux-ia64
On Mon, 3 Sep 2001 12:44:16 -0700 (PDT),
k Macy <kip_macy@yahoo.com> wrote:
>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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] can't compile on x86 - building cross-compiler for ia64 getting SIGSEGV
2001-09-03 19:44 [Linux-ia64] can't compile on x86 - building cross-compiler for ia64 getting SIGSEGV k Macy
2001-09-05 0:52 ` Keith Owens
@ 2001-09-05 18:14 ` k Macy
1 sibling, 0 replies; 3+ messages in thread
From: k Macy @ 2001-09-05 18:14 UTC (permalink / raw)
To: linux-ia64
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
--- Jim Wilson <wilson@cygnus.com> wrote:
> >Current gcc code will not cross compile from ix86
> to ia64, it gets
> >problems with conditional return of 64 bit values
> in some functions.
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-05 18:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-03 19:44 [Linux-ia64] can't compile on x86 - building cross-compiler for ia64 getting SIGSEGV k Macy
2001-09-05 0:52 ` Keith Owens
2001-09-05 18:14 ` k Macy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox