public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/50432] New: lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc
@ 2011-09-16 12:59 xunxun1982 at gmail dot com
  2011-09-16 14:36 ` [Bug lto/50432] " xunxun1982 at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: xunxun1982 at gmail dot com @ 2011-09-16 12:59 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50432
           Summary: lto1.exe: internal compiler error: in
                    cgraph_mark_functions_to_output, at cgraphunit.c:1173
                    when build Qt4.7.4 rcc
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: xunxun1982@gmail.com
              Host: *-*-mingw32
            Target: *-*-mingw32
             Build: *-*-mingw32


If I use gcc4.6.1 to build Qt4.7.4 with "-flto -fuse-linker-plugin", it will
result in an internal compiler error when building rcc:

g++ -Wl,-s -flto -fuse-linker-plugin -Wl,-subsystem,console -o
../../../bin/rcc.exe tmp/obj/release_shared/rcc.o 
tmp/obj/release_shared/main.o 
-L'e:/new/GUI/Qt/qt-everywhere-opensource-src-4.7.4/src/tools/bootstrap/release'
-lbootstrap -luser32 
lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at
cgraphunit.c:1173
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: g++ returned 1 exit status
e:/mypack/mingw/bin/../lib/gcc/i686-w64-mingw32/4.6.2/../../../../i686-w64-mingw32/bin/ld.exe:
lto-wrapper failed
collect2: ld returned 1 exit status
Makefile.Release:75: recipe for target `../../../bin/rcc.exe' failed
mingw32-make[2]: *** [../../../bin/rcc.exe] Error 1
mingw32-make[2]: Leaving directory
`E:/new/GUI/Qt/qt-everywhere-opensource-src-4.7.4/src/tools/rcc'
Makefile:34: recipe for target `release' failed
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory
`E:/new/GUI/Qt/qt-everywhere-opensource-src-4.7.4/src/tools/rcc'
makefile:133: recipe for target `sub-rcc-make_default-ordered' failed
mingw32-make: *** [sub-rcc-make_default-ordered] Error 2


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

* [Bug lto/50432] lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc
  2011-09-16 12:59 [Bug lto/50432] New: lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc xunxun1982 at gmail dot com
@ 2011-09-16 14:36 ` xunxun1982 at gmail dot com
  2011-09-19  0:58 ` xunxun1982 at gmail dot com
  2013-12-10 17:52 ` ktietz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: xunxun1982 at gmail dot com @ 2011-09-16 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from xunxun <xunxun1982 at gmail dot com> 2011-09-16 14:08:45 UTC ---
Created attachment 25305
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25305
-v output log

Add -v output log


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

* [Bug lto/50432] lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc
  2011-09-16 12:59 [Bug lto/50432] New: lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc xunxun1982 at gmail dot com
  2011-09-16 14:36 ` [Bug lto/50432] " xunxun1982 at gmail dot com
@ 2011-09-19  0:58 ` xunxun1982 at gmail dot com
  2013-12-10 17:52 ` ktietz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: xunxun1982 at gmail dot com @ 2011-09-19  0:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from xunxun <xunxun1982 at gmail dot com> 2011-09-19 00:46:03 UTC ---
It's strange that after I update to gcc4.6.2.20110916, the issue is gone.

I review my earlier build process, and I found that the issue only came out if
you built your gcc with "-flto".


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

* [Bug lto/50432] lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc
  2011-09-16 12:59 [Bug lto/50432] New: lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc xunxun1982 at gmail dot com
  2011-09-16 14:36 ` [Bug lto/50432] " xunxun1982 at gmail dot com
  2011-09-19  0:58 ` xunxun1982 at gmail dot com
@ 2013-12-10 17:52 ` ktietz at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ktietz at gcc dot gnu.org @ 2013-12-10 17:52 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-12-10
                 CC|                            |ktietz at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> ---
So bug can be closed AFAIU?


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

end of thread, other threads:[~2013-12-10 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-16 12:59 [Bug lto/50432] New: lto1.exe: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:1173 when build Qt4.7.4 rcc xunxun1982 at gmail dot com
2011-09-16 14:36 ` [Bug lto/50432] " xunxun1982 at gmail dot com
2011-09-19  0:58 ` xunxun1982 at gmail dot com
2013-12-10 17:52 ` ktietz at gcc dot gnu.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).