LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

Rep: Reputation: 28
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:

https://www.reddit.com/r/Amd/comment...ausing_random/

https://community.amd.com/thread/215773

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.

Regards,

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

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
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
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).

Edit:
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.
 
  


Reply

Tags
amd, gcc version, ryzen7



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 anon091 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:55 PM.

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