Modify

Opened 9 years ago

Closed 6 years ago

#5417 closed enhancement (wontfix)

SDK depends on the host glibc version

Reported by: Malte S. Stretz <mss@…> Owned by: developers
Priority: low Milestone: Features Paradise
Component: toolchain Version: Trunk
Keywords: sdk Cc:

Description

I built an 8.09 SDK on my Ubuntu Jaunty and tried to use it on an (admittedly ancient) Debian sarge which resulted in the following error:

mss@elmi:~/build/OpenWrt-SDK-ar71xx-for-Linux-i686$ make
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'non-root'... ok.
Collecting package info: doneing...xwrt-packages/package/firewall
Collecting target info: doneing...ux/ar71xx
sed: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by sed)
sed: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by sed)
sed: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by sed)
sed: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by sed)
sed: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by sed)
 make[1] world
 make[2] package/compile
 make[3] -C /home/mss/build/sixwrt-packages/dummy/wastepid compile
make -r world: build failed. Please re-run make with V=99 to see what's going on
make: *** [world] Error 1

So on top of r16508 I think the name of the SDK needs to contain the host glibc version as well, something like

SDK_NAME:=OpenWrt-SDK-$(BOARD)_host-$(PKG_OS)-$(PKG_CPU)-glibc-$(HOST_LIBCV)_target-gcc-$(GCCV)-$(LIBC)-$(LIBCV)

Wherever the HOST_LIBCV is picked up from...

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by nico

  • Milestone changed from Kamikaze to Kamikaze Features Paradize
  • Version changed from Kamikaze 8.09 to Trunk

comment:2 Changed 6 years ago by nbd

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

There are more host system dependency variables than can be accounted for in the SDK name. If the SDK doesn't work for you, just build from source.

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.