This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The 'populate' script


Yann, All,

> Look in the config.log in the afore-mentioned path. What does it says?

FYI, the process actually success in the first level of ./configure:

[INFO ]  =================================================================
[INFO ]  Installing binutils for target
[EXTRA]    Configuring binutils for target
[DEBUG]    ==> Executing:
'/usr/local/src/gccCross/targets/src/binutils-2.20.1/configure
--build=i686-build_pc-linux-gnu --host=arm-none-linux-gnueabi
--target=arm-none-linux-gnueabi --prefix=/usr --disable-werror
--enable-shared --enable-static --disable-nls --disable-multilib'
[ALL  ]    checking build system type... i686-build_pc-linux-gnu
[ALL  ]    checking host system type... arm-none-linux-gnueabi
[ALL  ]    checking target system type... arm-none-linux-gnueabi
...
...
[ALL  ]    checking whether to enable maintainer-specific portions of
Makefiles... no
[ALL  ]    checking whether -fkeep-inline-functions is supported... yes
[ALL  ]    configure: creating ./config.status
[ALL  ]    config.status: creating Makefile

top Makefile created, then:

[EXTRA]    Building binutils' libraries (libiberty bfd) for target
[DEBUG]    ==> Executing: 'make -j1 all-libiberty all-bfd'
[ALL  ]    make[1]: Entering directory
`/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/build-binutils-for-target'
[ALL  ]    mkdir -p -- ./libiberty
[ALL  ]    Configuring in ./libiberty
[ALL  ]    configure: creating cache ./config.cache
[ALL  ]    checking whether to enable maintainer-specific portions of
Makefiles... no
[ALL  ]    checking for makeinfo... makeinfo
[ALL  ]    checking for perl... perl
...
....
and breaks here:
[ALL  ]    checking size of int... 4
[ALL  ]    checking for a 64-bit type... uint64_t
[ALL  ]    checking for intptr_t... yes
[ALL  ]    checking for uintptr_t... yes
[ALL  ]    checking for pid_t... yes
[ERROR]    configure: error: in
`/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/build-binutils-for-target/libiberty':
[ERROR]    configure: error: cannot run test program while cross compiling
[ALL  ]    See `config.log' for more details.
[ERROR]    make[1]: *** [configure-libiberty] Error 1
[ALL  ]    make[1]: Leaving directory
`/usr/local/src/gccCross/targets/arm-none-linux-gnueabi/build/build-binutils-for-target'
[ERROR]    Build failed in step 'Installing binutils for target'
[ERROR]    Error happened in
'/usr/local/lib/ct-ng-1.8.2/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/usr/local/lib/ct-ng-1.8.2/scripts/build/binutils/binutils.sh' at
line # 114 in function 'do_binutils_target'
[ERROR]          called from
'/usr/local/lib/ct-ng-1.8.2/scripts/crosstool-NG.sh' at line # 586 in
function 'main'
[ERROR]    Look at '/opt/x-tools/arm-none-linux-gnueabi/build.log' for
more info on this error.
[ERROR]  (elapsed: 70:13.77)
make: *** [build] Error 2

Regards,
Samson

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]