public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/14733] New: [HPUX cross-ppc] Problem building gcc - array too large ?
@ 2004-03-25 15:41 brenard at ifrance dot com
  2004-03-25 16:45 ` [Bug target/14733] " bangerth at dealii dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: brenard at ifrance dot com @ 2004-03-25 15:41 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2624 bytes --]

I'm trying to build gcc-3.3.3 for the ppc-elf target on a hppa1.1-hp-hpux10.20 host.
The build fails with the following error :
../../gcc-3.3.3/gcc/config/rs6000/rs6000.h:2617: error: size of array
`rs6000_reg_names' is too large
 
Reading this file, i can't find any error :
extern char rs6000_reg_names[][8];      /* register names (0 vs. %r0).  */
 
So, i try to make a testcase which shows this problem :
test_fail.c
<<<<<<<<<<<<
/* Works */
int toto[] = { 1, 2 };
 
/* Works */
int tutu[1];
 
/* Doesn't work ! */
int tata[2];
>>>>>>>>>>>
 
And do this command line :
gcc-3.3.3-HPUX-cross/prod_gcc/gcc/xgcc -Bgcc-3.3.3-HPUX-cross/prod_gcc/gcc/  -c
test_fail.c -o test_fail.o
test_fail.c:5: error: size of array `tata' is too large
test_fail.c:5: error: storage size of `tata' isn't known
 
I've tried this with gcc 3.2.1, gcc 3.2.3 and finally 3.3.3, I still have this
problem. But no problem for a native HPUX compiler...
 
Any Idea ?
 
Benoît Renard.
 

My configuration :
 
Host : HPUX 10.20
Binutils used : 2.13.2.1 (cross pcc-elf)
Navive GCC used :------------------
gcc -v
Reading specs from
/users/gnu/Install/gcc-3.2.3-HPUX-native/hpux/lib/gcc-lib/hppa2.0-hp-hpux10.20/3.2.3/specs
Configured with: ../gcc-3.2.3/configure
--prefix=/users/gnu/Install/gcc-3.2.3-HPUX-native
--exec-prefix=/users/gnu/Install/gcc-3.2.3-HPUX-native/hpux --disable-multilib
--enable-languages=c,c++ --disable-nls --with-gnu-as
--with-as=/users/gnu/Install/gcc-3.2.3-HPUX-native/hpux/bin/as --with-newlib
Thread model: single
gcc version 3.2.3
------------------

Configuring :
---------
./xgcc -v
Using built-in specs.
Configured with: ../gcc-3.3.3/configure --target=ppc-elf
--prefix=/users/gnu/Install/gcc-3.3.3-HPUX-cross
--exec-prefix=/users/gnu/Install/gcc-3.3.3-HPUX-cross/ppc-hpux
--disable-multilib --enable-languages=c,c++ --with-gnu-as
--with-as=/users/gnu/Install/gcc-3.2.3-HPUX-cross-fastos-A/ppc-hpux/bin/ppc-elf-as
--with-gnu-ld
--with-ld=/users/gnu/Install/gcc-3.2.3-HPUX-cross-fastos-A/ppc-hpux/bin/ppc-elf-ld
--with-newlib
Thread model: single
gcc version 3.3.3
---------

-- 
           Summary: [HPUX cross-ppc] Problem building gcc - array too large
                    ?
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: brenard at ifrance dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: hppa1.1-hp-hpux10.20
GCC target triplet: ppc-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14733


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/14733] [HPUX cross-ppc] Problem building gcc - array too large ?
  2004-03-25 15:41 [Bug preprocessor/14733] New: [HPUX cross-ppc] Problem building gcc - array too large ? brenard at ifrance dot com
@ 2004-03-25 16:45 ` bangerth at dealii dot org
  2004-03-25 17:43 ` brenard at ifrance dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: bangerth at dealii dot org @ 2004-03-25 16:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-03-25 16:45 -------
This certainly works for me on x86-linux, so it must be something 
target specific, if not an installation error. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|preprocessor                |target


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14733


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/14733] [HPUX cross-ppc] Problem building gcc - array too large ?
  2004-03-25 15:41 [Bug preprocessor/14733] New: [HPUX cross-ppc] Problem building gcc - array too large ? brenard at ifrance dot com
  2004-03-25 16:45 ` [Bug target/14733] " bangerth at dealii dot org
@ 2004-03-25 17:43 ` brenard at ifrance dot com
  2004-03-26  6:39 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: brenard at ifrance dot com @ 2004-03-25 17:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From brenard at ifrance dot com  2004-03-25 17:43 -------
(In reply to comment #1)
> This certainly works for me on x86-linux, so it must be something 
> target specific, if not an installation error. 
>  
> W. 
Yes, it works fine with Linux, Solaris. For me, it's a HPUX Specfic bug for
cross pcc (no problem with native compilation).
Perhaps it's an installation error, but I try it with 2 different HPUXs and it
fails...

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14733


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/14733] [HPUX cross-ppc] Problem building gcc - array too large ?
  2004-03-25 15:41 [Bug preprocessor/14733] New: [HPUX cross-ppc] Problem building gcc - array too large ? brenard at ifrance dot com
  2004-03-25 16:45 ` [Bug target/14733] " bangerth at dealii dot org
  2004-03-25 17:43 ` brenard at ifrance dot com
@ 2004-03-26  6:39 ` pinskia at gcc dot gnu dot org
  2004-06-25 23:25 ` pinskia at gcc dot gnu dot org
  2004-08-03  7:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-26  6:39 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14733


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/14733] [HPUX cross-ppc] Problem building gcc - array too large ?
  2004-03-25 15:41 [Bug preprocessor/14733] New: [HPUX cross-ppc] Problem building gcc - array too large ? brenard at ifrance dot com
                   ` (2 preceding siblings ...)
  2004-03-26  6:39 ` pinskia at gcc dot gnu dot org
@ 2004-06-25 23:25 ` pinskia at gcc dot gnu dot org
  2004-08-03  7:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-25 23:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-25 23:18 -------
The only time I saw this was when bool was different sizes between two different libraries but that was 
for the mainline only when libcpp was moved into a different directory.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14733


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/14733] [HPUX cross-ppc] Problem building gcc - array too large ?
  2004-03-25 15:41 [Bug preprocessor/14733] New: [HPUX cross-ppc] Problem building gcc - array too large ? brenard at ifrance dot com
                   ` (3 preceding siblings ...)
  2004-06-25 23:25 ` pinskia at gcc dot gnu dot org
@ 2004-08-03  7:01 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-03  7:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-03 07:01 -------
s/bool/HOST_WIDE_INT/ in my last comment.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14733


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/14733] [HPUX cross-ppc] Problem building gcc - array too large ?
       [not found] <bug-14733-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-11 12:26 ` rguenth at gcc dot gnu.org
  0 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-11 12:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14733

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-11 12:26:02 UTC ---
limbo


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-11 12:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-25 15:41 [Bug preprocessor/14733] New: [HPUX cross-ppc] Problem building gcc - array too large ? brenard at ifrance dot com
2004-03-25 16:45 ` [Bug target/14733] " bangerth at dealii dot org
2004-03-25 17:43 ` brenard at ifrance dot com
2004-03-26  6:39 ` pinskia at gcc dot gnu dot org
2004-06-25 23:25 ` pinskia at gcc dot gnu dot org
2004-08-03  7:01 ` pinskia at gcc dot gnu dot org
     [not found] <bug-14733-4@http.gcc.gnu.org/bugzilla/>
2012-01-11 12:26 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).