Hello,

I instructed port to use binutils from ports (version 2.40 native) instead of base:

`/usr/local/bin/ld: unrecognised emulation mode: elf_aarch64`

```
/usr/local/bin/ld -V |grep aarch64
   aarch64cloudabi
   aarch64cloudabib
   aarch64elf
   aarch64elf32
   aarch64elf32b
   aarch64elfb
   aarch64fbsd
   aarch64fbsdb
   aarch64haiku
   aarch64linux
   aarch64linux32
   aarch64linux32b
   aarch64linuxb
   aarch64pe
```

Any clues about "elf_aarch64" and "aarch64elf" mismatch?

Thanks,

Christopher Samuel via slurm-users <slurm-users@lists.schedmd.com> escreveu (sábado, 4/05/2024 à(s) 20:27):
On 5/4/24 4:24 am, Nuno Teixeira via slurm-users wrote:

> Any clues?
>
>  > ld: error: unknown emulation: elf_aarch64

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.

Good luck!

All the best,
Chris
--
Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA


--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com


--
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org