Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 435394 Details for
Bug 584014
sys-kernel/gentoo-sources-4.6.0: building w/gcc-6[pie]: kernel/bounds.c:1:0: error: code model kernel does not support PIC mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add only -fno-PIE
kernel-gcc6-fno-pie.patch (text/plain), 665 bytes, created by
Magnus Granberg
on 2016-05-25 22:30:16 UTC
(
hide
)
Description:
add only -fno-PIE
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2016-05-25 22:30:16 UTC
Size:
665 bytes
patch
obsolete
>2016-05-25 Magnus Granberg <zorry@gentoo.org> > > #584014 sys-kernel/gentoo-sources-4.6.0: building w/gcc-6[pie]: > kernel/bounds.c:1:0: error: code model kernel does not support PIC mode > > * Makefile: Add -fno-PIE > >--- a/Makefile 2016-05-24 00:42:31.208000000 +0200 >+++ b/Makefile 2016-05-24 00:24:23.023000000 +0200 >@@ -674,6 +674,11 @@ endif > endif > KBUILD_CFLAGS += $(stackp-flag) > >+# On gcc 6.1 with --enable-default-pie set we need to pass >+# -fno-pie -no-pie >+KBUILD_AFLAGS += $(call as-option, -fno-PIE) >+KBUILD_CFLAGS += $(call cc-option, -fno-PIE) >+ > ifdef CONFIG_KCOV > ifeq ($(call cc-option, $(CFLAGS_KCOV)),) > $(warning Cannot use CONFIG_KCOV: \
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 584014
:
435292
|
435394
|
449158
|
450174
|
453568
|
454150