Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
@ 2002-07-12  7:27 Randolph Chung
  2002-07-12 13:44 ` John David Anglin
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Randolph Chung @ 2002-07-12  7:27 UTC (permalink / raw)
  To: gcc; +Cc: parisc-linux

Trying to build CVS head (3.2 20020711) with:

configure --host=hppa-linux --build=hppa-linux --target=hppa64-linux
--enable-shared --disable-nls --enable-languages=c

I get:

/home/tausq/build/gcc-3.2/gcc/xgcc -B/home/tausq/build/gcc-3.2/gcc/ -B/home/tausq/opt/gnu/hppa64-linux/bin/ -B/home/tausq/opt/gnu/hppa64-linux/lib/ -isystem /home/tausq/opt/gnu/hppa64-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -Dpa64=1 -DELF=1 -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I/home/tausq/src/gcc-3.2/gcc -I/home/tausq/src/gcc-3.2/gcc/. -I/home/tausq/src/gcc-3.2/gcc/config -I/home/tausq/src/gcc-3.2/gcc/../include  -DL__gcc_bcmp -c /home/tausq/src/gcc-3.2/gcc/libgcc2.c -o libgcc/./__gcc_bcmp.o
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_frame_state_for':
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:906: warning: implicit declaration of function `memset'
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_install_context_1':
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1193: warning: implicit declaration of
function `memcpy'
In file included from /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1210:
/home/tausq/src/gcc-3.2/gcc/unwind.inc: In function `_Unwind_RaiseException':
/home/tausq/src/gcc-3.2/gcc/unwind.inc:132: error: Attempt to delete prologue/epilogue insn:
(insn 337 336 338 14 (nil) (set (reg:DI 7 %r7)
        (mem:DI (plus:DI (reg/f:DI 30 %r30)
                (const_int -296 [0xfffffffffffffed8])) [0 S8 A64])) -1 (nil)
    (nil))
/home/tausq/src/gcc-3.2/gcc/unwind.inc:132: internal compiler error: Internal compiler error in propagate_one_insn, at flow.c:1637
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
make: *** [all-gcc] Error 2

The bootstrapping compiler is gcc-3.0.4

any ideas?
randolph
--  
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

