FreeBSD Bugzilla – Attachment 248186 Details for
Bug 276249
lang/python311: Fix armv7 build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
no lto on armv7 and llvm17+
0001-lang-python311-Fix-build-on-armv7.patch (text/plain), 1.06 KB, created by
Benjamin Jacobs
on 2024-02-04 18:31:03 UTC
(
hide
)
Description:
no lto on armv7 and llvm17+
Filename:
MIME Type:
Creator:
Benjamin Jacobs
Created:
2024-02-04 18:31:03 UTC
Size:
1.06 KB
patch
obsolete
>From 40aef4e529d0b4052c65afdf1b24cdd32e207062 Mon Sep 17 00:00:00 2001 >From: Benjamin Jacobs <freebsd@dev.thsi.be> >Date: Sun, 4 Feb 2024 18:13:23 +0000 >Subject: [PATCH] lang/python311: Fix build on armv7 > >--- > lang/python311/Makefile | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/lang/python311/Makefile b/lang/python311/Makefile >index 9b8d5e69df96..e818557fa852 100644 >--- a/lang/python311/Makefile >+++ b/lang/python311/Makefile >@@ -109,6 +109,15 @@ EXTRA_PATCHES+= ${PATCHDIR}/libressl > CONFIGURE_ENV+= ac_cv_working_openssl_hashlib=yes > .endif > >+.include <bsd.port.pre.mk> >+ >+# llvm17 with -flto=thin makes Programs/_freeze_module crash on armv7; workaround >+# cf. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276249 >+.if ${ARCH} == armv7 && ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 170 && \ >+ ${COMPILER_VERSION} < 180 >+CONFIGURE_ARGS:= ${CONFIGURE_ARGS:N${LTO_CONFIGURE_ON}} >+.endif >+ > post-patch: > # disable the detection of includes and library from e2fsprogs-libuuid, > # which introduces hidden dependency and breaks build >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276249
:
247581
|
248091
|
248117
|
248118
|
248130
|
248139
|
248141
|
248142
| 248186