public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27578] New: ICE during build of libstdc++-v3
@ 2006-05-12 18:41 edmar at freescale dot com
2006-05-12 18:42 ` [Bug c/27578] " edmar at freescale dot com
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: edmar at freescale dot com @ 2006-05-12 18:41 UTC (permalink / raw)
To: gcc-bugs
This problem started somewhere between april 17, and april 20. Afftects 4.2
only.
Here is the -v output of the compilation terminated with ICE:
/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/./gcc/xgcc -shared-libgcc
-B/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/./gcc -nostdinc++
-L/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/src
-L/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/src/.libs
-B/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/bin/
-B/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/lib/
-isystem
/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/include
-isystem
/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/sys-include
-I/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/include/powerpc-unknown-linux-gnualtivec
-I/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/include
-I/local/gnu_toolchain/build_area/gcc-trunk/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2
-D_GNU_SOURCE -c basic_file.cc -fPIC -DPIC -o .libs/basic_file.o -v
--save-temps
Reading specs from
/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/./gcc/specs
Target: powerpc-unknown-linux-gnualtivec
Configured with: ../gcc-trunk/configure
--prefix=/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450
--with-local-prefix=/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450
--enable-languages=c,c++ --enable-threads
--target=powerpc-unknown-linux-gnualtivec --disable-linux-futex
Thread model: posix
gcc version 4.2.0 20060511 (experimental)
/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/./gcc/cc1plus -E -quiet
-nostdinc++ -v
-I/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/include/powerpc-unknown-linux-gnualtivec
-I/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/include
-I/local/gnu_toolchain/build_area/gcc-trunk/libstdc++-v3/libsupc++ -iprefix
/temp/gnu_toolchain/build_area/obj_gcc-trunk_7450/gcc/../lib/gcc/powerpc-unknown-linux-gnualtivec/4.2.0/
-isystem /local/gnu_toolchain/build_area/obj_gcc-trunk_7450/./gcc/include
-D_GNU_SOURCE -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux
-D__linux -Asystem=linux -Asystem=unix -Asystem=posix -D_GNU_SOURCE -DPIC
-isystem
/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/include
-isystem
/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/sys-include
basic_file.cc -Wall -Wextra -Wwrite-strings -Wcast-qual -fno-implicit-templates
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -fPIC
-fworking-directory -O2 -fpch-preprocess -o basic_file.ii
ignoring nonexistent directory
"/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc-trunk_7450/gcc/../lib/gcc/powerpc-unknown-linux-gnualtivec/4.2.0/include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc-trunk_7450/gcc/../lib/gcc/powerpc-unknown-linux-gnualtivec/4.2.0/../../../../powerpc-unknown-linux-gnualtivec/sys-include"
ignoring nonexistent directory
"/temp/gnu_toolchain/build_area/obj_gcc-trunk_7450/gcc/../lib/gcc/powerpc-unknown-linux-gnualtivec/4.2.0/../../../../powerpc-unknown-linux-gnualtivec/include"
ignoring duplicate directory
"/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/lib/gcc/powerpc-unknown-linux-gnualtivec/4.2.0/../../../../powerpc-unknown-linux-gnualtivec/sys-include"
ignoring nonexistent directory
"/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/lib/gcc/powerpc-unknown-linux-gnualtivec/4.2.0/../../../../powerpc-unknown-linux-gnualtivec/include"
#include "..." search starts here:
#include <...> search starts here:
/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/include/powerpc-unknown-linux-gnualtivec
/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/powerpc-unknown-linux-gnualtivec/libstdc++-v3/include
/local/gnu_toolchain/build_area/gcc-trunk/libstdc++-v3/libsupc++
/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/./gcc/include
/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/sys-include
/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/lib/gcc/powerpc-unknown-linux-gnualtivec/4.2.0/include
End of search list.
/local/gnu_toolchain/build_area/obj_gcc-trunk_7450/./gcc/cc1plus
-fpreprocessed basic_file.ii -quiet -dumpbase basic_file.cc -auxbase-strip
.libs/basic_file.o -g -O2 -Wall -Wextra -Wwrite-strings -Wcast-qual -version
-fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -fPIC -o basic_file.s
GNU C++ version 4.2.0 20060511 (experimental)
(powerpc-unknown-linux-gnualtivec)
compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: d35c3de0261cf05d5cbea100862a0fee
/local/gnu_toolchain/install_area/gcc-trunk-20060511-7450/powerpc-unknown-linux-gnualtivec/sys-include/sys/uio.h:40:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE during build of libstdc++-v3
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edmar at freescale dot com
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnualtivec
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c/27578] ICE during build of libstdc++-v3
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
@ 2006-05-12 18:42 ` edmar at freescale dot com
2006-05-12 18:52 ` [Bug c++/27578] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: edmar at freescale dot com @ 2006-05-12 18:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from edmar at freescale dot com 2006-05-12 18:42 -------
Created an attachment (id=11449)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11449&action=view)
File generated with --save-temps
This is the .ii file that causes ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] ICE during build of libstdc++-v3
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
2006-05-12 18:42 ` [Bug c/27578] " edmar at freescale dot com
@ 2006-05-12 18:52 ` pinskia at gcc dot gnu dot org
2006-05-12 18:59 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-12 18:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-05-12 18:52 -------
I can also reproduce this on a cross compiler to powerpc-linux-gnu. and it is
a front-end issue. Reducing.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |c++
GCC target triplet|powerpc-unknown-linux- |powerpc-unknown-linux-gnu
|gnualtivec |
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] ICE during build of libstdc++-v3
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
2006-05-12 18:42 ` [Bug c/27578] " edmar at freescale dot com
2006-05-12 18:52 ` [Bug c++/27578] " pinskia at gcc dot gnu dot org
@ 2006-05-12 18:59 ` pinskia at gcc dot gnu dot org
2006-05-12 19:08 ` [Bug c++/27578] ICE with altivec(vector__) on a pointer in a function prototype pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-12 18:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-05-12 18:59 -------
extern ssize_t readv (int __fd, __const struct iovec
*__attribute__((altivec(vector__))), int __count);
That is invalid code.
Hmm, I wonder if someone uses __vector somewhere.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] ICE with altivec(vector__) on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (2 preceding siblings ...)
2006-05-12 18:59 ` pinskia at gcc dot gnu dot org
@ 2006-05-12 19:08 ` pinskia at gcc dot gnu dot org
2006-05-12 19:13 ` [Bug c++/27578] [4.2 Regression] ICE with attribute " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-12 19:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gcc dot gnu dot org 2006-05-12 19:08 -------
(In reply to comment #3)
Reduced testcase:
void readv (int *__attribute__((altivec(vector__))) );
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-12 19:08:15
date| |
Summary|ICE during build of |ICE with altivec(vector__)
|libstdc++-v3 |on a pointer in a function
| |prototype
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] [4.2 Regression] ICE with attribute on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (3 preceding siblings ...)
2006-05-12 19:08 ` [Bug c++/27578] ICE with altivec(vector__) on a pointer in a function prototype pinskia at gcc dot gnu dot org
@ 2006-05-12 19:13 ` pinskia at gcc dot gnu dot org
2006-05-12 20:38 ` janis at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-12 19:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-12 19:13 -------
Actually this is any attribute on the pointer in the function prototype:
void readv (int *__attribute__((aligned(16) )) );
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|powerpc-*-linux-gnu |
Keywords| |ice-on-valid-code
Summary|ICE with altivec(vector__) |[4.2 Regression] ICE with
|on a pointer in a function |attribute on a pointer in a
|prototype |function prototype
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] [4.2 Regression] ICE with attribute on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (4 preceding siblings ...)
2006-05-12 19:13 ` [Bug c++/27578] [4.2 Regression] ICE with attribute " pinskia at gcc dot gnu dot org
@ 2006-05-12 20:38 ` janis at gcc dot gnu dot org
2006-05-17 21:00 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2006-05-12 20:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from janis at gcc dot gnu dot org 2006-05-12 20:38 -------
A regression hunt on powerpc-linux using the testcase from comment #5
identified this patch:
http://gcc.gnu.org/viewcvs?view=rev&rev=113081
r113081 | mmitchel | 2006-04-19 16:58:23 +0000 (Wed, 19 Apr 2006)
--
janis at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] [4.2 Regression] ICE with attribute on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (5 preceding siblings ...)
2006-05-12 20:38 ` janis at gcc dot gnu dot org
@ 2006-05-17 21:00 ` pinskia at gcc dot gnu dot org
2006-06-04 19:02 ` mmitchel at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-17 21:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-05-17 21:00 -------
This looks related to PR 27648 though that one was in 4.0.3 also.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |27648
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] [4.2 Regression] ICE with attribute on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (6 preceding siblings ...)
2006-05-17 21:00 ` pinskia at gcc dot gnu dot org
@ 2006-06-04 19:02 ` mmitchel at gcc dot gnu dot org
2006-06-04 19:57 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 19:02 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] [4.2 Regression] ICE with attribute on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (7 preceding siblings ...)
2006-06-04 19:02 ` mmitchel at gcc dot gnu dot org
@ 2006-06-04 19:57 ` mmitchel at gcc dot gnu dot org
2006-06-26 22:24 ` pinskia at gcc dot gnu dot org
2006-06-26 22:24 ` jason at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-06-04 19:56 -------
Upon review, I see that this applies to any attribute in the function; marking
as P1.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] [4.2 Regression] ICE with attribute on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (9 preceding siblings ...)
2006-06-26 22:24 ` pinskia at gcc dot gnu dot org
@ 2006-06-26 22:24 ` jason at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2006-06-26 22:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from jason at gcc dot gnu dot org 2006-06-26 22:21 -------
Is this still broken? I can't reproduce it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/27578] [4.2 Regression] ICE with attribute on a pointer in a function prototype
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
` (8 preceding siblings ...)
2006-06-04 19:57 ` mmitchel at gcc dot gnu dot org
@ 2006-06-26 22:24 ` pinskia at gcc dot gnu dot org
2006-06-26 22:24 ` jason at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-26 22:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from pinskia at gcc dot gnu dot org 2006-06-26 22:24 -------
Fixed by the patch which fixed PR 27648.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27578
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-06-26 22:24 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-12 18:41 [Bug c/27578] New: ICE during build of libstdc++-v3 edmar at freescale dot com
2006-05-12 18:42 ` [Bug c/27578] " edmar at freescale dot com
2006-05-12 18:52 ` [Bug c++/27578] " pinskia at gcc dot gnu dot org
2006-05-12 18:59 ` pinskia at gcc dot gnu dot org
2006-05-12 19:08 ` [Bug c++/27578] ICE with altivec(vector__) on a pointer in a function prototype pinskia at gcc dot gnu dot org
2006-05-12 19:13 ` [Bug c++/27578] [4.2 Regression] ICE with attribute " pinskia at gcc dot gnu dot org
2006-05-12 20:38 ` janis at gcc dot gnu dot org
2006-05-17 21:00 ` pinskia at gcc dot gnu dot org
2006-06-04 19:02 ` mmitchel at gcc dot gnu dot org
2006-06-04 19:57 ` mmitchel at gcc dot gnu dot org
2006-06-26 22:24 ` pinskia at gcc dot gnu dot org
2006-06-26 22:24 ` jason 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).