[Bug target/49017] [avr] -ffunction-sections causes linker to fail

2013-02-02 Thread stefan.hladnik at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017



stefan.hladnik at gmail dot com changed:



   What|Removed |Added



 Resolution|INVALID |FIXED



--- Comment #7 from stefan.hladnik at gmail dot com 2013-02-02 17:45:43 UTC ---

Sorry for late response. I somehow missed your comment #5. However, I am using

gcc 4.7.2 now and the problem does not appear any more.


[Bug c/49017] [avr] -ffunction-sections causes linker to fail

2011-07-11 Thread stefan.hladnik at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017

--- Comment #3 from stefan.hladnik at gmail dot com 2011-07-11 19:02:13 UTC ---
Yes. I guess this feature will become obsolete when -flto gets stable, but I
don't how far that is.


[Bug c/49017] [avr] -ffunction-sections causes linker to fail

2011-05-16 Thread stefan.hladnik at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017

--- Comment #1 from stefan.hladnik at gmail dot com 2011-05-16 22:51:14 UTC ---
Created attachment 24259
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24259
Object files before and after linking


[Bug c/49017] New: [avr] -ffunction-sections causes linker to fail

2011-05-16 Thread stefan.hladnik at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017

   Summary: [avr] -ffunction-sections causes linker to fail
   Product: gcc
   Version: 4.5.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: stefan.hlad...@gmail.com


I was compiling my code with -ffunction-sections for quite some time, so not
sure why this problem now constantly appears when using this flag. I have a
toolchain compiled with "crossdev -t avr" on gentoo, which means gcc-4.5.2 at
the moment. When linking my object file with other files "__muldi3" from
libgcc.a is linked incorrectly.

Attaching pre-linking (nol*) & post-linking (obj*) object files. I'm not really
sure about what to provide, so please let me know what you need.


Stefan