Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with LDFLAGS=-Wl,--as-needed #161

Closed
user318 opened this issue Mar 15, 2011 · 1 comment
Closed

Build fails with LDFLAGS=-Wl,--as-needed #161

user318 opened this issue Mar 15, 2011 · 1 comment

Comments

@user318
Copy link

user318 commented Mar 15, 2011

Building of zfs-0.6.0-rc2 (and current master) fails when using option LDFLAGS=-Wl,--as-needed.
Error, I receive: http://pastebin.com/DpGQ9Z5p

@behlendorf
Copy link
Contributor

Fix 'LDFLAGS=-Wl,--as-needed' build error

Compiling with 'LDFLAGS=-Wl,--as-needed' exposed the fact that
there were some library linking problems introduced by mount_zfs.
In particular, the libzfs library does use nvpair symbols, and
mount_zfs contains no dependencies on libzpool.

Closed by 716895b
Closed by 716895b

@bud4 bud4 mentioned this issue Sep 20, 2018
prateekpandey14 pushed a commit to prateekpandey14/zfs that referenced this issue Mar 13, 2019
sdimitro pushed a commit to sdimitro/zfs that referenced this issue Feb 14, 2022
arter97 pushed a commit to arter97/zfs that referenced this issue Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants