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: Builds broken


On Wed, 29 May 2019 at 20:18, Hans-Peter Nilsson
<hans-peter.nilsson@axis.com> wrote:
>
> > From: Nick Clifton <nickc@redhat.com>
> > Date: Wed, 29 May 2019 17:14:17 +0100
>
> > Hi Christophe,
> >
> > > checking for suffix of object files... configure: error: in
> > > `/home/tcwg-buildslave/workspace/tcwg-binutils/bfd/--enable-64-bit-bfd=no/label/tcwg-x86_64-cam/target/aarch64-linux-gnu/build-aarch64-linux-gnu/aarch64-linux-gnu/zlib':
> > > configure: error: cannot compute suffix of object files: cannot compile
> > > See `config.log' for more details
> >
> > I cannot reproduce this.  Please could you tell me more about how the toolchain was configured ?
>
Sorry for the delay....

> I'm not him, but me and my autotester sees this breakage too.
>
> Here, with stock Debian 9 x86_64 (note: without a cris-elf
> toolchain), happens both for compiling from git checkout and

Looks like the absence of a toolchain is key:
configure:3626: checking for suffix of object files
configure:3648: aarch64-linux-gnu-cc
-L/home/tcwg-buildslave/workspace/tcwg-binutils/bfd/--enable-64-bit-bfd=no/label/tcwg-x86_64-cam/target/aarch64-linux-gnu/build-aarch64-linux-gnu/./ld
   -c -g -O2  conftest.c >&5
/home/tcwg-buildslave/workspace/tcwg-binutils/bfd/--enable-64-bit-bfd=no/label/tcwg-x86_64-cam/target/aarch64-linux-gnu/zlib/configure:
line 3650: aarch64-linux-gnu-cc: command not found
configure:3652: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zlib"
| #define PACKAGE_TARNAME "zlib"
| #define PACKAGE_VERSION "1.1.4"
| #define PACKAGE_STRING "zlib 1.1.4"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "zlib"
| #define VERSION "1.1.4"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3666: error: in
`/home/tcwg-buildslave/workspace/tcwg-binutils/bfd/--enable-64-bit-bfd=no/label/tcwg-x86_64-cam/target/aarch64-linux-gnu/build-aarch64-linux-gnu/aarch64-linux-gnu/zlib':
configure:3668: error: cannot compute suffix of object files: cannot compile

Christophe



> from a tarball made using "./src-release.sh -b binutils",
> configure using:
>
> "/path/to/toplevelgitcheckout/configure --target=cris-elf"
>
> Then:
> "make all".
>
> Observe:
>
> (ld or gdb builds successfully, then:)
>
> make[2]: Leaving directory '/path/to/objdir/gdb'
> Checking multilib configuration for zlib...
> mkdir -p -- cris-elf/zlib
> Configuring in cris-elf/zlib
> configure: creating cache ./config.cache
> checking build system type... x86_64-pc-linux-gnu
> checking host system type... cris-axis-elf
> checking target system type... cris-axis-elf
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for cris-elf-strip... /path/to/objdir/./binutils/strip-new
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for cris-elf-gcc... cris-elf-cc -L/path/to/objdir/./ld
> checking for suffix of object files... configure: error: in `/path/to/objdir/cris-elf/zlib':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details
> Makefile:14315: recipe for target 'configure-target-zlib' failed
> make[1]: *** [configure-target-zlib] Error 1
> make[1]: Leaving directory '/path/to/objdir'
> Makefile:928: recipe for target 'all' failed
> make: *** [all] Error 2
>
> brgds, H-P


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