FreeBSD Bugzilla – Attachment 195726 Details for
Bug 214864
[exp-run] test build with lld as /usr/bin/ld
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add -Wl,-z,notext to the top failing i386 lld ports
pr214864-znotext-i386.diff (text/plain), 2.47 KB, created by
Ed Maste
on 2018-08-01 18:56:41 UTC
(
hide
)
Description:
add -Wl,-z,notext to the top failing i386 lld ports
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2018-08-01 18:56:41 UTC
Size:
2.47 KB
patch
obsolete
>diff --git a/lang/php56/Makefile b/lang/php56/Makefile >index 41766f280e1e..45a14471ac25 100644 >--- a/lang/php56/Makefile >+++ b/lang/php56/Makefile >@@ -161,6 +161,11 @@ PLIST_SUB+= DTRACE="@comment " > CONFIGURE_ARGS+=--disable-ipv6 > .endif > >+.if ${ARCH}=="i386" >+# PR230207 Allow relocations against read-only segments (override lld default) >+LDFLAGS+=-Wl,-z,notext >+.endif >+ > post-patch: > @${TOUCH} ${WRKSRC}/ext/php_config.h > @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* >diff --git a/lang/php70/Makefile b/lang/php70/Makefile >index 5f6075a19f99..31f7c93120d1 100644 >--- a/lang/php70/Makefile >+++ b/lang/php70/Makefile >@@ -148,6 +148,11 @@ PLIST_SUB+= DTRACE="@comment " > CONFIGURE_ARGS+=--disable-ipv6 > .endif > >+.if ${ARCH}=="i386" >+# PR230207 Allow relocations against read-only segments (override lld default) >+LDFLAGS+=-Wl,-z,notext >+.endif >+ > post-patch: > @${TOUCH} ${WRKSRC}/ext/php_config.h > @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* >diff --git a/lang/php71/Makefile b/lang/php71/Makefile >index cf768583451d..95e678a3bb4b 100644 >--- a/lang/php71/Makefile >+++ b/lang/php71/Makefile >@@ -149,6 +149,11 @@ PLIST_SUB+= DTRACE="@comment " > CONFIGURE_ARGS+=--disable-ipv6 > .endif > >+.if ${ARCH}=="i386" >+# PR230207 Allow relocations against read-only segments (override lld default) >+LDFLAGS+=-Wl,-z,notext >+.endif >+ > post-patch: > @${TOUCH} ${WRKSRC}/ext/php_config.h > @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* >diff --git a/lang/php72/Makefile b/lang/php72/Makefile >index 4e38552cee1c..df305e72b343 100644 >--- a/lang/php72/Makefile >+++ b/lang/php72/Makefile >@@ -142,6 +142,11 @@ PLIST_SUB+= DTRACE="@comment " > CONFIGURE_ARGS+=--disable-ipv6 > .endif > >+.if ${ARCH}=="i386" >+# PR230207 Allow relocations against read-only segments (override lld default) >+LDFLAGS+=-Wl,-z,notext >+.endif >+ > post-patch: > @${TOUCH} ${WRKSRC}/ext/php_config.h > @${REINPLACE_CMD} "s|^\(extension_dir\)|; \1|" ${WRKSRC}/php.ini-* >diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile >index 1b5a5506d36e..328e24559a57 100644 >--- a/multimedia/xvid/Makefile >+++ b/multimedia/xvid/Makefile >@@ -39,6 +39,10 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} > .if ${ARCH} == "amd64" || ${ARCH} == "i386" > BUILD_DEPENDS+= nasm:devel/nasm > .endif >+.if ${ARCH}=="i386" >+# PR230208 Allow relocations against read-only segments (override lld default) >+LDFLAGS+=-Wl,-z,notext >+.endif > > .if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} > # let xvid's build system override CFLAGS
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 214864
:
177426
|
181427
|
185533
|
185682
|
185684
|
185976
|
186042
|
186060
|
193869
|
195636
| 195726 |
197173
|
199581
|
200892