This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: LTO error in gcc-trunk
- From: niXman <i dot nixman at gmail dot com>
- To: xunxun <xunxun1982 at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Fri, 8 Mar 2013 13:38:27 +0400
- Subject: Re: LTO error in gcc-trunk
- References: <CAMPTgK1-TB-Q11AD+1RzkWXwRTeOX4KEcvthqMu5tCmG2z4Zag@mail.gmail.com> <CA+BR0wzmAcBwuQktd2oHitGjuMin6XVGmz9B96T30qP5Si6avQ@mail.gmail.com>
2013/3/8 xunxun:
> Try
>
> gcc -c -m32 -O2 -flto lto_test.cpp -o lto_test.o
> gcc -flto lto_test.o lto_int.o -olto_test.exe
Hi,
The same error:
> g++ -m32 lto_int.o lto_test.o -flto -o lto_test.exe
> lto1.exe: internal compiler error: cannot read LTO decls from lto_int.o
--
Regards,
niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___________________________________________________
Another online IDE: http://liveworkspace.org/