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


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: Error when building: --program-transform-name=s&^&arm-linux-gnueabi-&


Hello Ian,

The output error message:

Configuring in ./opcodes
configure: loading cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-unknown-linux-gnueabi
checking for x86_64-linux-gnu-gcc... gcc
checking for C compiler default output file name...
configure: error: in
`/home/zumbi/buildcross/trunk/armel/binutils-2.20/builddir-arm-linux-gnueabi/opcodes':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-opcodes] Error 1
make[2]: Leaving directory
`/home/zumbi/buildcross/trunk/armel/binutils-2.20/builddir-arm-linux-gnueabi'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/zumbi/buildcross/trunk/armel/binutils-2.20/builddir-arm-linux-gnueabi'
make: *** [build-arm-linux-gnueabi-stamp] Error 2


If I look to $build_dir/config.log,

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was
  $ ../configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu
--target=arm-linux-gnueabi --prefix=/usr --enable-shared
--enable-plugins

While under $build_dir/opcodes/config.log

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was  $
/home/zumbi/buildcross/trunk/armel/binutils-2.20/opcodes/configure
--cache-file=./config.cache --with-gnu-as --with-gnu-ld
--enable-shared --enable-plugins --prefix=/usr --with-pkgversion=GNU
Binutils for Debian --program-transform-name=s&^&arm-linux-gnueabi-&
--disable-option-checking --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=arm-linux-gnueabi
--srcdir=../../opcodes

[...]
configure:2870: checking for C compiler default output file name
configure:2892: gcc -g -O2    conftest.c  >&5
Assembler messages:
Fatal error: selected target format 'elf64-x86-64' unknown
configure:2896: $? = 1
configure:2933: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;|   return 0;| }configure:2939: error: in
`/home/zumbi/buildcross/trunk/armel/binutils-2.20/builddir-arm-linux-gnueabi/opcodes':
configure:2943: error: C compiler cannot create executables
See `config.log' for more details.


This happens on a x86_64 machine. It did not happen on my laptop
(x86_32). I suspect it is either related to shell or autoconf version,
but I can't really find the issue.

Cheers,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."


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