With the current SVN, it builds, but it does not work.
The dynamic linker does not honour suggested library path.

See in build tree i.e.

$ ktrace -adi -- 
/opt/sid/build/extra/eglibc-2.17/build-tree/kfreebsd-amd64-libc/elf/ld-kfreebsd-x86-64.so.1
 --library-path 
/opt/sid/build/extra/eglibc-2.17/build-tree/kfreebsd-amd64-libc/ /bin/true
$ kdump | grep NAMI

Seems be due to this change:

2012-04-24  Joseph Myers  <jos...@codesourcery.com>

        * sysdeps/unix/fork.S: Remove file.
        * sysdeps/unix/i386/fork.S: Likewise.
        * sysdeps/unix/sparc/fork.S: Likewise.

        * sysdeps/unix/system.c: Remove file.
        * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.

        * sysdeps/unix/getegid.S: Remove file.
        * sysdeps/unix/geteuid.S: Likewise.


As a result, getegid() returns -1/ENOSYS.
Therefore getegid() !=  getgid(),
i.e. looks like setgid binary execution,
which (correctly) ignores suggested library path.

Petr


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.lrh.2.02.1305091050200.32...@sci.felk.cvut.cz

Reply via email to