Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-08-2019, 10:04 AM   #1
Registered: Oct 2007
Location: Troutdale, Oregon
Distribution: Slackware
Posts: 317

Rep: Reputation: 23
14.2: AMD Ryzen7 CPU and gcc-5.x issues

My new desktop has an AMD Ryzen7 2700 CPU on an Asus Prime X470-Pro motherboard. Slackware-14.2, fully patched, is installed. I've had issues with applications not building or, in the case of jpilot (an essential business and personal tool for me), it builds but segfaults when trying to load.

According to these two threads the issue is with gcc-5.x and the new hardware:

The incompatibilities apparently were fixed in gcc-6.x. I see that -current has gcc-9.x. Is there a way for me to upgrade 14.2's gcc suite with the one from current? I need a production machine (this will be my new server/workstation) so I probably don't want to run all of -current on it.

All ideas, suggestions, and recommendations are needed.


Old 09-08-2019, 10:38 AM   #2
Senior Member
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,744

Rep: Reputation: Disabled
You could try llvm-8.0.1 in /extra, the clang it provides is much newer.
Old 09-08-2019, 10:44 AM   #3
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 510
Blog Entries: 3

Rep: Reputation: 138Reputation: 138
14.2: AMD Ryzen7 CPU and gcc-5.x issues

I suggest you mirror a current tree and stick with it for a while (usually, mirror it, wait a few days looking at this forum to see if there is something wrong and update if nothing is wrong.).

You also could consider installing on disk the Live Slackware provided by Alien Bob. It usually works fine. Then pick only security updates.
Old 09-10-2019, 01:48 AM   #4
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 86

Rep: Reputation: Disabled
How many RAM sticks are you running and at which speed? I had segfaults all the time running 4 of 4 slots at a too high speed (the internal memory controller of Ryzen 7200 is a bit of a sissy when it comes to that).

No voltage settings helped, I just got segfaults all the time, then I took out two, still same overclocked speeds, no segfaults, then I installed the other two, lowered the frequency of the RAM and it has been running perfectly stable ever sinceš.
I'm even undervolting the thing quite a bit now (šthe undervolt can cause hangups very rarely, but if you're not that agressive like I am with that, then you should have true stability. I just take it in stride when it happens, which, again, is incredibly rare. When it happens I temporarely increase the voltage, compile whatever big arse thing I am trying to compile, and then undervolt again).

The first link wasn't found for me when I clicked it those few minutes ago, just checked the second link and it's listing RAM clocks as not making a difference, it seems.
But it doesn't list the number of sticks, etc, so maybe this still helps?

Last edited by Geist; 09-10-2019 at 01:51 AM.


amd, gcc version, ryzen7

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get physical CPU count, cores per CPU, and CPU type on RHEL and CentOS rjo98 Linux - Server 7 01-08-2015 10:57 AM
AMD CPU Generating Way More System Load Than Intel Xeon CPU? kresyzig Programming 1 10-11-2010 09:35 AM
Cpu fan stuck to the cpu, how do I get the cpu out? abefroman Linux - Hardware 16 09-04-2009 12:47 AM
32bit(i386) or 64bit(amd64) on an amd 64bit cpu (amd 6000+)? d-_-b Debian 7 10-28-2007 07:48 PM
What AMD CPU is comparable to P4 intel cpu? ngjunkie0011 Linux - Hardware 8 08-29-2007 12:47 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration