2009/12/28 Pardis Beikzadeh:
> Hi,
This question should be asked on the gcc-help mailing list, not this one.
> I'm having a problem while installing gcc3.2. I'm trying to install
> gcc3.2 for my installation of cygwin because anything higher than that
> won't work if I try to compile mex files fo
When AVR target is built, without explicitly disabling LTO, it will produce
1000's of testsuite failures of -LTO -WHOPR tests with this compilation error:
"ld: -f may not be used without -shared"
Any idea what is wrong or how to make LTO work correctly here?
Andy
http://gcc.gnu.org/bugzilla/
Andrew Hutchinson wrote:
> When AVR target is built, without explicitly disabling LTO, it will
> produce 1000's of testsuite failures of -LTO -WHOPR tests with this
> compilation error:
>
> "ld: -f may not be used without -shared"
>
> Any idea what is wrong or how to make LTO work correctly here?
I used "v" and progressed a little
The problem seems to be that linker is called with -fwhopr or -flto as
command line option.
ld -fwhopr .
Linker find '-f' and complains.
I assume this is not a valid option for ld? Or is my linker wrong
version or something?
Note this is cross comp
Andrew Hutchinson wrote:
> I used "v" and progressed a little
>
> The problem seems to be that linker is called with -fwhopr or -flto as
> command line option.
>
> ld -fwhopr .
>
> Linker find '-f' and complains.
>
> I assume this is not a valid option for ld? Or is my linker wrong
> vers
On Thu, Dec 24, 2009 at 1:32 AM, Joern Rennecke wrote:
> Quoting Joern Rennecke :
>>
>> Right now, to make a new target hook, you have to add a new field in
>> target.h, define a new default in target-def.h, place the new macro
>> in exactly the right position there of the right initializer macro,
On Sat, Dec 26, 2009 at 1:14 AM, Jerry Quinn wrote:
> http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00690.html
>
> [cc'ing gcc since it might be the better forum for this]
>
Ok.
Thanks,
Richard.
On Sat, Dec 26, 2009 at 2:07 AM, Daniel Berlin wrote:
>> In general it will be tricky for latter passes to clean up the messes.
>> The fundamental problem is that the address computation is exposed to
>> PRE prematurely (for a given target ) at GIMPLE level.
>
>
> Yeah, i'm not sure PRE can reall
> It's not a valid option for ld. It *is* a valid option for the collect2
> driver/wrapper executable that gcc uses to invoke ld, which suggests to me
> that the AVR port must be configured not to build collect2, but that it is
> going to need to do so if it wants to use LTO/WHOPR. See use_colle
Rafael Espindola wrote:
>> It's not a valid option for ld. It *is* a valid option for the collect2
>> driver/wrapper executable that gcc uses to invoke ld, which suggests to me
>> that the AVR port must be configured not to build collect2, but that it is
>> going to need to do so if it wants to u
Dave Korn wrote:
Rafael Espindola wrote:
It's not a valid option for ld. It *is* a valid option for the collect2
driver/wrapper executable that gcc uses to invoke ld, which suggests to me
that the AVR port must be configured not to build collect2, but that it is
going to need to do so if i
On Thu, Dec 31, 2009 at 12:04 AM, Andrew Hutchinson
wrote:
>
> Dave Korn wrote:
>>
>> Rafael Espindola wrote:
>>
It's not a valid option for ld. It *is* a valid option for the
collect2
driver/wrapper executable that gcc uses to invoke ld, which suggests to
me
that t
Thank you David and Rafel
I will dig further into collect2. I had noted that avr.h has the following:
/* This is undefined macro for collect2 disabling */
#define LINKER_NAME "ld"
That's indeed going to break LTO.
Richard.
That seems to be the key issue.
Without #define LINKER_N
> -Original Message-
> From: Andrew Hutchinson [mailto:andrewhutchin...@cox.net]
> Sent: Wednesday, December 30, 2009 4:34 PM
> To: Richard Guenther
> Cc: Dave Korn; Rafael Espindola; GCC Development; Weddington,
> Eric; Denis Chertykov
> Subject: Re: AVR gives weird error with LTO
>
Hi Joseph,
cTuning-discussions is an open public mailing list -
I have been moderating lots of spam there recently and
mixed up some settings but it is fixed now ...
Cheers,
Grigori
> -Original Message-
> From: Joseph Myers [mailto:jos...@codesourcery.com]
> Sent: Thursday, December 24, 20
15 matches
Mail list logo