public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
@ 2011-12-06 3:21 kikairoya at gmail dot com
2011-12-06 9:06 ` [Bug lto/51432] " rguenth at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: kikairoya at gmail dot com @ 2011-12-06 3:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Bug #: 51432
Summary: [4.6 regression] ICE in -flto -std=c++0x -g with
cross-compiler
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: kikairoya@gmail.com
in this command:
$ rx-elf-g++ -v
Using built-in specs.
COLLECT_GCC=rx-elf-gcc
COLLECT_LTO_WRAPPER=/home/kikairoya/gcc/libexec/gcc/rx-elf/4.6.1/lto-wrapper
Target: rx-elf
Configured with: /home/kikairoya/repos/gcc/configure --target=rx-elf
--prefix=/home/kikairoya/gcc --disable-nls --enable-target-optspace
--with-newlib --enable-languages=c,c++ --without-ppl --enable-checking=release
Thread model: single
gcc version 4.6.2 (GCC)
$ rx-elf-g++ -flto -std=c++0x -g -xc++ /dev/null -include functional
In file included from
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/functional:59:0,
from <command-line>:0:
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/bits/functional_hash.h:
In instantiation of 'std::size_t std::hash<_Tp>::operator()(_Tp) const [with
_Tp = long double, std::size_t = long unsigned int]':
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/functional:2267:1:
instantiated from here
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/bits/functional_hash.h:184:5:
internal compiler error: in write_builtin_type, at cp/mangle.c:2168
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
ICE occurs not only rx-elf but also sh-elf, m32c-elf, h8300-elf. No error in
x86_64-linux-gnu.
no problem if -fno-lto or -gstabs.
This problem appears since r173860 (PR lto/48207).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
@ 2011-12-06 9:06 ` rguenth at gcc dot gnu.org
2012-03-01 15:34 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-12-06 9:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |lto
Blocks| |47819
Target Milestone|--- |4.6.3
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
2011-12-06 9:06 ` [Bug lto/51432] " rguenth at gcc dot gnu.org
@ 2012-03-01 15:34 ` jakub at gcc dot gnu.org
2012-04-18 3:04 ` manjian2006 at gmail dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-01 15:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.3 |4.6.4
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-01 14:39:26 UTC ---
GCC 4.6.3 is being released.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
2011-12-06 9:06 ` [Bug lto/51432] " rguenth at gcc dot gnu.org
2012-03-01 15:34 ` jakub at gcc dot gnu.org
@ 2012-04-18 3:04 ` manjian2006 at gmail dot com
2012-09-10 4:00 ` michael.hope at linaro dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: manjian2006 at gmail dot com @ 2012-04-18 3:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
linzj <manjian2006 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manjian2006 at gmail dot
| |com
--- Comment #2 from linzj <manjian2006 at gmail dot com> 2012-04-18 03:02:29 UTC ---
As I checked,this bug remained in the version 4.6.3
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
` (2 preceding siblings ...)
2012-04-18 3:04 ` manjian2006 at gmail dot com
@ 2012-09-10 4:00 ` michael.hope at linaro dot org
2013-04-12 15:57 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: michael.hope at linaro dot org @ 2012-09-10 4:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Michael Hope <michael.hope at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael.hope at linaro dot
| |org
--- Comment #3 from Michael Hope <michael.hope at linaro dot org> 2012-09-10 03:59:49 UTC ---
The fault also happens natively:
cbuild@ursa2:~$ g++ -flto -std=c++0x -g -xc++ /dev/null -include functional
In file included from /usr/include/c++/4.6/functional:59:0,
from <command-line>:0:
/usr/include/c++/4.6/bits/functional_hash.h: In instantiation of 'std::size_t
std::hash<_Tp>::operator()(_Tp) const [with _Tp = long double, std::size_t =
unsigned int]':
/usr/include/c++/4.6/functional:2267:1: instantiated from here
/usr/include/c++/4.6/bits/functional_hash.h:184:5: internal compiler error: in
write_builtin_type, at cp/mangle.c:2168
cbuild@ursa2:~$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
This isn't FSF 4.6.3 but is pretty close.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
` (3 preceding siblings ...)
2012-09-10 4:00 ` michael.hope at linaro dot org
@ 2013-04-12 15:57 ` jakub at gcc dot gnu.org
2013-04-16 3:33 ` kikairoya at gmail dot com
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-12 15:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2013-04-12
CC| |jakub at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 15:57:48 UTC ---
The 4.6 branch has been closed, does this problem exists also in 4.7.3 or
later?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
` (4 preceding siblings ...)
2013-04-12 15:57 ` jakub at gcc dot gnu.org
@ 2013-04-16 3:33 ` kikairoya at gmail dot com
2013-04-16 5:55 ` jakub at gcc dot gnu.org
2013-05-25 9:00 ` paolo.carlini at oracle dot com
7 siblings, 0 replies; 9+ messages in thread
From: kikairoya at gmail dot com @ 2013-04-16 3:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
--- Comment #5 from Tomohiro Kashiwada <kikairoya at gmail dot com> 2013-04-16 03:33:22 UTC ---
no problem at gcc-4.7.3. it works fine.
$ rx-elf-g++ -v
Using built-in specs.
COLLECT_GCC=rx-elf-g++
COLLECT_LTO_WRAPPER=/home/kikairoya/rx/libexec/gcc/rx-elf/4.7.3/lto-wrapper
Target: rx-elf
Configured with: /home/kikairoya/sources/gcc-4.7.3/configure
--prefix=/home/kikairoya/rx --target=rx-elf --disable-nls
--enable-target-optspace --with-newlib --enable-languages=c,c++ --without-ppl
--enable-checking=release
Thread model: single
gcc version 4.7.3 (GCC)
$ rx-elf-g++ -flto -std=c++0x -g -xc++ /dev/null -include functional
/home/kikairoya/rx/lib/gcc/rx-elf/4.7.3/../../../../rx-elf/lib/crt0.o: In
function `L0':
/home/kikairoya/sources/newlib-1.20.0/libgloss/rx/crt0.S:77: undefined
reference to `_main'
/home/kikairoya/rx/lib/gcc/rx-elf/4.7.3/../../../../rx-elf/bin/ld:
/home/kikairoya/rx/lib/gcc/rx-elf/4.7.3/../../../../rx-elf/lib/crt0.o(P):
error: call to undefined function '_main'
collect2: error: ld returned 1 exit status
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
` (5 preceding siblings ...)
2013-04-16 3:33 ` kikairoya at gmail dot com
@ 2013-04-16 5:55 ` jakub at gcc dot gnu.org
2013-05-25 9:00 ` paolo.carlini at oracle dot com
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-16 5:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
Target Milestone|4.6.4 |4.7.3
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-16 05:55:08 UTC ---
Fixed in 4.7.3 then.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
` (6 preceding siblings ...)
2013-04-16 5:55 ` jakub at gcc dot gnu.org
@ 2013-05-25 9:00 ` paolo.carlini at oracle dot com
7 siblings, 0 replies; 9+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-25 9:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |philb at gnu dot org
--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 49433 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-05-25 9:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06 3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
2011-12-06 9:06 ` [Bug lto/51432] " rguenth at gcc dot gnu.org
2012-03-01 15:34 ` jakub at gcc dot gnu.org
2012-04-18 3:04 ` manjian2006 at gmail dot com
2012-09-10 4:00 ` michael.hope at linaro dot org
2013-04-12 15:57 ` jakub at gcc dot gnu.org
2013-04-16 3:33 ` kikairoya at gmail dot com
2013-04-16 5:55 ` jakub at gcc dot gnu.org
2013-05-25 9:00 ` paolo.carlini at oracle dot com
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).