* [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
@ 2002-07-12  7:27 Randolph Chung
  0 siblings, 0 replies; 12+ messages in thread
From: Randolph Chung @ 2002-07-12  7:27 UTC (permalink / raw)
  To: gcc; +Cc: parisc-linux

Trying to build CVS head (3.2 20020711) with:

configure --host=hppa-linux --build=hppa-linux --target=hppa64-linux
--enable-shared --disable-nls --enable-languages=c

I get:

/home/tausq/build/gcc-3.2/gcc/xgcc -B/home/tausq/build/gcc-3.2/gcc/ -B/home/tausq/opt/gnu/hppa64-linux/bin/ -B/home/tausq/opt/gnu/hppa64-linux/lib/ -isystem /home/tausq/opt/gnu/hppa64-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -Dpa64=1 -DELF=1 -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I/home/tausq/src/gcc-3.2/gcc -I/home/tausq/src/gcc-3.2/gcc/. -I/home/tausq/src/gcc-3.2/gcc/config -I/home/tausq/src/gcc-3.2/gcc/../include  -DL__gcc_bcmp -c /home/tausq/src/gcc-3.2/gcc/libgcc2.c -o libgcc/./__gcc_bcmp.o
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_frame_state_for':
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:906: warning: implicit declaration of function `memset'
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_install_context_1':
/home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1193: warning: implicit declaration of
function `memcpy'
In file included from /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1210:
/home/tausq/src/gcc-3.2/gcc/unwind.inc: In function `_Unwind_RaiseException':
/home/tausq/src/gcc-3.2/gcc/unwind.inc:132: error: Attempt to delete prologue/epilogue insn:
(insn 337 336 338 14 (nil) (set (reg:DI 7 %r7)
        (mem:DI (plus:DI (reg/f:DI 30 %r30)
                (const_int -296 [0xfffffffffffffed8])) [0 S8 A64])) -1 (nil)
    (nil))
/home/tausq/src/gcc-3.2/gcc/unwind.inc:132: internal compiler error: Internal compiler error in propagate_one_insn, at flow.c:1637
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
make: *** [all-gcc] Error 2

The bootstrapping compiler is gcc-3.0.4

any ideas?
randolph
--  
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12  7:27 [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux Randolph Chung
  2002-07-12 13:44 ` John David Anglin
@ 2002-07-12 13:44 ` John David Anglin
  2002-07-12 16:56   ` Randolph Chung
  2002-07-12 16:56   ` Randolph Chung
  2002-07-18 18:33 ` John David Anglin
  2002-07-18 18:33 ` John David Anglin
  3 siblings, 2 replies; 12+ messages in thread
From: John David Anglin @ 2002-07-12 13:44 UTC (permalink / raw)
  To: randolph; +Cc: gcc, parisc-linux

> Trying to build CVS head (3.2 20020711) with:
> 
> configure --host=hppa-linux --build=hppa-linux --target=hppa64-linux
> --enable-shared --disable-nls --enable-languages=c
> 
> I get:
> 
> /home/tausq/build/gcc-3.2/gcc/xgcc -B/home/tausq/build/gcc-3.2/gcc/ -B/home/tausq/opt/gnu/hppa64-linux/bin/ -B/home/tausq/opt/gnu/hppa64-linux/lib/ -isystem /home/tausq/opt/gnu/hppa64-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -Dpa64=1 -DELF=1 -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
> -I. -I/home/tausq/src/gcc-3.2/gcc -I/home/tausq/src/gcc-3.2/gcc/. -I/home/tausq/src/gcc-3.2/gcc/config -I/home/tausq/src/gcc-3.2/gcc/../include  -DL__gcc_bcmp -c /home/tausq/src/gcc-3.2/gcc/libgcc2.c -o libgcc/./__gcc_bcmp.o
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_frame_state_for':
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:906: warning: implicit declaration of function `memset'
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_install_context_1':
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1193: warning: implicit declaration of
> function `memcpy'
> In file included from /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1210:
> /home/tausq/src/gcc-3.2/gcc/unwind.inc: In function `_Unwind_RaiseException':
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: error: Attempt to delete prologue/epilogue insn:
> (insn 337 336 338 14 (nil) (set (reg:DI 7 %r7)
>         (mem:DI (plus:DI (reg/f:DI 30 %r30)
>                 (const_int -296 [0xfffffffffffffed8])) [0 S8 A64])) -1 (nil)
>     (nil))
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: internal compiler error: Internal compiler error in propagate_one_insn, at flow.c:1637
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [libgcc/./unwind-dw2.o] Error 1
> make[2]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
> make[1]: *** [libgcc.a] Error 2
> make[1]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
> make: *** [all-gcc] Error 2
> 
> The bootstrapping compiler is gcc-3.0.4

Yes.  This is one of the manifestations of the the long call bug
in 3.0.4.  You need to use "-O2" in STAGE1_CFLAGS to work around
it or use gcc 3.1 later as a bootstrap compiler.  You will have
the same problem if you try to rebuild 3.0.x.  There is a silent
miscompilation of expr.c if I remember correctly.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12  7:27 [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux Randolph Chung
@ 2002-07-12 13:44 ` John David Anglin
  2002-07-12 13:44 ` John David Anglin
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: John David Anglin @ 2002-07-12 13:44 UTC (permalink / raw)
  To: randolph; +Cc: gcc, parisc-linux

> Trying to build CVS head (3.2 20020711) with:
> 
> configure --host=hppa-linux --build=hppa-linux --target=hppa64-linux
> --enable-shared --disable-nls --enable-languages=c
> 
> I get:
> 
> /home/tausq/build/gcc-3.2/gcc/xgcc -B/home/tausq/build/gcc-3.2/gcc/ -B/home/tausq/opt/gnu/hppa64-linux/bin/ -B/home/tausq/opt/gnu/hppa64-linux/lib/ -isystem /home/tausq/opt/gnu/hppa64-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -Dpa64=1 -DELF=1 -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
> -I. -I/home/tausq/src/gcc-3.2/gcc -I/home/tausq/src/gcc-3.2/gcc/. -I/home/tausq/src/gcc-3.2/gcc/config -I/home/tausq/src/gcc-3.2/gcc/../include  -DL__gcc_bcmp -c /home/tausq/src/gcc-3.2/gcc/libgcc2.c -o libgcc/./__gcc_bcmp.o
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_frame_state_for':
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:906: warning: implicit declaration of function `memset'
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: In function `uw_install_context_1':
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1193: warning: implicit declaration of
> function `memcpy'
> In file included from /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1210:
> /home/tausq/src/gcc-3.2/gcc/unwind.inc: In function `_Unwind_RaiseException':
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: error: Attempt to delete prologue/epilogue insn:
> (insn 337 336 338 14 (nil) (set (reg:DI 7 %r7)
>         (mem:DI (plus:DI (reg/f:DI 30 %r30)
>                 (const_int -296 [0xfffffffffffffed8])) [0 S8 A64])) -1 (nil)
>     (nil))
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: internal compiler error: Internal compiler error in propagate_one_insn, at flow.c:1637
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [libgcc/./unwind-dw2.o] Error 1
> make[2]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
> make[1]: *** [libgcc.a] Error 2
> make[1]: Leaving directory `/home/tausq/build/gcc-3.2/gcc'
> make: *** [all-gcc] Error 2
> 
> The bootstrapping compiler is gcc-3.0.4

Yes.  This is one of the manifestations of the the long call bug
in 3.0.4.  You need to use "-O2" in STAGE1_CFLAGS to work around
it or use gcc 3.1 later as a bootstrap compiler.  You will have
the same problem if you try to rebuild 3.0.x.  There is a silent
miscompilation of expr.c if I remember correctly.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12 13:44 ` John David Anglin
  2002-07-12 16:56   ` Randolph Chung
@ 2002-07-12 16:56   ` Randolph Chung
  2002-07-12 17:52     ` John David Anglin
  2002-07-12 17:52     ` John David Anglin
  1 sibling, 2 replies; 12+ messages in thread
From: Randolph Chung @ 2002-07-12 16:56 UTC (permalink / raw)
  To: John David Anglin; +Cc: gcc, parisc-linux

> Yes.  This is one of the manifestations of the the long call bug
> in 3.0.4.  You need to use "-O2" in STAGE1_CFLAGS to work around
> it or use gcc 3.1 later as a bootstrap compiler.  You will have
> the same problem if you try to rebuild 3.0.x.  There is a silent
> miscompilation of expr.c if I remember correctly.

with gcc-3.1 as bootstrapping compiler:

$ gcc -v
Reading specs from /home/tausq/opt/gnu/lib/gcc-lib/hppa-linux/3.1.1/specs
Configured with: /home/tausq/src/gcc-20020708/configure --prefix=/home/tausq/opt/gnu --host=hppa-linux --build=hppa-linux --target=hppa-linux --enable-shared --disable-nls --enable-languages=c
Thread model: single
gcc version 3.1.1 20020708 (prerelease)


gcc -DIN_GCC -DCROSS_COMPILE   -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-objc-common.o libcpp.a  main.o libbackend.a   ../libiberty/libiberty.a
/usr/bin/ld: libbackend.a(expr.o)(.text+0x3f660): cannot reach 000002bc_integer_zerop+0, recompile with -ffunction-sections
/usr/bin/ld: libbackend.a(expr.o)(.text+0x3f660): cannot handle R_PARISC_PCREL17F for integer_zerop
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

i'll do a bit more digging later

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12 13:44 ` John David Anglin
@ 2002-07-12 16:56   ` Randolph Chung
  2002-07-12 16:56   ` Randolph Chung
  1 sibling, 0 replies; 12+ messages in thread
From: Randolph Chung @ 2002-07-12 16:56 UTC (permalink / raw)
  To: John David Anglin; +Cc: gcc, parisc-linux

> Yes.  This is one of the manifestations of the the long call bug
> in 3.0.4.  You need to use "-O2" in STAGE1_CFLAGS to work around
> it or use gcc 3.1 later as a bootstrap compiler.  You will have
> the same problem if you try to rebuild 3.0.x.  There is a silent
> miscompilation of expr.c if I remember correctly.

with gcc-3.1 as bootstrapping compiler:

$ gcc -v
Reading specs from /home/tausq/opt/gnu/lib/gcc-lib/hppa-linux/3.1.1/specs
Configured with: /home/tausq/src/gcc-20020708/configure --prefix=/home/tausq/opt/gnu --host=hppa-linux --build=hppa-linux --target=hppa-linux --enable-shared --disable-nls --enable-languages=c
Thread model: single
gcc version 3.1.1 20020708 (prerelease)


gcc -DIN_GCC -DCROSS_COMPILE   -g  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-objc-common.o libcpp.a  main.o libbackend.a   ../libiberty/libiberty.a
/usr/bin/ld: libbackend.a(expr.o)(.text+0x3f660): cannot reach 000002bc_integer_zerop+0, recompile with -ffunction-sections
/usr/bin/ld: libbackend.a(expr.o)(.text+0x3f660): cannot handle R_PARISC_PCREL17F for integer_zerop
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status

i'll do a bit more digging later

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12 16:56   ` Randolph Chung
  2002-07-12 17:52     ` John David Anglin
@ 2002-07-12 17:52     ` John David Anglin
       [not found]       ` <20020712193842.GB8724@tausq.org>
  1 sibling, 1 reply; 12+ messages in thread
From: John David Anglin @ 2002-07-12 17:52 UTC (permalink / raw)
  To: randolph; +Cc: gcc, parisc-linux

> > Yes.  This is one of the manifestations of the the long call bug
> > in 3.0.4.  You need to use "-O2" in STAGE1_CFLAGS to work around
> > it or use gcc 3.1 later as a bootstrap compiler.  You will have
> > the same problem if you try to rebuild 3.0.x.  There is a silent
> > miscompilation of expr.c if I remember correctly.
> 
> with gcc-3.1 as bootstrapping compiler:

Oops, only 3.2 has the long jump fix.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12 16:56   ` Randolph Chung
@ 2002-07-12 17:52     ` John David Anglin
  2002-07-12 17:52     ` John David Anglin
  1 sibling, 0 replies; 12+ messages in thread
From: John David Anglin @ 2002-07-12 17:52 UTC (permalink / raw)
  To: randolph; +Cc: gcc, parisc-linux

> > Yes.  This is one of the manifestations of the the long call bug
> > in 3.0.4.  You need to use "-O2" in STAGE1_CFLAGS to work around
> > it or use gcc 3.1 later as a bootstrap compiler.  You will have
> > the same problem if you try to rebuild 3.0.x.  There is a silent
> > miscompilation of expr.c if I remember correctly.
> 
> with gcc-3.1 as bootstrapping compiler:

Oops, only 3.2 has the long jump fix.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
       [not found]       ` <20020712193842.GB8724@tausq.org>
  2002-07-12 19:59         ` Randolph Chung
@ 2002-07-12 19:59         ` Randolph Chung
  1 sibling, 0 replies; 12+ messages in thread
From: Randolph Chung @ 2002-07-12 19:59 UTC (permalink / raw)
  To: John David Anglin; +Cc: gcc, parisc-linux

> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: At top level:
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:56: error: size of array `reg' is too la
> rge
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:62: internal compiler error: internal er
> ror: Segmentation fault

something basic seems to be broken:
tausq@a500:~/build/gcc-3.2$ cat t.c
void *foo[2];

tausq@a500:~/build/gcc-3.2$ /home/tausq/build/gcc-3.2/gcc/xgcc -B/home/tausq/build/gcc-3.2/gcc/ -B/home/tausq/opt/gnu/hppa64-linux/bin/ -B/home/tausq/opt/gnu/hppa64-linux/lib/ -c t.c
t.c:1: error: size of array `foo' is too large
t.c:1: error: storage size of `foo' isn't known

randolph
--  
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
       [not found]       ` <20020712193842.GB8724@tausq.org>
@ 2002-07-12 19:59         ` Randolph Chung
  2002-07-12 19:59         ` Randolph Chung
  1 sibling, 0 replies; 12+ messages in thread
From: Randolph Chung @ 2002-07-12 19:59 UTC (permalink / raw)
  To: John David Anglin; +Cc: gcc, parisc-linux

> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c: At top level:
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:56: error: size of array `reg' is too la
> rge
> /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:62: internal compiler error: internal er
> ror: Segmentation fault

something basic seems to be broken:
tausq@a500:~/build/gcc-3.2$ cat t.c
void *foo[2];

tausq@a500:~/build/gcc-3.2$ /home/tausq/build/gcc-3.2/gcc/xgcc -B/home/tausq/build/gcc-3.2/gcc/ -B/home/tausq/opt/gnu/hppa64-linux/bin/ -B/home/tausq/opt/gnu/hppa64-linux/lib/ -c t.c
t.c:1: error: size of array `foo' is too large
t.c:1: error: storage size of `foo' isn't known

randolph
--  
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12  7:27 [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux Randolph Chung
  2002-07-12 13:44 ` John David Anglin
  2002-07-12 13:44 ` John David Anglin
@ 2002-07-18 18:33 ` John David Anglin
  2002-07-18 18:33 ` John David Anglin
  3 siblings, 0 replies; 12+ messages in thread
From: John David Anglin @ 2002-07-18 18:33 UTC (permalink / raw)
  To: randolph; +Cc: gcc, parisc-linux

> In file included from /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1210:
> /home/tausq/src/gcc-3.2/gcc/unwind.inc: In function `_Unwind_RaiseException':
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: error: Attempt to delete prologue/epilogue insn:
> (insn 337 336 338 14 (nil) (set (reg:DI 7 %r7)
>         (mem:DI (plus:DI (reg/f:DI 30 %r30)
>                 (const_int -296 [0xfffffffffffffed8])) [0 S8 A64])) -1 (nil)
>     (nil))
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: internal compiler error: Internal compiler error in propagate_one_insn, at flow.c:1637

Fixed:
<http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00963.html>.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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

* Re: [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux
  2002-07-12  7:27 [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux Randolph Chung
                   ` (2 preceding siblings ...)
  2002-07-18 18:33 ` John David Anglin
@ 2002-07-18 18:33 ` John David Anglin
  3 siblings, 0 replies; 12+ messages in thread
From: John David Anglin @ 2002-07-18 18:33 UTC (permalink / raw)
  To: randolph; +Cc: gcc, parisc-linux

> In file included from /home/tausq/src/gcc-3.2/gcc/unwind-dw2.c:1210:
> /home/tausq/src/gcc-3.2/gcc/unwind.inc: In function `_Unwind_RaiseException':
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: error: Attempt to delete prologue/epilogue insn:
> (insn 337 336 338 14 (nil) (set (reg:DI 7 %r7)
>         (mem:DI (plus:DI (reg/f:DI 30 %r30)
>                 (const_int -296 [0xfffffffffffffed8])) [0 S8 A64])) -1 (nil)
>     (nil))
> /home/tausq/src/gcc-3.2/gcc/unwind.inc:132: internal compiler error: Internal compiler error in propagate_one_insn, at flow.c:1637

Fixed:
<http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00963.html>.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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

end of thread, other threads:[~2002-07-18 18:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-12  7:27 [parisc-linux] Problem building gcc-3.2 (cvs head) on hppa-linux Randolph Chung
2002-07-12 13:44 ` John David Anglin
2002-07-12 13:44 ` John David Anglin
2002-07-12 16:56   ` Randolph Chung
2002-07-12 16:56   ` Randolph Chung
2002-07-12 17:52     ` John David Anglin
2002-07-12 17:52     ` John David Anglin
     [not found]       ` <20020712193842.GB8724@tausq.org>
2002-07-12 19:59         ` Randolph Chung
2002-07-12 19:59         ` Randolph Chung
2002-07-18 18:33 ` John David Anglin
2002-07-18 18:33 ` John David Anglin
  -- strict thread matches above, loose matches on Subject: below --
2002-07-12  7:27 Randolph Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox