Code Monkey home page Code Monkey logo

Comments (4)

socketpair avatar socketpair commented on August 19, 2024

Just for history:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68902

from libnl.

lkundrak avatar lkundrak commented on August 19, 2024

Thanks for the report, but there's not much we can do about it. We can't add a -Wl,--no-as-needed to our pkg-config file since we could disable --as-needed for legitimate use cases and we can't bound it with --push-state and --pop-state, since they don't work with gold.

Ideally, your distribution should fix their toolchain and don't silently drop libraries.

Other possible workarounds are adding --no-as-needed to your Makefile or using some symbol from the libnm-nf-3 library so that the DT_NEEDED won't get evicted.

from libnl.

thom311 avatar thom311 commented on August 19, 2024

I agree with Lubomir.

Doesn't seem right to do upstream because we don't know which options a potential user wants. Please add the linker option to your own Makefile where you link with libnl.

from libnl.

socketpair avatar socketpair commented on August 19, 2024

Reported bug against linker: https://sourceware.org/bugzilla/show_bug.cgi?id=19372

from libnl.

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.