Giter Club home page Giter Club logo

Comments (3)

StefanSalewski avatar StefanSalewski commented on June 12, 2024

Well, that report was for my notebook, a 64-bit x86 AMD box. I spent nearly a whole day trying to fix it. Latest libtool, latest binutils, and some more, and a lot of Google searches. No progress. And no idea about the cause of the issue. Now, I am testing on my desktop box, recompiling gcc 13.1. That box is very similar to the notebook, and compiling seems to work but is not yet finished. So this issue is really strange. Well, the desktop has 64 GB, and the notebook has only 16 GB RAM. Can out-of-memory produce such an error message? I really do not think so. And I have watched RAM while compiling with the top command and even tried with -j2.

So I have to compare the two boxes very carefully, CFlags, installed packages, and versions, make.conf.

from gentoolto.

StefanSalewski avatar StefanSalewski commented on June 12, 2024

And now, suddenly, it seems to work again? Currently, I am compiling with gcc 13.1 without LTO a gcc 12.3.0 with LTO and PGO enabled, and it does not terminate early, as before. So I assume it works now.

I had emerged latest versions of

sys-devel/binutils
sys-libs/glibc
dev-util/cmake
sys-libs/binutils-libs
dev-libs/mpfr

yesterday, but without a reboot. Maybe reboot made it work?

Well, I am currently emerging directly in the main terminal, without Gnome Shell running. But I do not believe that this makes really a difference, as I have noticed no memory shortcomings.

from gentoolto.

StefanSalewski avatar StefanSalewski commented on June 12, 2024

Well, it works now, even with mold linker. I am not sure if perhaps I forgot to reemerge libtool after emerging a new gcc? But I think I initially emerged only new patch levels of gcc 12.1, so reemerging libtool should not be necessary?

As I have no real idea for the cause of this problem. I will close this issue.

from gentoolto.

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.