Coder Social home page Coder Social logo

Comments (5)

Cimbali avatar Cimbali commented on July 23, 2024 18

FYI the problem is just that struct ucontext doesn't exist anymore in glibc 2.26.

As a workaround to compile gcc code with glibc 2.26+ you can change struct ucontext to ucontext_t in the gcc source.

from ryzen-test.

BuzzBumbleBee avatar BuzzBumbleBee commented on July 23, 2024

@ChristophHaag see my PR, seems to work fine on arch (as of yesterday) for me

from ryzen-test.

suaefar avatar suaefar commented on July 23, 2024

Sorry, but I had to remove the support for Arch. I suppose Arch users know what to do to get the script running, or how to reproduce the buggy behaviour for that matter. The problem with Arch is, that I can't rely on a standard version of, e.g., gcc. The reference implementation will be based on Ubuntu.

from ryzen-test.

ttbek avatar ttbek commented on July 23, 2024

I updated my Arch yesterday and got this error running the script this morning, if it is fixed upstream it may not have filtered down into Arch yet. Before my update it was building on Arch quite happily. I get that you only want to support a single OS, but it will be good for people to know they may encounter this issue, I will update the AMD forum thread. I'm not quite clear on the referenced link, they updated gcc or glib? Looks like gcc to me, so they decided glib is behaving correctly. I did switch to gcc-multilib (needed to make some 32 bit static binaries) though, maybe the change didn't reach the multilib version yet.
I wouldn't assume Arch users are necessarily that much more advanced.... I'm actually running Arch because when I was installing my OS Ubuntu had significant problems running on the Gigabyte X370 K7 board.... and turns out Gigabyte doesn't give a hoot.

from ryzen-test.

Oxalin avatar Oxalin commented on July 23, 2024

Not related to rolling release distributions. Problem comes with glib 2.26 under gcc 7.1.0 known bug and fixed, but not backported), which is fixed under gcc 7.2: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712

Updating the script to download gcc 7.2.0 (.tar.xz please) should fix the problem.

from ryzen-test.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.