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

Robert Swindells <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
[email protected] wrote:
> # ./build.sh -m evbarm64-el -O ../obj tools
> <<stuff>>
> 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'
> ld: job.c:(.text+0xd38): undefined reference to `__sigaction_siginfo'
> job.c:(.text+0xd38): relocation truncated to fit: R_AARCH64_CALL26 against
> undefined symbol `__sigaction_siginfo'
> ld: util.o: in function `bmake_signal':
> util.c:(.text+0x2c): undefined reference to `__sigaction_siginfo'
> util.c:(.text+0x2c): relocation truncated to fit: R_AARCH64_CALL26 against
> undefined symbol `__sigaction_siginfo'
>
> ERROR: Build of nbmake failed

Ok, I think you will need to search through the <<stuff>> to see what
is going on.

I just did builds of tools both with and without an explicit -m option
on NetBSD/aarch64 and they worked fine. Host and source tree are from
yesterday.

Only other thing that I can think of is to try using a different host
name, maybe one of the configure scripts is seeing 'arm64' and picking
an incorrect config for something.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.