Re: [U-Boot] random compile error unrecognized command line option '-mshort-load-bytes' with arm-eabi-gcc 4.6.x

2013-07-15 Thread Yingchun Li
Here is the reply from google developer, who think this is a race condition: The Android build system isn't designed to use recursive calls to make, and the result in that case is subject to race conditions and therefore very undefined. You can try to build without -j, you can try to add the

[U-Boot] random compile error unrecognized command line option '-mshort-load-bytes' with arm-eabi-gcc 4.6.x

2013-07-14 Thread Yingchun Li
I have ported u-boot to my android4.2 source and use the android toolchain, which has a gcc version 4.6.x-google 20120106. my envisionment for build: ubuntu 10.04, with a host gcc version 4.4.3. my platform is arm-v7, cotex-a5. the problem is that some times u-boot will encounter the following