Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597378 - >=x11-misc/virtualgl-2.5 LDFLAGS=-Wl,--as-needed is broken?
Summary: >=x11-misc/virtualgl-2.5 LDFLAGS=-Wl,--as-needed is broken?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-17 16:34 UTC by Daniel M. Weeks
Modified: 2017-04-08 09:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2016-10-17 16:34:36 UTC
It appears building with as-needed in the LDFLAGS breaks virtualgl:

https://github.com/VirtualGL/virtualgl/issues/16
https://bugs.archlinux.org/task/48403?project=5
https://git.archlinux.org/svntogit/community.git/log/trunk?h=packages/virtualgl

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-21 08:39:49 UTC
Or rather than overriding useful features, fix the build system instead.
Comment 2 Daniel M. Weeks 2016-10-24 03:48:17 UTC
(In reply to Jeroen Roovers from comment #1)
> Or rather than overriding useful features, fix the build system instead.

My understanding is this isn't an issue with the build system. The libraries that break with as-needed are shims that are meant to be preloaded to intercept calls and are incomplete by design.
Comment 3 Ettore Di Giacinto (RETIRED) gentoo-dev 2017-04-08 09:12:44 UTC
According to upstream github issue seems unlikely the situation will change. Thanks for reporting the issue.

commit 760dbd6845da13d76b6597ed4361ac6f021d9f8a
Author: Ettore Di Giacinto <mudler@gentoo.org>
Date:   Sat Apr 8 10:46:59 2017 +0200

    x11-misc/virtualgl: Version bump to 2.5.2, fixes bug #597378

    Workarounds upstream bug, which likely will not be fixed anytime soon

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=597378
    Package-Manager: Portage-2.3.3, Repoman-2.3.2