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



[...redirected to tech-toolchain...]

On Mon, Jul 24, 2023 at 12:46:59 -0700, Michael Cheponis wrote:

> # ./build.sh -O ../obj tools
> 
> gives me:
> 
> << stuff  >>
> cc -o nbmake arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o lst.o
> main.o make.o make_malloc.o meta.o metachar.o parse.o str.o suff.o targ.o
> trace.o util.o var.o
> ld: job.o: in function `JobPassSig_suspend':
> job.c:(.text+0xd04): undefined reference to `__sigaction_siginfo'
> job.c:(.text+0xd04): relocation truncated to fit: R_AARCH64_CALL26 against
> undefined symbol `__sigaction_siginfo'
[...]
> $ uname -a
> NetBSD arm64 10.99.4 NetBSD 10.99.4 (MIKE64) #0: Wed May 24 16:54:43 UTC
> 2023  mac@arm64:/usr/obj/sys/arch/evbarm/compile/MIKE64 evbarm

What does nm -D /lib/libc.so | grep sigaction say on the host?

E.g. for the cross-built arm64 libc in distdir I get:

0000000000092400 T __libc_sigaction14
0000000000092400 W __sigaction14
000000000018d0a0 T __sigaction_siginfo
000000000018d134 T __sigaction_sigtramp
000000000008e688 T sigaction

-uwe


Home | Main Index | Thread Index | Old Index