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
0003454 [buildroot] Architecture Specific crash always 05-28-08 06:15 05-28-08 06:15
Reporter KHAksnes View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version
Summary 0003454: Building Generic development system fails (First of two bugs)
Description The build fails if the target platform is a non ARM nofpu platform.
The problem is that the gcc option -mfloat-abi is ARM only.
Additional Information A fix follows:

svn diff toolchain
Index: toolchain/gcc/Makefile.in
===================================================================
--- toolchain/gcc/Makefile.in (revision 22098)
+++ toolchain/gcc/Makefile.in (working copy)
@@ -38,10 +38,14 @@
 ifeq ($(findstring x4.,x$(GCC_VERSION)),x4.)
 SOFT_FLOAT_CONFIG_OPTION:=--with-float=soft
 ifeq ($(BR2_SOFT_FLOAT_FP),y)
+ifeq ($(BR2_GCC_TARGET_ARCH),arm)
 TARGET_SOFT_FLOAT:=-mfloat-abi=softfp
+endif
 else # no fp at all
+ifeq ($(BR2_GCC_TARGET_ARCH),arm)
 TARGET_SOFT_FLOAT:=-mfloat-abi=soft
 endif
+endif
 else # not gcc-4.x
 TARGET_SOFT_FLOAT:=-msoft-float
 endif
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-28-08 06:15 KHAksnes New Issue
05-28-08 06:15 KHAksnes Status new => assigned
05-28-08 06:15 KHAksnes Assigned To  => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker