Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » AVR-GCC
  • » [avr-gcc-list] build gcc-4.6-20101204 fails for avr [RSS Feed]

#1 Dec. 8, 2010 12:06:27

Klaus R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] build gcc-4.6-20101204 fails for avr


Hi,

I actually try to compile the actual snapshot of gcc but run into errors:

checking for sqrtl in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.

I configured with:
../configure --target=avr --enable-languages=c,c++ --enable-lto
--prefix=/opt/avr-4.6.snap --disable-nls --disable-libssp

which works under 4.5 versions.

Are there any patches available?

Thanks
Klaus



--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren:http://portal.gmx.net/de/go/demail_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#2 Dec. 8, 2010 13:13:05

Weddington, E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] build gcc-4.6-20101204 fails for avr


> -----Original Message-----
> From: avr-gcc-list-bounces+eric.weddington=atmel.***@*ongnu.org
> On
> Behalf Of Klaus Rudolph
> Sent: Wednesday, December 08, 2010 5:06 AM
> To: avr-gcc-l***@*ongnu.org
> Subject: build gcc-4.6-20101204 fails for avr
>
> Hi,
>
> I actually try to compile the actual snapshot of gcc but run into errors:
>
> checking for sqrtl in -lm... configure: error: Link tests are not allowed
> after GCC_NO_EXECUTABLES.
>
> I configured with:
> ../configure --target=avr --enable-languages=c,c++ --enable-lto

Does it work if you *disable* LTO? AFAIK, LTO hasn't been tested out on the AVR.

Eric Weddington



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#3 Dec. 8, 2010 13:21:56

Klaus R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] build gcc-4.6-20101204 fails for avr


> Does it work if you *disable* LTO? AFAIK, LTO hasn't been tested out on
> the AVR.

No, that doesn't matter.

LTO works as expected in 4.5.1 as I could see. I did only a few very simple
tests with LTO and actually not with production code. But I will do the tests
until years end. I will check for a net of 10 avr devices with network
connection and simulated hardware. I expect that a failure will also be visible
in the simulation :-)

Back to the 4.6-snapshot problem:
The failure is well known also in older gcc versions and also with other cross
targets. For me it looks very simple if someone is able to look inside the
configure.xxx scripts. But I am really no export on this ;)

Regards
Klaus

--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren:http://portal.gmx.net/de/go/demail_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#4 Dec. 8, 2010 13:52:09

Weddington, E.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] build gcc-4.6-20101204 fails for avr


> -----Original Message-----
> From: avr-gcc-list-bounces+eric.weddington=atmel.***@*ongnu.org
> On
> Behalf Of Klaus Rudolph
> Sent: Wednesday, December 08, 2010 6:21 AM
> To: avr-gcc-l***@*ongnu.org
> Subject: Re: RE: build gcc-4.6-20101204 fails for avr
>
> > Does it work if you *disable* LTO? AFAIK, LTO hasn't been tested out on
> > the AVR.
>
> No, that doesn't matter.
>
> LTO works as expected in 4.5.1 as I could see.

Oh, that's some good news.


> Back to the 4.6-snapshot problem:
> The failure is well known also in older gcc versions and also with other
> cross targets. For me it looks very simple if someone is able to look
> inside the configure.xxx scripts. But I am really no export on this ;)

If the failure is well known, is there a specific open bug report for this
already? Do you know which one?



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#5 Dec. 8, 2010 14:10:52

Klaus R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] build gcc-4.6-20101204 fails for avr


Hi again,
>
> If the failure is well known, is there a specific open bug report for this
> already? Do you know which one?
>
>
I am sorry, I couldn't. There are a lot of mails regarding this problem which
could be found. But I could not remember which bug# I have red the last hours
;)

Regards
Klaus

--
GRATIS! Movie-FLAT mit über 300 Videos.
Jetzt freischalten unterhttp://portal.gmx.net/de/go/maxdome_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

#6 Dec. 8, 2010 14:13:46

Klaus R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[avr-gcc-list] build gcc-4.6-20101204 fails for avr


Hi again,
>
> If the failure is well known, is there a specific open bug report for this
> already? Do you know which one?
>
>
I am sorry, I couldn't. There are a lot of mails regarding this problem which
could be found. But I could not remember which bug# I have red the last hours ;)

Regards
Klaus

--
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit
gratis Notebook-Flat!http://portal.gmx.net/de/go/dsl_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.orghttp://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Offline

  • Root
  • » AVR-GCC
  • » [avr-gcc-list] build gcc-4.6-20101204 fails for avr [RSS Feed]

Board footer

Moderator control

Enjoy the 12th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support