Date: Sun, 5 May 2024 09:57:39 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Our ld doesn't like elf_aarch64: error: unknown emulation Message-ID: <CAFDf7UK05i11Ppcv=O16_eDx3w6ZBFha_RkJUhRqFpcJKL2ngQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--000000000000baac100617b125d4 Content-Type: text/plain; charset="UTF-8" Hello all, Trying to figure out why sysutils/slurm-wlm fails to build on aarch64. `ld: error: unknown emulation: elf_aarch64` Upstream answer: "All I can think is that your ld doesn't like elf_aarch64, from the log your posting it looks that's being injected from the FreeBSD ports system. Looking at the man page for ld on Linux it says: -m emulation Emulate the emulation linker. You can list the available emulations with the --verbose or -V options. So I'd guess you'd need to look at what that version of ld supports and then update the ports system to match." Does devel/binutils should be used to fix that? And how? Full log: https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/pb78025a96ed9_s3c1be0b2615/logs/slurm-wlm-23.11.6.log Thanks in advance, -- Nuno Teixeira FreeBSD UNIX: <eduardo@FreeBSD.org> Web: https://FreeBSD.org --000000000000baac100617b125d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hello all,</div><div><br></div><div>Trying to figure = out why sysutils/slurm-wlm fails to build on aarch64.</div><div><br></div><= div>`ld: error: unknown emulation: elf_aarch64`</div><div><br></div><div>Up= stream answer:</div><div><p>"All I can think is that your ld doesn'= ;t like elf_aarch64, from the log=20 your posting it looks that's being injected from the FreeBSD ports=20 system. Looking at the man page for ld on Linux it says:</p> <p>-m emulation Emulate the emulation linker. You can list the available=20 emulations with the --verbose or -V options.</p> <p>So I'd guess you'd need to look at what that version of ld suppo= rts and=20 then update the ports system to match."</p></div><div>Does devel/binut= ils should be used to fix that? And how?</div><div><br></div><div>Full log:= </div><div><a href=3D"https://pkg-status.freebsd.org/ampere2/data/main-arm6= 4-default/pb78025a96ed9_s3c1be0b2615/logs/slurm-wlm-23.11.6.log">https://pk= g-status.freebsd.org/ampere2/data/main-arm64-default/pb78025a96ed9_s3c1be0b= 2615/logs/slurm-wlm-23.11.6.log</a></div><div><br></div><div>Thanks in adva= nce,<br></div><div><span class=3D"gmail_signature_prefix">-- </span><br><di= v dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature">= <div dir=3D"ltr"><div><font color=3D"#888888">Nuno Teixeira</font></div><di= v><div><font color=3D"#888888"> FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 <a h= ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr= eeBSD.org</a><br></font></div></div></div></div></div></div> --000000000000baac100617b125d4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UK05i11Ppcv=O16_eDx3w6ZBFha_RkJUhRqFpcJKL2ngQ>