1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/applications/networking
S. Nordin Abouzahra 40b4eb1c52 firefox: simplify NIX_LDFLAGS usage
This was required to solve the XPCOMGlueLoad error when building with
LTO. However, it turns out libxul.so is supposed to have some libraries
that are reported as not found by ldd. Setting the RPATH worked around
the error as it forced dependency resolution but failed to fix the real
issue of broken generation of dependentlibs.list.

The libraries that are reported as not found by ldd are supposed to be
dlopened through the logic found in nsXPCOMGlue.cpp. However since the
generation of dependentlibs.list is broken under LTO this did not
happen. Instead of pulling libwayland-client.so from the GTK libraries
it found the stub library first (libmozwayland.so). The stub library
causes (as it should) wl_display_connect to always return NULL which is
the cause of the segmentation fault and LTO breaking wayland support.

Remove the hardcoded path used for the XPCOMGlueLoad error workaround
in NIX_LDFLAGS. libunwind is still unfortunately needed. Once the issue
of the generation of dependentlibs.list being borked is fixed it should
remedy the wayland crash issue on LTO.
2021-01-13 08:06:47 -05:00
..
3proxy _3proxy: 0.8.13 -> 0.9.3 2021-01-11 19:14:28 +01:00
apache-directory-studio treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
appgate-sdp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
brig treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
browsers firefox: simplify NIX_LDFLAGS usage 2021-01-13 08:06:47 -05:00
c14 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
calls treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cawbird treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
charles treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cloudflared treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
cluster Merge pull request #109264 from 06kellyjac/terragrunt 2021-01-13 14:05:14 +01:00
compactor treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
datovka treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
davmail treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dnscontrol
drive
droopy
dropbox
dsvpn treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
dyndns treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
enhanced-ctorrent
errbot
esniper treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
feedreaders treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
firehol treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
flent treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
flexget flexget: 3.1.95 -> 3.1.98 2021-01-08 04:20:00 +00:00
ftp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gdrive treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gmailctl treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gnome-network-displays treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
gns3 treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
google-drive-ocamlfuse
gopher treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
hpmyroom
hydroxide
icemon
ids treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ike treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
instant-messengers gomuks: 0.2.1 -> 0.2.2 2021-01-13 10:52:50 +01:00
insync
ipfs treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ipfs-cluster treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ipfs-migrator
ipget treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
iptraf
iptraf-ng treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
irc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jmeter treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
jnetmap treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
libcoap treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
lieer lieer: Disable tests 2021-01-11 12:11:36 +01:00
linssid treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
maestral-qt
mailreaders Merge pull request #100642 from oxzi/astroid-plugin-fix 2021-01-13 08:49:29 +01:00
mkchromecast treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
modem-manager-gui treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mpop
msmtp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mullvad-vpn treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
mumble
n8n
ncgopher
ndppd treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
netperf netperf: fix Darwin build 2020-12-30 17:13:12 -08:00
newsreaders treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
nextcloud-client
nextdns
nload
nntp-proxy
nym
offrss treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
omping treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
onionshare
openbazaar treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ostinato
owamp treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
owncloud-client treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
p2p treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pcloud treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
ping treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pjsip treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
protocol treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
protonmail-bridge
protonvpn-cli
protonvpn-gui
ps2client treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
pyload treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
qv2ray treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
remote treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
resilio-sync treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
scaleft treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
seafile-client seafile-shared,seafile-client: 7.0.9 -> 8.0.1 2021-01-04 16:23:43 +01:00
seaweedfs
shellhub-agent treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sieve-connect treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
siproxd
sniffers treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
sniproxy treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
soapui treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
soulseek/nicotine-plus
spideroak
ssb-patchwork
station
super-productivity treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
Sylk Sylk: 2.9.3 -> 2.9.4 2021-01-05 17:05:21 +00:00
sync treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
syncplay
syncthing syncthing: 1.12.0 -> 1.12.1 2021-01-06 18:57:12 -05:00
syncthing-gtk treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
tcpkali
termius treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
testssl treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
trebleshot
tsung treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
twtxt
umurmur treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
utahfs
versus treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
vnstat treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
wayback_machine_downloader
weather/meteo treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
websocketd
wg-bond
znc treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00