* [parisc-linux] gcc 3.3 release x86->hppa64 failure?
@ 2003-07-16 4:14 Carlos O'Donell
2003-07-16 6:30 ` John David Anglin
0 siblings, 1 reply; 3+ messages in thread
From: Carlos O'Donell @ 2003-07-16 4:14 UTC (permalink / raw)
To: parisc-linux
Has anyone recently tried to bootstrap an x86->hppa64 cross-compiler?
I'm going with cvs binutils, cvs gcc -rgcc_3_3_release.
'make boostrap'
---
make[2]: Entering directory
`/mnt/fatty/src/hppa-toolchain/gcc/build/gcc'
stage1/xgcc -Bstage1/
-B/mnt/fatty/src/hppa-toolchain/parisc/hppa64-linux/bin/ -c -g -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include
../../gcc/gcc/gengenrtl.c -o gengenrtl.o
In file included from ../../gcc/gcc/gengenrtl.c:29:
../../gcc/gcc/real.h:67: error: size of array `test_real_width' is
negative
make[2]: *** [gengenrtl.o] Error 1
make[2]: Leaving directory `/mnt/fatty/src/hppa-toolchain/gcc/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/mnt/fatty/src/hppa-toolchain/gcc/build/gcc'
make: *** [bootstrap] Error 2
---
Refs: http://gcc.gnu.org/ml/gcc/2002-10/msg01471.html
gcc/real.h
---
65 /* Verify the guess. */
66 extern char test_real_width
67 [sizeof(REAL_VALUE_TYPE) <= REAL_WIDTH*sizeof(HOST_WIDE_INT) ? 1 : -1];
---
# 66 "../../gcc/gcc/real.h"
extern char test_real_width
[sizeof(struct real_value) <= (((128 + (8 * 4)) + 32)/(8 * 8) + (((128
+ (8 * 4)) + 32)%(8 * 8) ? 1 : 0))*sizeof(long long) ? 1 : -1];
---
Which under a normal gcc in x86 evaluates correclty, but under the
stage1 xgcc it doesn't. How can I, obviously without having a glibc in
64-bit userspace, analyze the value of 'sizeof(struct real_value)'?
c.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [parisc-linux] gcc 3.3 release x86->hppa64 failure?
2003-07-16 4:14 [parisc-linux] gcc 3.3 release x86->hppa64 failure? Carlos O'Donell
@ 2003-07-16 6:30 ` John David Anglin
2003-07-16 17:12 ` Carlos O'Donell
0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2003-07-16 6:30 UTC (permalink / raw)
To: Carlos O'Donell; +Cc: parisc-linux
> Has anyone recently tried to bootstrap an x86->hppa64 cross-compiler?
> I'm going with cvs binutils, cvs gcc -rgcc_3_3_release.
>
> 'make boostrap'
'make bootstrap'? There is no way stage2 can work in a cross.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [parisc-linux] gcc 3.3 release x86->hppa64 failure?
2003-07-16 6:30 ` John David Anglin
@ 2003-07-16 17:12 ` Carlos O'Donell
0 siblings, 0 replies; 3+ messages in thread
From: Carlos O'Donell @ 2003-07-16 17:12 UTC (permalink / raw)
To: John David Anglin; +Cc: parisc-linux
> > Has anyone recently tried to bootstrap an x86->hppa64 cross-compiler?
> > I'm going with cvs binutils, cvs gcc -rgcc_3_3_release.
> >
> > 'make boostrap'
>
> 'make bootstrap'? There is no way stage2 can work in a cross.
Erm. My mistake. I inadvertantly used 'make boostrap' in my build
script. Obviously not thinking since stage2 would not be able to build a
stage3 since it can't run the executable it builds.
c.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-16 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 4:14 [parisc-linux] gcc 3.3 release x86->hppa64 failure? Carlos O'Donell
2003-07-16 6:30 ` John David Anglin
2003-07-16 17:12 ` Carlos O'Donell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.