New: arm buildroot "unrecognized option" error
https://bugs.busybox.net/show_bug.cgi?id=75
Host: pc
Target: arm
Build: Jan 26, 2009 daily buildroot
Summary: arm buildroot "unrecognized option" error
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: craigdry at yahoo.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
I am having the following problem:
1. I downloaded the latest buildroot to my Fedora Core 10 PC as follows:
svn co svn://uclibc.org/trunk/buildroot
2. Configure it by:
make menuconfig (I changed the target Architecture to "arm". Then I
exited and save the configuration file. No other changes.)
3. do a build by entering:
make > make.log
Unfortunately I get an "unrecognized option" error:
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh /home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc/mkconfig.shbconfig.h/usr/lib/ccache/gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc -I/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc/build -I/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc/../include -I/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc/../libcpp/include -I/home/cdry/buildroot/toolchain_build_arm/gmp/include -I/home/cdry/buildroot/toolchain_build_arm/mpfr/include -I/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc/../libdecnumber -I/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc/../libdecnumber/dpd
-I../libdecnumber -o build/genmodes.o/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2/gcc/genmodes.c /home/cdry/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-as:
unrecognized option `-Qy'
make[2]: *** [build/genmodes.o] Error 1
make[2]: Leaving directory `/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2-initial/gcc' make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2-initial'
make: *** [/home/cdry/buildroot/toolchain_build_arm/gcc-4.3.2-initial/.compiled] Error 2
For the purpose of comparison, I tried the following:
1. got a fresh new buildroot from svn
2. make menuconfig (this time, I leave the architecture selection at i386.
I exit and save the config file.)
3. make > make.log
4. Runs to completion without error.
So I see the problem for the "arm" architecture, but not for the "i386" architecture.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 75] arm buildroot "unrecognized option" error
https://bugs.busybox.net/show_bug.cgi?id=75
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Peter Korsgaard <[email protected]> 2009-03-04 11:17:48 UTC --- Strange, I cannot reproduce it here. Could you please attach your .config and the entire make.log (remember to do make 2>&1 >make.log to also get errors)
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 75] arm buildroot "unrecognized option" error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=75
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WORKSFORME--- Comment #2 from Thomas Petazzoni <[email protected]> 2009-07-17 09:00:49 UTC --- No news since March from the submitter. Closing.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 75] arm buildroot "unrecognized option" error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=75
--- Comment #3 from buildroot at kerneldriver.org --- Created attachment 1729
--> https://bugs.busybox.net/attachment.cgi?id=1729
.config for buildroot-2010.05-rc2 for AT91SAM9G20EK
Supplying .config per Peter Korsgaard's request.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 75] arm buildroot "unrecognized option" error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=75
buildroot at kerneldriver.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 75] arm buildroot "unrecognized option" error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=75
--- Comment #4 from Thomas Petazzoni <[email protected]> --- Do you still have this issue ? If so, can you do echo $PATH in the shell you ran Buildroot make ?
See http://wiki.openembedded.net/index.php/Unrecognized_option_-Qy_on_x86_64
for some details.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 75] arm buildroot "unrecognized option" error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=75
--- Comment #5 from Thomas Petazzoni <[email protected]> --- I have been able to reproduce by adding '.' to the PATH. I will send in a few minutes a pull request for a commit that adds a check at the beginning of Buildroot execution: if PATH contains '.', then we error out and tell the user about the issue.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 75] arm buildroot "unrecognized option" error
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=75
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED--- Comment #6 from Peter Korsgaard <[email protected]> --- PATH check fixed by Thomas in git.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.