Bug 8386

Summary: build failed with external toolchain
Product: buildroot Reporter: glscantlen <glscantlen>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: my defconfig

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!