http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49017
Georg-Johann Lay <gjl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |avr Status|UNCONFIRMED |WAITING Last reconfirmed|2011-07-11 18:53:40 |2012-09-23 CC| |gjl at gcc dot gnu.org Component|c |target Ever Confirmed|0 |1 --- Comment #5 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-09-23 17:06:25 UTC --- (In reply to comment #0) > 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. To see what's needed for a GCC bug report, follow http://gcc.gnu.org/bugs/#report in particular, we need the GCC configure options and a test case to decide if it's actually a GCC bug, a binutlas bug or a musconfigured toolchain. You can also add the complete verbose output with -v as told by the bug reporting instructions. Moreover, GCC 4.5 is no more suüüorted.. Please try a release series that is still supported which is at least 4.6.