I tried a fresh stage 3 in a chroot w/o any optimization at all, gcc-5.4.0, and stable most everything else and I was still seeing them.Keepco wrote:Can't seem to reproduce the gnutls failure, just tried recompiling it 15 times, worked every time. Guess my problems is elsewhere.c1pherx wrote:Yea. I spoke too soon. I've reduced the frequency of it happening, but it is still happening. On to the next ideas.
One pattern I'm noticing is that now it seems to be happening with builds that use libtool. This may just be a correlation, but my most recent failures were gnutls (first time that's happened) and libseccomp (first time here too). Both use Libtool.
EDIT: Just re-emerged GCC without -march=native it seems like that did the job.
this is just great, i don't even have windows at home. How am i supposed to reproduce this in windows?groeck wrote:I wonder if anyone is able to reproduce the problems under Windows. So far all feedback I have received from board vendors is "we don't support Linux", with an optional "we'll be happy to help you if you can reproduce the problem with Windows".
I see the problem with literally dozens of different gcc versions, including "Ubuntu 5.4.0-6ubuntu1~16.04.4", which is the latest version available for the 16.04 release. I don't think the gcc version or the Linux distribution makes any difference.Naib wrote:The recent wave of bios updates improve RAM timing and fix a OPcode error (that does cause windows to bsod ).
If you are saying a recent (ie last couple of days) bios update has improved stability i would not be surprised. As Gentoo is a src distribution we are more likely to be hit by these things via gcc
Gcc does not have explicit Zen support until gcc 6. I'm running gcc 6.3.0 on an Athlon II box that I had planned to convert to ryzen until this segfault business surfaced. It's a deal breaker for me. Perhaps gcc 6.4 will fix it. But first they have to figure out why.groeck wrote:I don't think the gcc version or the Linux distribution makes any difference.
Please note that currently -march=znver1 is not tuned at all.Tony0945 wrote:Gcc does not have explicit Zen support until gcc 6. I'm running gcc 6.3.0 on an Athlon II box that I had planned to convert to ryzen until this segfault business surfaced. It's a deal breaker for me. Perhaps gcc 6.4 will fix it. But first they have to figure out why.groeck wrote:I don't think the gcc version or the Linux distribution makes any difference.
I see the problem when cross compiling. Also, even if there is no explicit zen support, gcc should not crash.Tony0945 wrote:Gcc does not have explicit Zen support until gcc 6. I'm running gcc 6.3.0 on an Athlon II box that I had planned to convert to ryzen until this segfault business surfaced. It's a deal breaker for me. Perhaps gcc 6.4 will fix it. But first they have to figure out why.groeck wrote:I don't think the gcc version or the Linux distribution makes any difference.
Code: Select all
CFLAGS="-O2 -march=haswell"that was my edit based upon the Gentoo chat ryzen thread https://forums.gentoo.org/viewtopic-p-8 ... ml#8056840drizzt wrote:Thank you for your help.
In the meantime I found this page: https://wiki.gentoo.org/wiki/User:Maffb ... afts/Ryzen.
They suggestI'll do two things now:Code: Select all
CFLAGS="-O2 -march=haswell"
1) I'll try the "haswell" approach on the R5
2) I'll try gcc-6.3.0 on the R7.
I'll report back as soon as I have results.
what march are you using gcc-6.3 has zen core but it is poorly optimised. Prior to gcc6.3 hasswell march appears the best.groeck wrote:I see the problem with literally dozens of different gcc versions, including "Ubuntu 5.4.0-6ubuntu1~16.04.4", which is the latest version available for the 16.04 release. I don't think the gcc version or the Linux distribution makes any difference.Naib wrote:The recent wave of bios updates improve RAM timing and fix a OPcode error (that does cause windows to bsod ).
If you are saying a recent (ie last couple of days) bios update has improved stability i would not be surprised. As Gentoo is a src distribution we are more likely to be hit by these things via gcc