public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/26872]  New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
@ 2006-03-26  4:12 jacky dot yu at betasystems dot com
  2006-03-26  4:16 ` [Bug bootstrap/26872] " jacky dot yu at betasystems dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: jacky dot yu at betasystems dot com @ 2006-03-26  4:12 UTC (permalink / raw)
  To: gcc-bugs

When bootstrap the GCC 4.1.0, the following error occurred:
../../gcc-4.1.0/gcc/libgcc2.c:1: warning: -g is only supported when using GAS
on this processor,
../../gcc-4.1.0/gcc/libgcc2.c:1: warning: -g option disabled
../../gcc-4.1.0/gcc/libgcc2.c:1056: internal compiler error: in
assemble_integer, at varasm.c:2272
Please submit a full bug report,
with preprocessed source if appropriate.

Command line caused the error:
/gexport/home/yu/3rdpkg_build_area/gcc-4.1.0-hpux11/./gcc/xgcc
-B/gexport/home/yu/3rdpkg_build_area/gcc-4.1.0-hpux11/./gcc/
-B/devtools/gcc-4.1.0/hppa2.0w-hp-hpux11.00/bin/
-B/devtools/gcc-4.1.0/hppa2.0w-hp-hpux11.00/lib/ -isystem
/devtools/gcc-4.1.0/hppa2.0w-hp-hpux11.00/include -isystem
/devtools/gcc-4.1.0/hppa2.0w-hp-hpux11.00/sys-include -O2  -O2 -g -O2  
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/.
-I../../gcc-4.1.0/gcc/../include -I./../intl
-I../../gcc-4.1.0/gcc/../libcpp/include  -DL_divdi3  -fexceptions
-fnon-call-exceptions -c ../../gcc-4.1.0/gcc/libgcc2.c -o libgcc/./_divdi3.o


-- 
           Summary: Internal Compiler Error when bootstrap GCC 4.1.0 with
                    GCC 4.0.2
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jacky dot yu at betasystems dot com
 GCC build triplet: hppa2.0w-hp-hpux11.00
  GCC host triplet: hppa2.0w-hp-hpux11.00
GCC target triplet: hppa2.0w-hp-hpux11.00


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
@ 2006-03-26  4:16 ` jacky dot yu at betasystems dot com
  2006-03-26 16:19 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jacky dot yu at betasystems dot com @ 2006-03-26  4:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jacky dot yu at betasystems dot com  2006-03-26 04:16 -------
Created an attachment (id=11126)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11126&action=view)
The output from running the command with "-E" option


-- 


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
  2006-03-26  4:16 ` [Bug bootstrap/26872] " jacky dot yu at betasystems dot com
@ 2006-03-26 16:19 ` pinskia at gcc dot gnu dot org
  2006-03-26 16:24 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-26 16:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-26 16:19 -------
*** Bug 26873 has been marked as a duplicate of this bug. ***


-- 


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
  2006-03-26  4:16 ` [Bug bootstrap/26872] " jacky dot yu at betasystems dot com
  2006-03-26 16:19 ` pinskia at gcc dot gnu dot org
@ 2006-03-26 16:24 ` pinskia at gcc dot gnu dot org
  2006-03-26 17:32 ` jacky dot yu at betasystems dot com
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-26 16:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-26 16:24 -------
This usually means you are configuring with the correct options in that
--with-gas is needed if you are using GNU binutils' as.


How did you configure and how did you build GCC?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (2 preceding siblings ...)
  2006-03-26 16:24 ` pinskia at gcc dot gnu dot org
@ 2006-03-26 17:32 ` jacky dot yu at betasystems dot com
  2006-03-26 17:40 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jacky dot yu at betasystems dot com @ 2006-03-26 17:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jacky dot yu at betasystems dot com  2006-03-26 17:32 -------
On the HP-UX 11.00 system, I already had a GCC 4.0.2 binaries, downloaded from
ftp.thewrittenword.com, installed at /usr/local/bin, which I used to bootstrap
GCC 4.1.0.

