Gentoo Archives: gentoo-hardened

From: Ed W <lists@××××××××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Compile problems - possibly gcc issue?
Date: Sun, 28 Jun 2009 14:28:14
Message-Id: 4A477DFB.50905@wildgooses.com
In Reply to: Re: [gentoo-hardened] Compile problems - possibly gcc issue? by Ed W
1 Ed W wrote:
2 > Hmm, the relevant config.log snippet is shown below, but it's not 100%
3 > obvious what creates the error - I guess it would be the
4 >
5 > | #define LIBC_VERSION "libc.so.0
6 > | ld-uClibc.so.0"
7 >
8 > Which seems peculiarly split over two lines?
9
10 Hmm, seems like a uclibc issue
11
12 The test is:
13
14 LIBC_VERSION=$(
15 $READELF -d libctest | \
16 $EGREP NEEDED.*libc\\.so | \
17 $AWK '{print $NF}' | sed -e 's:\[::' -e 's:\]::'
18 )
19
20
21 readelf gives me:
22
23 0x00000001 (NEEDED) Shared library: [libc.so.0]
24 0x00000001 (NEEDED) Shared library: [ld-uClibc.so.0]
25
26
27 Hmm, will need to see what it needs this for so see what's the correct
28 answer
29
30 Ed W

Replies

Subject Author
Re: [gentoo-hardened] Compile problems - possibly gcc issue? Mansour Moufid <mansourmoufid@×××××.com>