1 |
On Thursday 29 January 2009 03:02:32 Mike Frysinger wrote: |
2 |
> On Saturday 17 January 2009 17:28:36 C. Bergström wrote: |
3 |
> > configure |
4 |
> > @@ -23460,6 +23460,7 @@ |
5 |
> > LIBC_PATH=$( |
6 |
> > $AWK '/attempt to open/ { if (($4 ~ /\/libc\.so/) && ($5 == |
7 |
> > "succeeded")) LIBC = $4; }; END {print LIBC}' libctest.log |
8 |
> > ) |
9 |
> > +LIBC_PATH=/lib/amd64/libc.so |
10 |
> |
11 |
> please figure out an equivalent method then. look up a few lines to where |
12 |
> we run $CC with -Wl,-verbose in order to get the linking trace, and then we |
13 |
> use that to figure out the libc.so path. |
14 |
|
15 |
this should be fixed in current git now ... printing out the map includes the |
16 |
full path to libc.so: |
17 |
... |
18 |
checking for va_copy... va_copy |
19 |
checking for dlopen in -ldl... yes |
20 |
checking for dlvsym in -ldl... no |
21 |
checking truncate argument type... off_t |
22 |
checking for RTLD_NEXT... yes |
23 |
checking libc path... /lib/libc.so |
24 |
checking libc version... libc.so.1 |
25 |
checking how to enable exception handling... -fexceptions |
26 |
checking CFLAGS for maximum warnings... -v |
27 |
checking whether C compiler accepts -fdata-sections... yes |
28 |
checking whether C compiler accepts -ffunction-sections... yes |
29 |
checking whether the linker accepts -Wl,--as-needed... no |
30 |
checking whether the linker accepts -Wl,--gc-sections... no |
31 |
configure: creating ./config.status |
32 |
config.status: creating Makefile |
33 |
... |
34 |
-mike |