[Bug libgcc/64401] avr-elf crtbegin.o fails to compile

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 21 15:22:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64401

Georg-Johann Lay <gjl at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-07-21
                 CC|                            |gjl at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
I cannot find objects built from crtstuff in any of my avr-builds, so the
question is why it tries to generate this modules in the first place.

./libgcc/config.host reads:

case ${host} in
[...]
*-*-elf)
  extra_parts="crtbegin.o crtend.o"
  ;;
esac

so presumably the build system is confused by your *-elf configuration.

Is there a specific reason for why you are not configuring --target=avr ?



More information about the Gcc-bugs mailing list