From: Carlos O'Donell <carlos@baldric.uwo.ca>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] gcc 3.3 release x86->hppa64 failure?
Date: Wed, 16 Jul 2003 00:14:35 -0400 [thread overview]
Message-ID: <20030716041435.GE5715@systemhalted> (raw)
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.
next reply other threads:[~2003-07-16 4:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-16 4:14 Carlos O'Donell [this message]
2003-07-16 6:30 ` [parisc-linux] gcc 3.3 release x86->hppa64 failure? John David Anglin
2003-07-16 17:12 ` Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030716041435.GE5715@systemhalted \
--to=carlos@baldric.uwo.ca \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox