On my two Gentoo AM4/Ryzen installs I was having serious problems for days- FWIW: details are at: (
https://forums.gentoo.org/viewtopic-t-1064308.html ).
Anyway, after openssl-1.1.0f was masked, and openssl-1.0.2k was replaced with openssl-1.0.2l , I was able to resolve my issues. It definitely was an interesting ordeal.
(Many thanks to Lars Wendler (Polynomial-C)
https://gitweb.gentoo.org/repo/gentoo.g ... c1d0890ec1 )
Now I finally have two Gentoo nice full Kde,Xfce4, and Lxde ~amd64 Ryzen desktops both compiled with gcc-7.1.0-r1 on kernel-4.12.0-rc2, and currently with:
Code: Select all
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mno-fma4 -mno-tbm -mno-xop -mno-lwp"
MAKEOPTS="-j9"
ACCEPT_KEYWORDS="amd64 ~amd64"
CPU_FLAGS_X86="mmx sse sse2 sse3 sse4a sse4_1 sse4_2 ssse3 mmxext aes avx avx2"
INPUT_DEVICES="evdev"
VIDEO_CARDS="amdgpu fbdev"
ALSA_CARDS="snd_hda_intel"
RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24"
PYTHON_TARGETS="python2_7 python3_4"
Both initial installs were done with CFLAGS="-march=k8 -mtune=generic -O2 -pipe", and then at first I was on gcc-5.4 and tried -march=bdver4 with the -mno-fma4 -mno-tbm -mno-xop -mno-lwp flags.
Had some success, got a reasonable desktop, but then had the openssl mess take me over, and for a while defeat me soundly. Finally at the same time the openssl fix occurred I decided to go with gcc-7 -march=native, and I'm not sorry. I did have to patch qtwebengine-5.7.1-r1 with 2 patches placed in /etc/patches/dev-qt/, which worked well. (Many thanks to Mark Wright on
https://bugs.gentoo.org/show_bug.cgi?id=617896 )
The kdemultimedia dep libmp4v2-2.0.0 needs a gcc-7 patch also, but other than those 2 problems gcc-7 is doing nicely. Might be a few more random packages needing a patch with gcc-7 on some systems
EDIT: Forgot to mention- While I can run my ram trouble-free at 3200mhz when using other distros on this box, I did have to drop down to 2400 when doing these long installs and rebuilds/updating, or it would lock up after a few hours. At 2400, it hasn't happened again.. At only 65 watts on the R7 1700 cpu, I'm wondering if it isn't actually the ram overheating a little bit at 3200.
The G.Skill Flare ram is: Timing 14-14-14-34 Cas Latency 14 Voltage 1.35V by default