From nobody Sun May 5 08:57:39 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VXJMy5xwBz5JRGN for ; Sun, 05 May 2024 08:57:50 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VXJMy5SdXz4F36 for ; Sun, 5 May 2024 08:57:50 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714899470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=n5Wkr10ND+SqxoLoyrjQEtdGHKMnX8aT3WKEhOtvUzg=; b=T2IBfutEphMEgFSriVZrV2c1DqZSpoPrvemtLAB43EapAfSxU7JazkIe7Q/gQhiEnDOKuY UyPPAdVoc9GAID1dJH+Oo9vG+J5i1/hJz/aeQxduWWrdCeV5TEBn/MEFxJHvWAQTGD/LYM UB254grwJ0vwrnY4E0AjPAkbF3hp9UaKrQUTqz2/LCrVh0vzxP8rppMygdgLYE+6XGdCMt 7ZYEe4iKMkCrfQMnpjG3zOkSrlLg/aAFWcS5eEPVPsyigXOCUZGPmhNyzhRhjmCE0ewhcJ VP0fJpKEETsrTxi6CkWHXrULblRv9yFgy0ABt0hHNlQ+1bhtBdPb4NZGGYUalg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714899470; a=rsa-sha256; cv=none; b=kh1ykzOp+FNyS7obHGw3DBMppXVYFVkD/wRv6/MFc6jpe8hlq1kee6XDK7PAzgHpofnh4u Z/sdiISBJjbnzCa32Ponb66Oj9cxY8xsxvZ6iberchHTyaToS4JSsy7yzc1PqM5LoX6ycP fddb+8JkfZVJ5wBzuvNt88x8BC2xGi0MoGsZUISqvAXKLL+EGgfEOCZ+sJMjtBuF0GseXC dq/g+p9Ue7LOTx1H7bTP4WsnevtpJiCm+rExsavze+oZAcCqADLDLBLApVY83nMbP4OAP4 Tx7W96lL7YeCk4IDsZJ5iRszOsnkBYTQK/cu8YUkNhHv77nYkP5kqGsdnDq3eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714899470; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=n5Wkr10ND+SqxoLoyrjQEtdGHKMnX8aT3WKEhOtvUzg=; b=YW2ai5+GF30dU4ODBpuUgC7OUFOXTEKrwpmFTQ1cZkt+i9UR1/pzJIpP1tD7aXdbEUJ3IO IUqcC1iJHNJIhuT9fKEA6m/rvvU2FZnClA4xC5j3KcwMLvucdVmveLrT+cbkB8LwmjuJEj nmIt4xte0ybfKP4FxRrITlyQFztxK/2fRIrhsNAJ0/LheoDbZf5HIZnbaqOlu8Ex7YXodE 7zaNyRVypTqDm9Y3PscYWmexgFKU0VEk0+obdo2jQ2jqPL6ZU7jNLjqcsTZfVkfG/kBtM+ 5aEB77C3a7mUzlEl36E128uWLNE4FRjcCMGOxqdlGXn75ucHyIc6RTI29v8NJw== Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VXJMy4s4yzPqc for ; Sun, 5 May 2024 08:57:50 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-43ab76cac73so10626721cf.1 for ; Sun, 05 May 2024 01:57:50 -0700 (PDT) X-Gm-Message-State: AOJu0YzcW8/AHdYGB/1Q/GntoDGrDtI4He3MWZorO7MNe9LvcJ1K05X9 keeKkYOIVXSEGAJZTd8G/HdKuE967Wb+EYxeC+R63smwHhSpsCmm3U06gXX2BJIvD/kXaKaeqkJ EFm/Vmpso/y+gr7XF2dY2+F0L7y8= X-Google-Smtp-Source: AGHT+IFY5fN9s3Y5ubvyImzdGdrk/QgSlNCaeNUkDcBJydsEsKty7KgR7xbv+gMlaBAmotPQ+4ESMI4EE8NyOE94gmM= X-Received: by 2002:a05:622a:130d:b0:43a:dc52:cd6f with SMTP id v13-20020a05622a130d00b0043adc52cd6fmr14138428qtk.7.1714899469894; Sun, 05 May 2024 01:57:49 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 From: Nuno Teixeira Date: Sun, 5 May 2024 09:57:39 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Our ld doesn't like elf_aarch64: error: unknown emulation To: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000baac100617b125d4" --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: Web: https://FreeBSD.org --000000000000baac100617b125d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

Trying to figure = out why sysutils/slurm-wlm fails to build on aarch64.

<= div>`ld: error: unknown emulation: elf_aarch64`

Up= stream answer:

"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:

-m emulation Emulate the emulation linker. You can list the available=20 emulations with the --verbose or -V options.

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."

Does devel/binut= ils should be used to fix that? And how?

Full log:=

Thanks in adva= nce,
--
=
Nuno Teixeira
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--000000000000baac100617b125d4--