Modify

Opened 8 years ago

Closed 6 years ago

Last modified 4 years ago

#7133 closed defect (fixed)

glibc 2.7 + binutils 2.20.1 = too old

Reported by: moo <moo.tinys@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

CONFIG_BINUTILS_VERSION_2_20_1=y
CONFIG_BINUTILS_VERSION="2.10.1"
checking for pwd... /bin/pwd
checking for i486-openwrt-linux-gnu-gcc... (cached) i486-openwrt-linux-gnu-gcc
checking version of i486-openwrt-linux-gnu-gcc... 4.4.3, ok
checking for gnumake... no
checking for gmake... gmake
checking version of gmake... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... gmsgfmt
checking version of gmsgfmt... 0.17, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.13, ok
checking for sed... sed
checking version of sed... 4.1.2, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
configure: error:
*** These critical programs are missing or too old: as ld
*** Check the INSTALL file for required versions.
make[3]: *** [/home/moo/src/openwrt-trunk/build_dir/toolchain-i386_gcc-4.4.3_glibc-2.7/glibc-2.7/.prepared] Error 1
make[3]: Leaving directory `/home/moo/src/openwrt-trunk/toolchain/glibc'
make[2]: *** [toolchain/glibc/prepare] Error 2
make[2]: Leaving directory `/home/moo/src/openwrt-trunk'
make[1]: *** [/home/moo/src/openwrt-trunk/staging_dir/toolchain-i386_gcc-4.4.3_glibc-2.7/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/home/moo/src/openwrt-trunk'
make: *** [world] 错误 2

by checking configure.in in glibc 2.7, i see that it will only recognize binutils version up to 2.19, not 2.2x

Attachments (2)

103-binutils_2_20.patch (802 bytes) - added by marek.siller@… 8 years ago.
Patches configure.in
104-binutils_2_20.patch (946 bytes) - added by marek.siller@… 8 years ago.
Patches configure

Download all attachments as: .zip

Change History (12)

Changed 8 years ago by marek.siller@…

Patches configure.in

Changed 8 years ago by marek.siller@…

Patches configure

comment:1 follow-up: Changed 8 years ago by marek.siller@…

Here are two patches for this problem. Put them in toolchain/glibc/patches/2.7 and the compilation should succeed.

comment:2 Changed 7 years ago by anonymous

I see the same problem with current SVN head under Ubuntu 10.4 compiling target x86 with glibc. The patches above work for me.

comment:3 Changed 7 years ago by jan@…

same applies for glibc 2.6.1

comment:4 Changed 7 years ago by kenjiru <kenjiru.ro@…>

Problem confirmed for glibc 2.7 + binutils 2.20.1. The patches work fine.

comment:5 Changed 6 years ago by nico

  • Resolution set to fixed
  • Status changed from new to closed

Applied in r27210

comment:6 in reply to: ↑ 1 ; follow-up: Changed 6 years ago by anonymous

Replying to marek.siller@…:

Here are two patches for this problem. Put them in toolchain/glibc/patches/2.7 and the compilation should succeed.

Where is the file path ,toolchain/glibc/patches/2.7?

comment:7 in reply to: ↑ 6 Changed 5 years ago by anonymous

Replying to anonymous:

Replying to marek.siller@…:

Here are two patches for this problem. Put them in toolchain/glibc/patches/2.7 and the compilation should succeed.

Where is the file path ,toolchain/glibc/patches/2.7?

Hi everyone, I'm trying to install glibc and I've got the same problems.
I don't really understand what to do with those patches?
Where is the toolchain/glibc/patches/2.7?

thanks a lot ;)

comment:8 Changed 5 years ago by anonymous

how to add patch

comment:9 Changed 4 years ago by set.eda54@…

I think that you can modify it in the configure file in perf folder

comment:10 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.