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

See crosstool-NG 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: ct-ng 1.16.0: setting glibc 2.8 cause build to fail


Zvi, All,

On Monday 29 October 2012 Zvi Vered wrote:
> I'm using version 1.16.0 to build a toolchain fo i686-nptl-linux-gnu.
> 
> I ran:
> ct-ng i686-nptl-linux-gnu
> Then, with menuconfig I set glibc to 2.8 (instead of 2.9)
> 
> The build fails with the following messages:
[--SNIP--]
> [ERROR]    configure: error:
> [CFG  ]    *** These critical programs are missing or too old: as ld
> [CFG  ]    *** Check the INSTALL file for required versions.
> 
> What is the reason for this failure ?

glibc-2.8's ./configure has an incorrect check for binutils version. In
this case glibc-2.8 was not prepared to recognised binutils-2.2x (IIRC),
and thus its ./configure does not recognise them.

As a rule of thumb, it is highly suggested that one uses versions of the
same /age/. Mixing 'old' versions of a component with a newer version of
another component can be problematic.

Advice: either upgrade to a newer glibc, or downgrade the binutils to a
version that was current at the time glibc-2.8 was released. Ditto for
the compiler and the kernel headers.

Quote of the day:
    Friends don't let friends build toolchains
    with disparate component versions.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
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]