Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
17.0 Profile
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 39270
Location: 56N 3W

PostPosted: Sat Dec 02, 2017 9:48 am    Post subject: Reply with quote

pcmaster,

Google translate says the
Quote:
kernel code model does not support PIC mode

What CPU do you have selected in the kernel.

The kernel supports several "code models" - they vary by arch. You shouldn't need to set it manually, its normally chosen by other settings.

Pastebin your kernel .config file.

-- edit --

See this post
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Oruriz
n00b
n00b


Joined: 18 Sep 2017
Posts: 4

PostPosted: Mon Dec 04, 2017 9:53 pm    Post subject: Reply with quote

One question:
Now my profile: hardened/linux/amd64
gcc-config -l:
[1] x86_64-pc-linux-gnu-5.4.0
[2] x86_64-pc-linux-gnu-5.4.0-hardenednopie
[3] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp
[4] x86_64-pc-linux-gnu-5.4.0-hardenednossp
[5] x86_64-pc-linux-gnu-5.4.0-vanilla
[6] x86_64-pc-linux-gnu-6.4.0 *

gcc-6.4.0 USE="cxx fortran graphite hardened multilib nls nptl objc objc++ objc-gc openmp pgo pie ssp vtv"
CFLAGS="-O2 -pipe -march=sandybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=sandybridge -fstack-protector-strong"
USE="...-selinux -pax_kernel"

Shall I rebuild world after swithing to "default/linux/amd64/17.0/hardened" profile ?
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2122
Location: Barcelona

PostPosted: Wed Dec 06, 2017 11:03 am    Post subject: Reply with quote

NeddySeagoon wrote:
pcmaster,

Google translate says the
Quote:
kernel code model does not support PIC mode

What CPU do you have selected in the kernel.

The kernel supports several "code models" - they vary by arch. You shouldn't need to set it manually, its normally chosen by other settings.

Pastebin your kernel .config file.

-- edit --

See this post


Thanks. Finaly I found that the workaround suggested by Martin DiViaio in this bug worked for me:

https://bugs.gentoo.org/621848#c4

In my case it worked with KV_SUB="12", that is the kernel version I have installed.
_________________
pcmaster
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum