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
0000598 [buildroot] Other major always 12-12-05 03:02 02-12-07 05:49
Reporter crafterm View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000598: [patch] Host CPP used rather than toolchain CPP
Description Hi All,

Hope all is going well.

buildroot/packages/Makefile.in defines $(TARGET_CONFIGURE_OPTS) to be:

TARGET_CONFIGURE_OPTS=PATH=$(TARGET_PATH) \
                AR=$(TARGET_CROSS)ar \
                AS=$(TARGET_CROSS)as \
                LD=$(TARGET_CROSS)ld \
                NM=$(TARGET_CROSS)nm \
                CC=$(TARGET_CROSS)gcc \
                GCC=$(TARGET_CROSS)gcc \
                CXX=$(TARGET_CROSS)g++ \
                RANLIB=$(TARGET_CROSS)ranlib \
                OBJCOPY=$(TARGET_CROSS)objcopy

but doesn't set CPP. This results in the host CPP be used rather than the toolchain version and various configure scripts break when this happens, thinking that a certain header exists in the staging filesystem when they don't (eg. strace, coreutils, and others).

The attached patch fixes this.

Cheers,

Marcus
Additional Information
Attached Files  cpp.diff [^] (398 bytes) 12-12-05 03:02

- Relationships

- Notes
(0000792)
vapier
12-16-05 17:34

that doesnt really make much sense ... configure scripts default CPP to doing `$(CC) -E` which we override

fixed in svn anyways as it shouldnt break anything
 

- Issue History
Date Modified Username Field Change
12-12-05 03:02 crafterm New Issue
12-12-05 03:02 crafterm Status new => assigned
12-12-05 03:02 crafterm Assigned To  => uClibc
12-12-05 03:02 crafterm File Added: cpp.diff
12-16-05 17:34 vapier Note Added: 0000792
12-16-05 17:34 vapier Status assigned => closed
12-16-05 17:34 vapier Resolution open => fixed
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