Bug 8386 - build failed with external toolchain
Summary: build failed with external toolchain
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-05 02:28 UTC by glscantlen
Modified: 2015-10-05 06:28 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
my defconfig (1.13 KB, application/octet-stream)
2015-10-05 02:28 UTC, glscantlen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description glscantlen 2015-10-05 02:28:56 UTC
Created attachment 6176 [details]
my defconfig

using :
git clone git://git.busybox.net/buildroot
commit# latest 2015.10.04

Build with external toolchain failed.
improper pre-compile condition statement.
toolchain/toolchain-wrapper.c ~line 147

#elif BR_CROSS_PATH_ABS

should it be: ?

#elif defined BR_CROSS_PATH_ABS

It works for me :)
Gary
Comment 1 glscantlen 2015-10-05 02:32:26 UTC
commit # 70a61bbfb3922df8a9b323023e7be555cfe1272b
Comment 2 Peter Korsgaard 2015-10-05 06:28:08 UTC
indeed, it is broken since yesterday. Fixed by:

commit ccdb179d24a2d99ce4f3078bfcd2ffee5af60701
Author: Peter Korsgaard <peter@korsgaard.com>
Date:   Mon Oct 5 08:25:17 2015 +0200

    toolchain-wrapper.c: unbreak BR_CROSS_PATH_ABS handling
    
    Fixes #8386
    
    We should check if BR_CROSS_PATH_ABS is defined, not if it evalutates to
    true for the pre processor.
    
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Thanks!