[BusyBox 0001376]: Add CFLAGS to final link stage

bugs at busybox.net bugs at busybox.net
Thu May 31 13:18:17 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1376 
====================================================================== 
Reported By:                zdevai
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1376
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             05-31-2007 06:18 PDT
Last Modified:              05-31-2007 06:18 PDT
====================================================================== 
Summary:                    Add CFLAGS to final link stage
Description: 
Currently, the final link of busybox (Makefile:568) does not pass the
CFLAGS to the compiler.
This way, the compiler just links the executable to its default target
libraries, which is not always intended.

Real example: The latest CodeSourcery ARM toolchains default to the ARMv5
arch. If you pass "-march=armv4t" with CFLAGS, the object files are
compiled for that arch, but the resulting binary will still be linked with
the ARMv5 libgcc and libc, which makes them unusable.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-31-07 06:18  zdevai         New Issue                                    
05-31-07 06:18  zdevai         Status                   new => assigned     
05-31-07 06:18  zdevai         Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list