FreeBSD Bugzilla – Attachment 178693 Details for
Bug 215107
head -r309656 clang 3.9.0 for TARGET_ARCH=powerpc: -mminimal-toc rejected (missing llvm 19098 fix?)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Corrected patch to track compiler type
file_215107.txt (text/plain), 579 bytes, created by
Mark Millard
on 2017-01-10 09:23:43 UTC
(
hide
)
Description:
Corrected patch to track compiler type
Filename:
MIME Type:
Creator:
Mark Millard
Created:
2017-01-10 09:23:43 UTC
Size:
579 bytes
patch
obsolete
>Index: /usr/src/sys/modules/zfs/Makefile >=================================================================== >--- /usr/src/sys/modules/zfs/Makefile (revision 311147) >+++ /usr/src/sys/modules/zfs/Makefile (working copy) >@@ -94,8 +94,14 @@ > CFLAGS+=-DBUILDING_ZFS > > .if ${MACHINE_ARCH} == "powerpc64" >+.include <bsd.compiler.mk> >+.if ${COMPILER_TYPE} == "gcc" >+# gcc421 requires the -mminimal-toc . >+# But clang 3.9.1 disallows it and does not need it. >+# more modern gcc's allow it. > CFLAGS+=-mminimal-toc > .endif >+.endif > > .ifdef ZFS_DEBUG > CFLAGS+=-DDEBUG=1
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 Raw
Actions:
View
Attachments on
bug 215107
:
177813
| 178693
Working