| Anonymous | Login | Signup for a new account | 11-10-2008 10:54 PST |
| Main | My View | View Issues | Change Log | Docs |
| 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 |
|
||||||||
|
|
|||||||||
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 |
| Copyright © 2000 - 2006 Mantis Group |