[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#215463: fenris: FTBFS: Cannot execute /lib/libc.so.6



Bill Allombert <allomber@math.u-bordeaux.fr> writes:

> On Sat, Jan 31, 2004 at 08:37:21AM -0800, Daniel Schepler wrote:
>> Package: fenris
>> Severity: serious
>> Version: 1:0.07build3244-2.1
>> 
>> >From my build log:
>> 
>> ...
>> [+] Version (build): 0.07-m (3244)
>> [*] Overriding sanity checks! Yuppi!
>> [+] Operating system check: Linux (supported)
>> [+] Processor check: i686 (supported)
>> [+] GNU C library version: ./build: line 1: /lib/libc.so.6: Permission denied
>> cannot determine libc version!
>> [-] I am affraid I cannot continue. Please consult documentation.
>> 
>> make: *** [build-stamp] Error 1
>> 
>> I think that file was made non-executable because even if it were
>> executable, the dynamic loader would fail with a failed assertion.  I
>> guess you'll have to find another method to find the glibc version.
>
> (irrespective of whether it is a sane thing to do) 
> The dynamic loader do not fail:
>
> %/lib/ld-linux.so.2 /lib/libc.so.6
> GNU C Library stable release version 2.3.2, by Roland McGrath et al.
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 3.3.3 20031206 (prerelease) (Debian).
> Compiled on a Linux 2.6.0-test7 system on 2004-01-20.
> Available extensions:
>         GNU libio by Per Bothner
>         crypt add-on version 2.1 by Michael Glad and others
>         linuxthreads-0.10 by Xavier Leroy
>         BIND-8.2.3-T5B
>         libthread_db work sponsored by Alpha Processor Inc
>         NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
> Thread-local storage support included.
> Report bugs using the `glibcbug' script to <bugs@gnu.org>.

That's strange, it still gives the assertion failure on my machine:

daniel@frobnitz:~$ /lib/ld-linux.so.2 /lib/libc.so.6
Inconsistency detected by ld.so: rtld.c: 1259: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!
daniel@frobnitz:~$ /lib/ld-linux.so.2 /lib/tls/libc.so.6
Inconsistency detected by ld.so: rtld.c: 1259: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!
daniel@frobnitz:~$ /lib/ld-linux.so.2 /lib/tls/i686/cmov/libc.so.6
Inconsistency detected by ld.so: rtld.c: 1259: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!

> /lib/libc.so.6 in woody is executable, FWIW.
> Glibc maintainers: was it changed on purpose ?
> changelog is unclear about it.

I think it was probably intentional; see bug #215463.
-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card



Reply to: