suaefar / ryzen-test

Tools to reproduce randomly crashing processes under load on AMD Ryzen processors on Linux
GNU General Public License v3.0
224 stars 59 forks source link

2010-03-15 Running on Ubuntu 18.04, Linux Mint 19 Tara, gcc sources 8.3.0 #31

Open stolsvik opened 5 years ago

stolsvik commented 5 years ago

Just leaving this here for anyone else: Referring to issue #29 where the actual compile fails instead of it segfaulting, due to this bug: https://stackoverflow.com/a/52513771/39334

Here's a diff to get going again, using gcc source 8.3.0:

# diff kill-ryzen-DIST.sh kill-ryzen.sh 
45c45
< wget ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-7.1.0/gcc-7.1.0.tar.bz2 || exit 1
---
> wget ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-8.3.0/gcc-8.3.0.tar.xz || exit 1
48c48
< tar xf gcc-7.1.0.tar.bz2 || exit 1
---
> tar xf gcc-8.3.0.tar.xz || exit 1
51c51
< (cd gcc-7.1.0/ && ./contrib/download_prerequisites)
---
> (cd gcc-8.3.0/ && ./contrib/download_prerequisites)
# diff buildloop-DIST.sh buildloop.sh 
18c18
<   ${CDIR}/gcc-7.1.0/configure --disable-multilib &> configure.log || error "configure"
---
>   ${CDIR}/gcc-8.3.0/configure --disable-multilib &> configure.log || error "configure"