I used the following command to configure GCC:
   ../gcc-4.1.0/configure --prefix=/devtools/gcc-4.1.0 --enable-languages=c,c++ 
And "/usr/local/bin" is the first directory in my PATH


-- 

jacky dot yu at betasystems dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (3 preceding siblings ...)
  2006-03-26 17:32 ` jacky dot yu at betasystems dot com
@ 2006-03-26 17:40 ` pinskia at gcc dot gnu dot org
  2006-03-26 21:52 ` jacky dot yu at betasystems dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-26 17:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-03-26 17:40 -------
So did you do "make" or "make bootstrap"?


-- 


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (4 preceding siblings ...)
  2006-03-26 17:40 ` pinskia at gcc dot gnu dot org
@ 2006-03-26 21:52 ` jacky dot yu at betasystems dot com
  2006-03-26 23:47 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jacky dot yu at betasystems dot com @ 2006-03-26 21:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jacky dot yu at betasystems dot com  2006-03-26 21:52 -------
I just did a "make"


-- 


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (5 preceding siblings ...)
  2006-03-26 21:52 ` jacky dot yu at betasystems dot com
@ 2006-03-26 23:47 ` pinskia at gcc dot gnu dot org
  2006-03-27  2:13 ` jacky dot yu at betasystems dot com
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-26 23:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-03-26 23:47 -------
Can you try "make bootstrap" instead as this sounds like a bug in 4.0.2 and not
in 4.1.0.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (6 preceding siblings ...)
  2006-03-26 23:47 ` pinskia at gcc dot gnu dot org
@ 2006-03-27  2:13 ` jacky dot yu at betasystems dot com
  2006-04-09 21:10 ` danglin at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jacky dot yu at betasystems dot com @ 2006-03-27  2:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jacky dot yu at betasystems dot com  2006-03-27 02:13 -------
I tried to build with "make bootstrap" and it failed at the exact same spot:

./xgcc -B./ -B/devtools/gcc-4.1.0/hppa2.0w-hp-hpux11.00/bin/ -isystem
/devtools/gcc-4.1.0/hppa2.0w-hp-hpux11.00/include -isystem
/devtools/gcc-4.1.0/hppa2.0w-hp-hpux11.00/sys-include
-L/gexport/home/yu/3rdpkg_build_area/gcc-4.1.0-hpux11/gcc/../ld -O2  -O2 -g -O2
  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-4.1.0/gcc -I../../gcc-4.1.0/gcc/.
-I../../gcc-4.1.0/gcc/../include -I./../intl
-I../../gcc-4.1.0/gcc/../libcpp/include  -DL_divdi3  -fexceptions
-fnon-call-exceptions -c ../../gcc-4.1.0/gcc/libgcc2.c -o libgcc/./_divdi3.o
../../gcc-4.1.0/gcc/libgcc2.c:1: warning: -g is only supported when using GAS
on this processor,
../../gcc-4.1.0/gcc/libgcc2.c:1: warning: -g option disabled
../../gcc-4.1.0/gcc/libgcc2.c:1056: internal compiler error: in
assemble_integer, at varasm.c:2272
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 

jacky dot yu at betasystems dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (7 preceding siblings ...)
  2006-03-27  2:13 ` jacky dot yu at betasystems dot com
@ 2006-04-09 21:10 ` danglin at gcc dot gnu dot org
  2006-05-05 22:52 ` sje at cup dot hp dot com
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: danglin at gcc dot gnu dot org @ 2006-04-09 21:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from danglin at gcc dot gnu dot org  2006-04-09 21:10 -------
Why did you use the HP assembler?  GAS is well tested. The HP
assembler is never tested and has serious limitations with anything
but C.



-- 


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (8 preceding siblings ...)
  2006-04-09 21:10 ` danglin at gcc dot gnu dot org
@ 2006-05-05 22:52 ` sje at cup dot hp dot com
  2006-05-05 23:08 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: sje at cup dot hp dot com @ 2006-05-05 22:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from sje at cup dot hp dot com  2006-05-05 22:51 -------
