View previous topic :: View next topic |
Author |
Message |
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Sat Dec 02, 2017 9:48 am Post subject: |
|
|
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 |
|
|
Oruriz n00b
Joined: 18 Sep 2017 Posts: 4
|
Posted: Mon Dec 04, 2017 9:53 pm Post subject: |
|
|
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 |
|
|
pcmaster Advocate
Joined: 04 Dec 2003 Posts: 2222 Location: Barcelona
|
Posted: Wed Dec 06, 2017 11:03 am Post subject: |
|
|
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 |
|
|
A.S. Pushkin Guru
Joined: 09 Nov 2002 Posts: 418 Location: dx/dt, dy/dt, dz/dt, t
|
Posted: Wed Jan 24, 2018 7:48 pm Post subject: What to do after upgrade? |
|
|
Apologies for posing this question, but I was able to upgrade gcc and to profile 17.0. The question not clear is whether I should then remove all older versions of GCC.
I am running 6.4.0-r1, but have tow older versions both masked. I've never been quite sure about uninstalling older versions.
TIA _________________ ASPushkin
"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54243 Location: 56N 3W
|
Posted: Wed Jan 24, 2018 8:11 pm Post subject: |
|
|
A.S. Pushkin,
The only reason for keeping old masked gcc versions once you have moved to the /17.0/ profile is that its then only way to build something you need.
Its harmless to keep them on your system but you should only use them when there is no other option. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
himpierre l33t
Joined: 31 Aug 2002 Posts: 867 Location: Berlin
|
Posted: Thu Jan 25, 2018 1:48 pm Post subject: |
|
|
Hello.
Is it still planned to dump the 13.0 profile may 2018? Do you guys have any suggestions for the people who are not able to switch to 17.0 till then? Should we save the 13.0 profile
directory or will there be a 13.0 overlay somewhere?
thanks and cheers |
|
Back to top |
|
|
|