public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: LTO error in gcc-trunk
@ 2013-03-08  6:11 niXman
       [not found] ` <CA+BR0wzmAcBwuQktd2oHitGjuMin6XVGmz9B96T30qP5Si6avQ@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: niXman @ 2013-03-08  6:11 UTC (permalink / raw)
  To: gcc-help

I probably something stupid wrote?


-- 
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/

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

* Re: LTO error in gcc-trunk
       [not found] ` <CA+BR0wzmAcBwuQktd2oHitGjuMin6XVGmz9B96T30qP5Si6avQ@mail.gmail.com>
@ 2013-03-08  9:39   ` niXman
  2013-03-08 14:06     ` xunxun
  0 siblings, 1 reply; 6+ messages in thread
From: niXman @ 2013-03-08  9:39 UTC (permalink / raw)
  To: xunxun, gcc-help

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/

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

* Re: LTO error in gcc-trunk
  2013-03-08  9:39   ` niXman
@ 2013-03-08 14:06     ` xunxun
       [not found]       ` <CAMPTgK3-v=--CeKKNOO=AxV6=0opb55hi2spAUkOwtGsz_+J-g@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: xunxun @ 2013-03-08 14:06 UTC (permalink / raw)
  To: niXman; +Cc: gcc-help

于 2013/3/8 星期五 17:38, niXman 写道:
> 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
>
>
Which revision of the trunk?

I seems that it's the same with the bug : 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55493

But it was marked with RESOLVED WORKSFORM.

-- 
Best Regards,
xunxun

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

* Re: LTO error in gcc-trunk
       [not found]       ` <CAMPTgK3-v=--CeKKNOO=AxV6=0opb55hi2spAUkOwtGsz_+J-g@mail.gmail.com>
@ 2013-03-09 12:29         ` niXman
  2013-03-09 13:21           ` xunxun
  0 siblings, 1 reply; 6+ messages in thread
From: niXman @ 2013-03-09 12:29 UTC (permalink / raw)
  To: gcc-help

Has anyone else have any ideas?

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

* Re: LTO error in gcc-trunk
  2013-03-09 12:29         ` niXman
@ 2013-03-09 13:21           ` xunxun
  0 siblings, 0 replies; 6+ messages in thread
From: xunxun @ 2013-03-09 13:21 UTC (permalink / raw)
  To: niXman; +Cc: gcc-help, Kai Tietz, Ruben Van Boxem

于 2013/3/9 星期六 20:29, niXman 写道:
> Has anyone else have any ideas?
So are there other builders reproduce it?

Maybe Kai or Ruben know ... :)
CC to them.

-- 
Best Regards,
xunxun

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

* LTO error in gcc-trunk
@ 2013-03-07  8:43 niXman
  0 siblings, 0 replies; 6+ messages in thread
From: niXman @ 2013-03-07  8:43 UTC (permalink / raw)
  To: gcc-help

Hi,

LTO work as expected in gcc-4.7.0,4.7.1,4.7.2,4.7-branch built for
i686-w64-mingw32 & x86_64-w64-mingw32.
But gcc-trunk(4.8.0) produce this error:
> gcc -m32 -O2 -flto lto_test.cpp lto_int.o -olto_test.exe
> lto1.exe: internal compiler error: cannot read LTO decls from C:\Temp\ccvPemZc.o
> lto-wrapper: D:\mingw32\bin\gcc.exe returned 1 exit status
> d:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/bin/ld.exe: lto-wrapper failed
> collect2.exe: error: ld returned 1 exit status

Tell me please, how can I get more information about the error and
causing this error may occur when using gcc-trunk?

Thanks.


-- 
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/

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

end of thread, other threads:[~2013-03-09 13:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-08  6:11 LTO error in gcc-trunk niXman
     [not found] ` <CA+BR0wzmAcBwuQktd2oHitGjuMin6XVGmz9B96T30qP5Si6avQ@mail.gmail.com>
2013-03-08  9:39   ` niXman
2013-03-08 14:06     ` xunxun
     [not found]       ` <CAMPTgK3-v=--CeKKNOO=AxV6=0opb55hi2spAUkOwtGsz_+J-g@mail.gmail.com>
2013-03-09 12:29         ` niXman
2013-03-09 13:21           ` xunxun
  -- strict thread matches above, loose matches on Subject: below --
2013-03-07  8:43 niXman

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).