public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/30242]  New: internal error in gcc break compilation
@ 2006-12-18  3:29 sherpya at netfarm dot it
  2006-12-18  3:32 ` [Bug preprocessor/30242] " sherpya at netfarm dot it
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sherpya at netfarm dot it @ 2006-12-18  3:29 UTC (permalink / raw)
  To: gcc-bugs

gcc 4.3 current svn branch revision 120001

it's not possible to have -save-temps since the compiler
bombs while assembling cygwin.asm using gcc (uh?)

/d/Download/Devel/MinGW/gcc-source/build/./gcc/xgcc
-B/d/Download/Devel/MinGW/gcc-source/build/./gcc/
-L/d/Download/Devel/MinGW/gcc-source/build/mingw32/w
insup/mingw
-L/d/Download/Devel/MinGW/gcc-source/build/mingw32/winsup/w32api/lib -isystem
/d/Download/Devel/MinGW/gcc-source/gcc/winsup/mingw/include -isyst
em /d/Download/Devel/MinGW/gcc-source/gcc/winsup/w32api/include
-B/mingw/mingw32/bin/ -B/mingw/mingw32/lib/ -isystem /mingw/mingw32/include
-isystem /mingw/
mingw32/sys-include -O2 -I../../gcc/gcc/../winsup/w32api/include -O2 -g -O2 
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -
Wold-style-definition  -isystem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../
gcc/gcc/../include -I../../gcc/gcc/../libcpp/include 
-I../../gcc/gcc/../libdecnumber -I../libdecnumber -DL_chkstk
-xassembler-with-cpp -c ../../gcc/gcc/con
fig/i386/cygwin.asm -o libgcc/./_chkstk.o -save-temps


-- 
           Summary: internal error in gcc break compilation
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sherpya at netfarm dot it
 GCC build triplet: i386-pc-mingw32
  GCC host triplet: i386-pc-mingw32
GCC target triplet: i386-pc-mingw32


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


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

* [Bug preprocessor/30242] internal error in gcc break compilation
  2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
@ 2006-12-18  3:32 ` sherpya at netfarm dot it
  2006-12-20  5:14 ` [Bug c/30242] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sherpya at netfarm dot it @ 2006-12-18  3:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from sherpya at netfarm dot it  2006-12-18 03:31 -------
I forgot to attach the error:
cc1.exe: internal compiler error: in add_standard_paths, at c-incpath.c:173

so it's not in gcc but the preprocessor

I've bootstrapped from 4.1.1


-- 

sherpya at netfarm dot it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |preprocessor


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


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

* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
  2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
  2006-12-18  3:32 ` [Bug preprocessor/30242] " sherpya at netfarm dot it
@ 2006-12-20  5:14 ` pinskia at gcc dot gnu dot org
  2006-12-20 16:02 ` carlos at codesourcery dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-20  5:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-12-20 05:14 -------
Well this is obviously caused by:
2006-11-20  Carlos O'Donell  <carlos@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>

        * cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and
        gcc_exec_prefix.
        (cpp_relocated): New function.
        * cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix
        and cpp_relocated.
        * Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
        * c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
        replace configured prefix with gcc_exec_prefix.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at codesourcery dot
                   |                            |com, mark at codesourcery
                   |                            |dot com
          Component|preprocessor                |c
           Keywords|                            |build, ice-on-valid-code
            Summary|internal error in gcc break |[4.3 Regression] internal
                   |compilation                 |error in gcc break
                   |                            |compilation
   Target Milestone|---                         |4.3.0


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


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

* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
  2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
  2006-12-18  3:32 ` [Bug preprocessor/30242] " sherpya at netfarm dot it
  2006-12-20  5:14 ` [Bug c/30242] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2006-12-20 16:02 ` carlos at codesourcery dot com
  2006-12-20 16:05 ` carlos at codesourcery dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: carlos at codesourcery dot com @ 2006-12-20 16:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from carlos at codesourcery dot com  2006-12-20 16:01 -------
Created an attachment (id=12828)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
Only relocate paths which start with the configured prefix.

This fixes the boostrap failure for i686-mingw32. I have bootstrapped
x86_64-unknown-linug-gnu with thie patch.


-- 


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


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

* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
  2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
                   ` (2 preceding siblings ...)
  2006-12-20 16:02 ` carlos at codesourcery dot com
@ 2006-12-20 16:05 ` carlos at codesourcery dot com
  2006-12-20 16:35 ` mark at codesourcery dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: carlos at codesourcery dot com @ 2006-12-20 16:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from carlos at codesourcery dot com  2006-12-20 16:05 -------
Bob Rossi <bob_rossi@cox.net> and I were working on this issue last night on
gcc-help@gcc.gnu.org.

http://gcc.gnu.org/ml/gcc-help/2006-12/msg00279.html


-- 


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


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

* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
  2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
                   ` (3 preceding siblings ...)
  2006-12-20 16:05 ` carlos at codesourcery dot com
@ 2006-12-20 16:35 ` mark at codesourcery dot com
  2006-12-20 22:34 ` carlos at gcc dot gnu dot org
  2006-12-21  3:46 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: mark at codesourcery dot com @ 2006-12-20 16:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mark at codesourcery dot com  2006-12-20 16:35 -------
Subject: Re:  [4.3 Regression] internal error in gcc break compilation

carlos at codesourcery dot com wrote:
> ------- Comment #3 from carlos at codesourcery dot com  2006-12-20 16:01 -------
> Created an attachment (id=12828)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
>  --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
> Only relocate paths which start with the configured prefix.
> 
> This fixes the boostrap failure for i686-mingw32. I have bootstrapped
> x86_64-unknown-linug-gnu with thie patch.

This patch is OK.


-- 


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


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

* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
  2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
                   ` (4 preceding siblings ...)
  2006-12-20 16:35 ` mark at codesourcery dot com
@ 2006-12-20 22:34 ` carlos at gcc dot gnu dot org
  2006-12-21  3:46 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: carlos at gcc dot gnu dot org @ 2006-12-20 22:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from carlos at gcc dot gnu dot org  2006-12-20 22:34 -------
Subject: Bug 30242

Author: carlos
Date: Wed Dec 20 22:34:14 2006
New Revision: 120088

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120088
Log:
gcc/

2006-12-20  Carlos O'Donell  <carlos@codesourcery.com>

        PR bootstrap/30242
        * gcc/c-incpath.c (add_standard_paths): Only relocate paths that 
        begin with the configured prefix. 


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-incpath.c


-- 


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


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

* [Bug c/30242] [4.3 Regression] internal error in gcc break compilation
  2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
                   ` (5 preceding siblings ...)
  2006-12-20 22:34 ` carlos at gcc dot gnu dot org
@ 2006-12-21  3:46 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-21  3:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-12-21 03:45 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-12-21  3:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-18  3:29 [Bug c/30242] New: internal error in gcc break compilation sherpya at netfarm dot it
2006-12-18  3:32 ` [Bug preprocessor/30242] " sherpya at netfarm dot it
2006-12-20  5:14 ` [Bug c/30242] [4.3 Regression] " pinskia at gcc dot gnu dot org
2006-12-20 16:02 ` carlos at codesourcery dot com
2006-12-20 16:05 ` carlos at codesourcery dot com
2006-12-20 16:35 ` mark at codesourcery dot com
2006-12-20 22:34 ` carlos at gcc dot gnu dot org
2006-12-21  3:46 ` pinskia 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).