lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 14 Jun 2019 08:55:10 -0400 (EDT)
From:   Mathieu Desnoyers <>
To:     Florian Weimer <>
Cc:     carlos <>, Joseph Myers <>,
        Szabolcs Nagy <>,
        libc-alpha <>,
        Thomas Gleixner <>,
        Ben Maurer <>,
        Peter Zijlstra <>,
        "Paul E. McKenney" <>,
        Boqun Feng <>,
        Will Deacon <>,
        Dave Watson <>, Paul Turner <>,
        Rich Felker <>,
        linux-kernel <>,
        linux-api <>
Subject: Re: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup
 and thread creation (v10)

----- On Jun 14, 2019, at 1:35 PM, Florian Weimer wrote:

> * Mathieu Desnoyers:
>> * Makefile:
>> LIBCPATH=/home/efficios/glibc-test/lib
>> KERNEL_HEADERS=/home/efficios/git/linux-percpu-dev/usr/include
>> -Wl,--dynamic-linker=${LIBCPATH}/
>> all:
>> 	gcc ${CFLAGS} -o a a.c
>> 	gcc ${CFLAGS} -shared -fPIC -o s.c
> For me, that does not correctly link against the built libc because the
> system dynamic loader seeps into the link.

I have the same issue. I tried adding "-B${LIBCPATH}" as well, but it did
not seem to help. I still have this ldd output:

ldd a
./a: /lib64/ version `GLIBC_2.30' not found (required by ./a) (0x00007fffaa7e9000) => /home/efficios/glibc-test/lib/ (0x00007fac5d479000)
	/home/efficios/glibc-test/lib/ => /lib64/ (0x00007fac5da33000)

Still no luck there. Any idea what compiler/linker flag I am missing ?

>> specifically this commit:
> This commit links __rseq_handled into via rseq-sym.c, but does
> not export it from there.

Moving __rseq_handled to elf/dl-support.c and elf/rtld.c was part a commit on top.
I've force-pushed on the dev branch, and the commit moving __rseq_handled to the
dynamic linker it now appears as:



Mathieu Desnoyers
EfficiOS Inc.

Powered by blists - more mailing lists