This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54996] gcc with --target=avr fails to build
- From: "lvd.mhm at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 28 Oct 2012 15:25:28 +0000
- Subject: [Bug target/54996] gcc with --target=avr fails to build
- Auto-submitted: auto-generated
- References: <bug-54996-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54996
--- Comment #2 from lvd.mhm at gmail dot com 2012-10-28 15:25:28 UTC ---
I was wrong not setting $PATH to just compiled binutils.
However, even after setting correct $PATH or just compiling binutils to default
/usr/local/bin, problem still persisted.
I used clean x86_64 virtual machine with fresh ubuntu12.04.1 server install
with just nothing installed except SSH and then packages needed to build
binutils and gcc,
and I've found, that bug exists when $PATH has ./ at first place. If there is
no ./ in $PATH or ./ at the end, gcc compiles fine.
Of course then same behavior repeats itself on hardware.