Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-04 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Thu, Dec 02, 2021 at 15:43 -0800: > David Chisnall wrote this message on Thu, Dec 02, 2021 at 10:34 +: > > On 02/12/2021 09:51, Dimitry Andric wrote: > > > Apparently the "block runtime" is supposed to provide the actual object, > > > so I guess you have t

Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-02 Thread John-Mark Gurney
David Chisnall wrote this message on Thu, Dec 02, 2021 at 10:34 +: > On 02/12/2021 09:51, Dimitry Andric wrote: > > Apparently the "block runtime" is supposed to provide the actual object, > > so I guess you have to explicitly link to that runtime? > > The block runtime provides this symbol.

Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-02 Thread David Chisnall
On 02/12/2021 09:51, Dimitry Andric wrote: Apparently the "block runtime" is supposed to provide the actual object, so I guess you have to explicitly link to that runtime? The block runtime provides this symbol. You use this libc API, you must be compiling with a toolchain that supports block

Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-02 Thread Dimitry Andric
On 2 Dec 2021, at 06:42, Kyle Evans wrote: > On Wed, Dec 1, 2021 at 8:05 PM John-Mark Gurney wrote: >> >> Hello, >> >> It seems like the recent changes to make --no-allow-shlib-undefined >> broke pructl. >> >> lib/libc/stdlib/atexit.c uses a weak _Block_copy symbol, but >> pructl does not use

Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-02 Thread Dimitry Andric
On 2 Dec 2021, at 06:42, Kyle Evans wrote: > > On Wed, Dec 1, 2021 at 8:05 PM John-Mark Gurney wrote: >> >> Hello, >> >> It seems like the recent changes to make --no-allow-shlib-undefined >> broke pructl. >> >> lib/libc/stdlib/atexit.c uses a weak _Block_copy symbol, but >> pructl does not u

Re: failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-01 Thread Kyle Evans
On Wed, Dec 1, 2021 at 8:05 PM John-Mark Gurney wrote: > > Hello, > > It seems like the recent changes to make --no-allow-shlib-undefined > broke pructl. > > lib/libc/stdlib/atexit.c uses a weak _Block_copy symbol, but > pructl does not use atexit_b, and yet gets the following error: > : && /usr/b

failure of pructl (atexit/_Block_copy/--no-allow-shlib-undefined)

2021-12-01 Thread John-Mark Gurney
Hello, It seems like the recent changes to make --no-allow-shlib-undefined broke pructl. lib/libc/stdlib/atexit.c uses a weak _Block_copy symbol, but pructl does not use atexit_b, and yet gets the following error: : && /usr/bin/cc -Werror -O2 -pipe -fstack-protector-strong -isystem /usr/local/i