For GCC 4.1 we changed the documentation to say that we require (rather than
just recommend) using GAS and not the HP assembler so I am going to resolve
this as invalid since it is using the HP assembler (based on the -g warnings).


-- 

sje at cup dot hp dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sje at cup dot hp dot com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (9 preceding siblings ...)
  2006-05-05 22:52 ` sje at cup dot hp dot com
@ 2006-05-05 23:08 ` dave at hiauly1 dot hia dot nrc dot ca
  2006-05-09 20:03 ` sje at gcc dot gnu dot org
  2006-05-09 20:04 ` sje at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-05-05 23:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from dave at hiauly1 dot hia dot nrc dot ca  2006-05-05 23:08 -------
Subject: Re:  Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2

> ------- Comment #10 from sje at cup dot hp dot com  2006-05-05 22:51 -------
> For GCC 4.1 we changed the documentation to say that we require (rather than
> just recommend) using GAS and not the HP assembler so I am going to resolve
> this as invalid since it is using the HP assembler (based on the -g warnings).

I believe config.gcc should be changed to require the GNU assembler.
I'm ok with this in 4.1 and onward.

Then, the backend can be updated to remove the options for generating HP
style assembler code.

Dave


-- 


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (10 preceding siblings ...)
  2006-05-05 23:08 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2006-05-09 20:03 ` sje at gcc dot gnu dot org
  2006-05-09 20:04 ` sje at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-05-09 20:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from sje at gcc dot gnu dot org  2006-05-09 20:02 -------
Subject: Bug 26872

Author: sje
Date: Tue May  9 20:00:55 2006
New Revision: 113661

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113661
Log:
        PR bootstrap/26872
        * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
        (hppa*64*-*-hpux11*): Ditto.
        (hppa[12]*-*-hpux11*): Ditto.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc


-- 


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


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

* [Bug bootstrap/26872] Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2
  2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
                   ` (11 preceding siblings ...)
  2006-05-09 20:03 ` sje at gcc dot gnu dot org
@ 2006-05-09 20:04 ` sje at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: sje at gcc dot gnu dot org @ 2006-05-09 20:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from sje at gcc dot gnu dot org  2006-05-09 20:03 -------
Subject: Bug 26872

Author: sje
Date: Tue May  9 20:02:29 2006
New Revision: 113662

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113662
Log:
        PR bootstrap/26872
        * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
        (hppa*64*-*-hpux11*): Ditto.
        (hppa[12]*-*-hpux11*): Ditto.

Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config.gcc


-- 


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


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

end of thread, other threads:[~2006-05-09 20:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-26  4:12 [Bug bootstrap/26872] New: Internal Compiler Error when bootstrap GCC 4.1.0 with GCC 4.0.2 jacky dot yu at betasystems dot com
2006-03-26  4:16 ` [Bug bootstrap/26872] " jacky dot yu at betasystems dot com
2006-03-26 16:19 ` pinskia at gcc dot gnu dot org
2006-03-26 16:24 ` pinskia at gcc dot gnu dot org
2006-03-26 17:32 ` jacky dot yu at betasystems dot com
2006-03-26 17:40 ` pinskia at gcc dot gnu dot org
2006-03-26 21:52 ` jacky dot yu at betasystems dot com
2006-03-26 23:47 ` pinskia at gcc dot gnu dot org
2006-03-27  2:13 ` jacky dot yu at betasystems dot com
2006-04-09 21:10 ` danglin at gcc dot gnu dot org
2006-05-05 22:52 ` sje at cup dot hp dot com
2006-05-05 23:08 ` dave at hiauly1 dot hia dot nrc dot ca
2006-05-09 20:03 ` sje at gcc dot gnu dot org
2006-05-09 20:04 ` sje at gcc dot gnu dot 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).