BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000129 [buildroot] Architecture Specific block always 03-02-05 22:55 02-12-07 05:49
Reporter rlc View Status public  
Assigned To buildroot
Priority normal Resolution no change required  
Status closed   Product Version
Summary 0000129: Make menuconfig toolchain option "Additional gcc options" passed into wrong build phase
Description My embedded linux target requires the -mcpu=860 option to be passed into the compilation phase of the GCC cross-compiler (if I don't, nothing compiled with gcc will work! It attempts to use non-existent floating-point registers). I put this option into the "Additional gcc options" section of make menuconfig, but it attempted to use this as a configure script option instead. Here's the output:

configure: error: -mcpu=860: invalid option; use --help to show usage
make: *** [/home/powerpc-linux/host/build/working/buildroot/toolchain_build_powerpc_nofpu/gcc-3.4.2-initial/.configured] Error 1

If this is the intended use for this toolchain option, please tell me how I can build gcc with the -mcpu=860 option.
Additional Information My profile describes the host machine, but here it is again:
iBook G3 900 MHz
Gentoo Linux
kernel version 2.6.10-gentoo-r6
native gcc compiler version 3.4.1 20040803
Attached Files

- Relationships

- Notes
(0000071)
rlc
03-02-05 23:05

I found the correct configure option:
--with-cpu=860

I believe this causes the cross-compiler version of gcc to assume -mcpu=860

I was confused about where this option would be used, perhaps a more descriptive name or help information could be added?
Please reduce the severity to trivial, my mistake.
 

- Issue History
Date Modified Username Field Change
03-02-05 22:55 rlc New Issue
03-02-05 23:05 rlc Note Added: 0000071
03-16-05 12:12 andersen Status new => assigned
03-16-05 12:12 andersen Assigned To  => uClibc
01-23-06 07:18 prpplague Status assigned => closed
01-23-06 07:18 prpplague Resolution open => no change required
02-12-07 05:49 vapier Status closed => assigned
02-12-07 05:49 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker