From nobody Tue Dec 31 14:00:39 2024 X-Original-To: dev-commits-ports-main@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 4YMvkf16wNz5jV5H; Tue, 31 Dec 2024 14:00:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMvkd1H6Hz4mlZ; Tue, 31 Dec 2024 14:00:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735653641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k7bz+6IsISumlWCXt83LD4Rx+KETGMMgiA8x9jlmNu0=; b=WF2CNyRxPKRnJI+6riYWl8fKDWMr2Vdu8RfQbFPVdDQYpJ6q8AhUfOSvsiv2ow657Z/PB0 ON2rBRBg18VpPr0lyRDBeXj1G4BO8YmpKaRh7iNR271k83WgKBGv6d4yXsbnrzAU9v4nTo KA3MuBebLHH+rZCFKGVFsg78PCkCsm91gjrBkUsoyla91DTUDLgM5SMyhu4dVOsGX/MCEM /ImIKBQ1cECoFL/Q8g7rcZhw4I0EZGbFUZXgiDbDxD2B9b9XPhfbgjxYNNY7FQPFGkL6wJ Wzb2ftDcvH86Dyu0NCn8mf7MKfyPNbjMOefN055XpAx2PFk2DImjyzdUUxhycw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735653641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k7bz+6IsISumlWCXt83LD4Rx+KETGMMgiA8x9jlmNu0=; b=yubkPB8bhU3a48fBCNRKvmmBmp9EsQ+xp4JI4Re+f0JyEQ9uaShiVKPVx8e5X8guQhUy4i cVxDlPH8bob58e4S52X/iYl1mKD4DlSaZCOc1QhBdAWkjWbgd+sL502rbS+wkNWKIev3yL kLySZ1SKwQsqXLmSCUYZU92nlx04M2JA/1TOyhH2Dlw7K6ArWihiu134ICvq07vnq8covA ab5MGIv45Vo+bnrfG4VRU+CZdKU3+dEFAfTu+NKJPk0JdcjDypjVjUmce80prWBBZX9SDe hGdMTtD+cEVfm5RafiiuSxJzhGgxnwOppJyrdVUhdw0+DeYQgq5L1ejVtNjWRA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735653641; a=rsa-sha256; cv=none; b=StLzOPNIQbOfUG6g+ANDUoBis0B7f8CL7XtN/WUYq2GoiE5rQAYSPW2TjqEcB7HrvCjipQ rKYdDpaQAkFFg2MxRo7rSA6jDfclj/cqYALjk3UHnvsph5V09s5Q6huD9u0kVrd0J/RHBb xA4Iif707q2bOLOYnQSkreNdGfQys1HgXaQ7iC1cYwQnR/LPDxk4wm/Hb43cldlxOSuaQH QQSNPixomAKYnGYmblSrwOmClw3DlsFS4f5mGWgSvoA4RiS2zSKFKJC7WxHFwD/+UV9iad Rk3mWcmmmF7wnfHgqFCmvQeuLUUWRK9OfHEBlJqie5qtJUJLDEsCFbW8lCYfLQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YMvkc0Y5Yzj3G; Tue, 31 Dec 2024 14:00:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BVE0dq6053171; Tue, 31 Dec 2024 14:00:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BVE0dhv053168; Tue, 31 Dec 2024 14:00:39 GMT (envelope-from git) Date: Tue, 31 Dec 2024 14:00:39 GMT Message-Id: <202412311400.4BVE0dhv053168@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 8b99d6dd08ab - main - devel/ocaml-lacaml: unbreak build on powerpc* by removing -march=native List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8b99d6dd08ab98f13ff4643786516bbfcedc0c04 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=8b99d6dd08ab98f13ff4643786516bbfcedc0c04 commit 8b99d6dd08ab98f13ff4643786516bbfcedc0c04 Author: Piotr Kubaj AuthorDate: 2024-12-26 19:44:39 +0000 Commit: Piotr Kubaj CommitDate: 2024-12-31 13:59:45 +0000 devel/ocaml-lacaml: unbreak build on powerpc* by removing -march=native (cd _build/default/src/config && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -O2 -pipe -fno-strict-aliasing -DEXTERNAL_EXP10 -std=c99 -march=native -O3 -ffast-math -fPIC -DPIC -g -I /usr/local/lib/ocaml -o zdot_is_function_stubs.o -c zdot_is_function_stubs.c) cc: error: unsupported option '-march=' for target 'powerpc64-unknown-freebsd14.2' File "src/config/dune", line 24, characters 11-34: 24 | (names zdot_is_procedure_stubs zdot_is_function_stubs) ^^^^^^^^^^^^^^^^^^^^^^^ cc src/config/zdot_is_procedure_stubs.o (exit 1) --- devel/ocaml-lacaml/Makefile | 1 + devel/ocaml-lacaml/files/patch-src_config_discover.ml | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/devel/ocaml-lacaml/Makefile b/devel/ocaml-lacaml/Makefile index 0d510ebf80af..4766d5191116 100644 --- a/devel/ocaml-lacaml/Makefile +++ b/devel/ocaml-lacaml/Makefile @@ -1,5 +1,6 @@ PORTNAME= lacaml DISTVERSION= 11.0.10 +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= ocaml- diff --git a/devel/ocaml-lacaml/files/patch-src_config_discover.ml b/devel/ocaml-lacaml/files/patch-src_config_discover.ml new file mode 100644 index 000000000000..bbdbac121671 --- /dev/null +++ b/devel/ocaml-lacaml/files/patch-src_config_discover.ml @@ -0,0 +1,11 @@ +--- src/config/discover.ml.orig 2024-12-26 19:34:31 UTC ++++ src/config/discover.ml +@@ -46,7 +46,7 @@ let () = + (* -march=native is not supported on Apple ARM64 yet. + Its support was introduced in clang >= 15.0.0 *) + match maybe_system, maybe_arch with +- | Some "macosx", Some "arm64" ++ | Some "bsd_elf", _ + | _, (None | Some ("ppc64" | "ppc64le" | "unknown")) -> shared + | _ -> "-march=native" :: shared + in