GithubHelp home page GithubHelp logo

Build failure with gold linker about efivar HOT 3 CLOSED

rhboot avatar rhboot commented on May 27, 2024
Build failure with gold linker

from efivar.

Comments (3)

floppym avatar floppym commented on May 27, 2024

After fixing the -PIE issue, I now get this when linking libefiboot.so.

gcc -O2 -g3 -I/home/floppym/src/efivar/src/include/efivar/  -specs=/home/floppym/src/efivar/gcc.specs  -L.  -fuse-ld=gold     -shared \
  -Wl,-soname,libefiboot.so.27 \
  -Wl,--version-script=libefiboot.map \
  -o libefiboot.so crc32.o creator.o disk.o gpt.o linux.o loadopt.o -lefivar 
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: --add-needed is not supported but is required for libdl.so.2 in ./libefivar.so
collect2: error: ld returned 1 exit status
make: *** [/home/floppym/src/efivar/Make.rules:20: libefiboot.so] Error 1
make: Leaving directory '/home/floppym/src/efivar/src'

from efivar.

vathpela avatar vathpela commented on May 27, 2024

(sorry, didn't mean to close this when I pushed half the changes.)

from efivar.

Alessandro-Barbieri avatar Alessandro-Barbieri commented on May 27, 2024

Still have this with efivar 31 (on gentoo)

from efivar.

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.