public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cmtptr at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/57501] New: [avr] generated collect2 crttn24a.o missing path with -mmcu=attiny24a Date: Sun, 02 Jun 2013 00:02:00 -0000 [thread overview] Message-ID: <bug-57501-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57501 Bug ID: 57501 Summary: [avr] generated collect2 crttn24a.o missing path with -mmcu=attiny24a Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: cmtptr at gmail dot com While compiling with "gcc -mmcu=attiny24 ..." works fine, "gcc -mmcu=attiny24a ..." produces the following output: $ avr-gcc -mmcu=attiny24a test.c /usr/bin/avr-ld: cannot find crttn24a.o: No such file or directory collect2: error: ld returned 1 exit status With the "-v" flag I noticed that -mmcu=attiny24 generates a full path to its crt to pass to collect2, but -mmcu=attiny24a does not: COLLECT_GCC_OPTIONS='-v' '-mmcu=attiny24' '-msp8' /usr/lib/gcc/avr/4.8.0/collect2 -m avr25 /usr/lib/gcc/avr/4.8.0/../../../../avr/lib/crttn24.o -L/usr/lib/gcc/avr/4.8.0/avr25/tiny-stack -L/usr/lib/gcc/avr/4.8.0 -L/usr/lib/gcc/avr/4.8.0/../../../../avr/lib /tmp/cclAPzGk.o --start-group -lgcc -lm -lc --end-group COLLECT_GCC_OPTIONS='-v' '-mmcu=attiny24a' '-msp8' /usr/lib/gcc/avr/4.8.0/collect2 -m avr25 crttn24a.o -L/usr/lib/gcc/avr/4.8.0/avr25/tiny-stack -L/usr/lib/gcc/avr/4.8.0 -L/usr/lib/gcc/avr/4.8.0/../../../../avr/lib /tmp/cczhqhaD.o --start-group -lgcc -lm -lc --end-group
next reply other threads:[~2013-06-02 0:02 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-06-02 0:02 cmtptr at gmail dot com [this message] 2013-06-10 10:27 ` [Bug target/57501] " gjl at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-57501-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).