public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/57715] New: lto1.exe: internal compiler error: in add_symbol_to_partition
@ 2013-06-25 21:36 linuxsquirrel.dev at gmail dot com
  2013-07-10  6:11 ` [Bug lto/57715] " tvijlbrief at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: linuxsquirrel.dev at gmail dot com @ 2013-06-25 21:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57715
           Summary: lto1.exe: internal compiler error: in
                    add_symbol_to_partition
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: linuxsquirrel.dev at gmail dot com

Using MinGW-builds, 4.8.1 version. I try to compile Qt 4.8.4 with -flto on
Windows 7 32-bit:


> jom

...

g++ -c -include tmp\obj\release_shared\qt_gui_pch.h -pipe
-fno-keep-inline-dllexport -flto -O2 -Wall -Wextra -frtti -fexceptions
-mthreads -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE-DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
-D_USE_MATH_DEFINES -DQT_NO_DIRECTDRAW -DQT_USE_BUNDLED_LIBPNG
-DPNG_NO_ASSEMBLER_CODE -DQT_NO_CUPS -DQT_NO_LPR -DQT_NO_OPENTYPE
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE
-DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQT_NO_EGL -DQ_INTERNAL_QAPP_SRC
-DQT_NO_DIRECTWRITE -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX
-DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -I"..\..\include\QtCore"
-I"..\..\include" -I"..\..\extra\openssl\include" -I"..\..\include\QtGui"
-I"tmp\rcc\release_shared" -I"tmp" -I"..\3rdparty\wintab" -I"image"
-I"..\3rdparty\libpng" -I"..\3rdparty\zlib" -I"..\3rdparty\zlib"
-I"..\3rdparty\harfbuzz\src" -I"dialogs" -I"..\..\include\ActiveQt"
-I"tmp\moc\release_shared" -I"." -I"..\..\mkspecs\win32-g++-4.6" -o
tmp\obj\release_shared\qlistwidget.o itemviews\qlistwidget.cpp

g++ -flto -Wl,-s -mthreads -shared
-Wl,--out-implib,f:\qt4-tht-toolchain\lib\libQtGui4.a -o ..\..\lib\QtGui4.dll
object_script.QtGui.Release  -L"f:\qt4-tht-toolchain\lib"
-L"f:\qt4-tht-toolchain\lib" -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm
-lwinspool -lws2_32 -lole32 -luuid -luser32 -ladvapi32
tmp\obj\release_shared\QtGui_resource_res.o
-LF:\qt4-tht-toolchain\extra\openssl\lib
-LF:\qt4-tht-toolchain\extra\openssl\bin -lmsimg32 -lshell32 -lQtCore4
lto1.exe: internal compiler error: in add_symbol_to_partition, at
lto/lto-partition.c:284
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://sourceforge.net/projects/mingwbuilds/> for instructions.
lto-wrapper: g++ returned 1 exit status
f:/qt4-tht-toolchain/mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.1/../../../../i686-w64
-mingw32/bin/ld.exe: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status


---


>gcc -v
Using built-in specs.
COLLECT_GCC=F:\dev\Qt4-THT-toolchain\mingw\bin\gcc.EXE
COLLECT_LTO_WRAPPER=f:/dev/qt4-tht-toolchain/mingw/bin/../libexec/gcc/i686-w64-mingw3
2/4.8.1/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../../../src/gcc-4.8.1/configure --host=i686-w64-mingw32
--build=i686-w64-mingw32 --target=i686-w64-mingw32 --prefix=/mingw32
--with-sysroot=/tmp/x32-481-posix-sjlj-r1/mingw32 --enable-shared
--enable-static --enable-targets=all --enable-multilib
--enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes
--enable-threads=posix --enable-libgomp --enable-lto --enable-graphite
--enable-checking=release --enable-fully-dynamic-string
--enable-version-specific-runtime-libs --enable-sjlj-exceptions
--disable-isl-version-check --disable-cloog-version-check
--disable-libstdcxx-pch --disable-libstdcxx-debug --disable-bootstrap
--disable-rpath --disable-win32-registry --disable-nls --disable-werror
--disable-symvers --with-gnu-as --with-gnu-ld --with-arch-32=i686
--with-arch-64=nocona --with-tune-32=generic --with-tune-64=core2
--with-host-libstdcxx='-static -lstdc++' --with-libiconv --with-system-zlib
--with-gmp=/tmp/mingw-prereq/i686-w64-mingw32-static
--with-mpfr=/tmp/mingw-prereq/i686-w64-mingw32-static
--with-mpc=/tmp/mingw-prereq/i686-w64-mingw32-static
--with-isl=/tmp/mingw-prereq/i686-w64-mingw32-static
--with-cloog=/tmp/mingw-prereq/i686-w64-mingw32-static
--enable-cloog-backend=isl --with-pkgversion='rev1, Built by MinGW-builds
project' --with-bugurl=http://sourceforge.net/projects/mingwbuilds/ CFLAGS='-O2
-pipe -I/tmp/x32-481-posix-sjlj-r1/libs/include
-I/tmp/mingw-prereq/x32-zlib/include
-I/tmp/mingw-prereq/i686-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe
-I/tmp/x32-481-posix-sjlj-r1/libs/include -I/tmp/mingw-prereq/x32-zlib/include
-I/tmp/mingw-prereq/i686-w64-mingw32-static/include' CPPFLAGS= LDFLAGS='-pipe
-L/tmp/x32-481-posix-sjlj-r1/libs/lib -L/tmp/mingw-prereq/x32-zlib/lib
-L/tmp/mingw-prereq/i686-w64-mingw32-static/lib
-L/tmp/x32-481-posix-sjlj-r1/mingw32/opt/lib'
Thread model: posix
gcc version 4.8.1 (rev1, Built by MinGW-builds project)


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

end of thread, other threads:[~2021-12-07  7:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-25 21:36 [Bug lto/57715] New: lto1.exe: internal compiler error: in add_symbol_to_partition linuxsquirrel.dev at gmail dot com
2013-07-10  6:11 ` [Bug lto/57715] " tvijlbrief at gmail dot com
2014-03-20 20:36 ` burnus at gcc dot gnu.org
2014-03-21 15:01 ` vhaisman at gmail dot com
2014-03-21 15:04 ` vhaisman at gmail dot com
2021-12-07  7:21 ` rguenth 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).