lkml.org 
[lkml]   [2013]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: Linux kernel cross-compilers
    From
    >> Guenter,
    >> can you share a complete build log with V=1?
    >>
    >
    > http://roeck-us.net/linux/logs/make.xtensa.log.bad
    > http://roeck-us.net/linux/logs/make.xtensa.log.ok
    >
    > Key difference: the failing command in the bad case is
    > xtensa-linux-objcopy -O elf32-xtensa-le
    > and in the good case
    > xtensa-linux-objcopy -O elf32-xtensa-be
    >
    > Same compiler (4.6.3 from kernel.org), same configuration file, same command
    > line.
    > Configuration file is generated from defconfig, and the resulting .config
    > file
    > is the same in both cases.
    >
    > If I execute make and expicitly set BIG_ENDIAN=1 on the failing system as
    > parameter to it,
    > it works fine. If I set BIG_ENDIAN=0 on the passing system, it fails.
    >
    > I am puzzled. Guess there must be something different, but I have no idea
    > what it might be.

    What is the output of

    echo -e __XTENSA_EB__ | xtensa-linux-gcc -E -

    on the failing system?

    --
    Thanks.
    -- Max


    \
     
     \ /
      Last update: 2013-08-16 12:01    [W:3.255 / U:0.248 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site