public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* ct-ng build fails with 'make[1]: *** [configure-binutils] Error 1'
@ 2009-09-04  3:47 Godmar Back
  2009-09-04  8:49 ` building patched gcc ng
  2009-09-04 15:07 ` ct-ng build fails with 'make[1]: *** [configure-binutils] Error 1' Yann E. MORIN
  0 siblings, 2 replies; 16+ messages in thread
From: Godmar Back @ 2009-09-04  3:47 UTC (permalink / raw)
  To: crossgcc

Hi,

I am trying to build a cross-compiler for x86_64 that runs on a CentOS
5.3 installation. The last time I've build a cross-gcc was 10 years
ago (approximately), so I was hoping ct-ng could help.

When building ct-ng, it indicated that my automake and autoconf were
out-of-date (that, by itself, triggered repressed memories...)
So I downloaded and configured autoconf-2.64 and automake-1.10.2 with
the same prefix into which I installed ct-ng.

My attempt to build crosstools breaks with:

$ env PATH=/home/courses/cs3214/cross-x86_64/bin:$PATH ct-ng build
[INFO ]  Build started 20090903.234300
[INFO ]  Checking environment sanity
[INFO ]  Building environment variables
[WARN ]  You did not specify the build system. That's OK, I can guess...
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in
0.02s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 0.03s (at 00:02)
[INFO ]  =================================================================
[INFO ]  Installing binutils
[ERROR]    make[1]: *** [configure-binutils] Error 1
[ERROR]    checking for inttypes.h... make[1]: *** [configure-opcodes] Error 1
[ERROR]    Build failed in step 'Installing binutils'
[ERROR]    Error happened in
'/home/courses/cs3214/cross-x86_64/lib/ct-ng-1.4.2/scripts/functions'
in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from
'/home/courses/cs3214/cross-x86_64/lib/ct-ng-1.4.2/scripts/build/binutils.sh'
at line # 49 in function 'do_binutils'
[ERROR]          called from
'/home/courses/cs3214/cross-x86_64/lib/ct-ng-1.4.2/scripts/crosstool-NG.sh'
at line # 497 in function 'main'
[ERROR]    Look at
'/home/courses/cs3214/x-tools/x86_64-unknown-elf/build.log' for more
info on this error.
[ERROR]  (elapsed: 0:21.83)
[00:22] / make: *** [build] Error 2

Note that I have the correct automake/autoconf:
[cs3214@ghestal crossbuild]$ env
PATH=/home/courses/cs3214/cross-x86_64/bin:$PATH automake --version
automake (GNU automake) 1.10.2
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
[cs3214@ghestal crossbuild]$ env
PATH=/home/courses/cs3214/cross-x86_64/bin:$PATH autoconf --version
autoconf (GNU Autoconf) 2.64
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.

------------------

You can see my .config and build.log here:

http://courses.cs.vt.edu/~cs3214/crosstools-ng/build.log
http://courses.cs.vt.edu/~cs3214/crosstools-ng/dot.config

build.log contains:

[ALL  ]    *** BFD does not support target x86_64-unknown-elf.
[ALL  ]    *** Look in bfd/config.bfd for supported targets.
[ERROR]    make[1]: *** [configure-binutils] Error 1

What gives?  All I did was select 'x86_64' in menuconfig.

Thanks!

 - Godmar

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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-09-10  5:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-04  3:47 ct-ng build fails with 'make[1]: *** [configure-binutils] Error 1' Godmar Back
2009-09-04  8:49 ` building patched gcc ng
2009-09-04 12:54   ` Thomas Petazzoni
2009-09-04 15:16   ` Yann E. MORIN
2009-09-04 15:07 ` ct-ng build fails with 'make[1]: *** [configure-binutils] Error 1' Yann E. MORIN
2009-09-04 19:03   ` Godmar Back
2009-09-04 22:20     ` Yann E. MORIN
2009-09-05 14:13       ` Godmar Back
2009-09-06 13:06         ` Yann E. MORIN
2009-09-06 13:34           ` Godmar Back
2009-09-06 13:39             ` Yann E. MORIN
2009-09-07 14:04               ` Godmar Back
2009-09-07 16:06                 ` Yann E. MORIN
2009-09-09 13:31                   ` Godmar Back
2009-09-09 19:56                     ` Yann E. MORIN
     [not found]                       ` <719dced30909092215qe1bf9a2i1d7f10f15733e11c@mail.gmail.com>
2009-09-10  5:16                         ` Godmar Back

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).