tech-toolchain archive

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

Re: ./build.sh -O ../obj tools producing error



On Thu, Jul 27, 2023 at 10:22:20 -0700, Michael Cheponis wrote:

> $ nm -D /lib/libc.so | grep sigaction
> 
> 
>  ~/July.2023
> 0000000000099c18 T __libc_sigaction14
> 0000000000099c18 W __sigaction14
> 0000000000099dd4 T __sigaction_sigtramp
> 0000000000084dbc T sigaction
[...]
> It is *missing* __sigaction_siginfo          (!)
> 
> I have no idea what gives (how that happened), nor how to fix it.

An old libc?  You seems to have new includes that rename sigaction,
but an old libc that doesn't have the target symbol.

lib/libc/sys/Makefile.inc:

date: 2021-11-01 08:53:45 +0300;  author: thorpej;  state: Exp;  lines: +3 -3;  commitid: yBY9X0v5b6DYo3fD;
Version the sigaction(2) libc wrapper.  The new version uses the "siginfo"
trampoline exclusively, thus relegating "sigcontext"-style handlers (which
have not been documented for many years now) to the dustbin of the compat
library.


-uwe


Home | Main Index | Thread Index | Old Index