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

Michael Cheponis <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <CAOaX04N-5EDvPrBtbjYoqR5mADsB14-DMsWu3u-=46TNpfGPnA@mail.gmail.com>
# ./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

*** BUILD ABORTED ***

On Thu, Jul 27, 2023 at 11:08 AM Robert Swindells <[email protected]> wrote:

>
> On Mon, Jul 24, 2023 at 12:46:59 -0700, Michael Cheponis wrote:
>
> > # ./build.sh -O ../obj tools
>
> Have you tried using an explicit -m evbarm64-el option instead of
> letting build.sh default to the host uname values?
>
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.