This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
AVR gives weird error with LTO
- From: Andrew Hutchinson <andrewhutchinson at cox dot net>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Wed, 30 Dec 2009 10:58:40 -0500
- Subject: AVR gives weird error with LTO
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/show_bug.cgi?id=42483