delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/12/09/00:30:51

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Message-ID: <52A5557D.10903@iki.fi>
Date: Mon, 09 Dec 2013 07:30:37 +0200
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Binutils and LTO in GCC
References: <5290666B DOT 6030906 AT iki DOT fi> <5290B287 DOT 9070607 AT gmx DOT de> <5290BB33 DOT 1080806 AT iki DOT fi> <529DE517 DOT 103 AT gmx DOT de> <529E1885 DOT 9020804 AT iki DOT fi> <52A51526 DOT 5060303 AT gmx DOT de>
In-Reply-To: <52A51526.5060303@gmx.de>
Reply-To: djgpp-workers AT delorie DOT com

On 12/09/2013 02:56 AM, Juan Manuel Guerrero wrote:
>
> I have installed gcc490_20131121b.zip and my port of binutils-2.24 that
> discards the lto sections.  As long as I do not use the -flto flag the
> compiler works flawlessly but as soon as I use the flag the compiler
> aborts.  I have tried a hello-world program and I got the following
> error output:
>
> G:\>gcc -flto a.c
> gcc.exe: internal compiler error:  (program lto1)
> libbacktrace could not find executable to open
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> lto-wrapper: c:/djgpp-2.04/bin/gcc.exe returned 4 exit status
> collect2.exe: error: lto-wrapper returned 1 exit status
>
> I have also tried to compile bash as you have done but because the compiler
> produces no output the configuration stops.
> If more info is required, please contact me.
Noticed the same priblem when built 20131206 snapshot:
The reason is small omission in install.gcc/makepkg.pl.

Updated makepkg.pl and repackaged. Files are at:

http://ap1.pp.fi/djgpp/gcc/test/4.9.0-20131206/

Andris



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019