Comments (5)
$ nix-locate -w libstdc++.so.6
# ...
(gcc45.out) 0 s /nix/store/6v26wdxwsb4zpdv6a2h51ap3xmqc8hxx-gcc-4.5.4/lib/libstdc++.so.6
(gcc6.out) 0 s /nix/store/g9vzssx7j2rabwgqwp7zfpx8kfl7jdmn-gcc-6.4.0-lib/lib/libstdc++.so.6
(gccgo.out) 0 s /nix/store/lq0nclmp3bmdk1zp193kwnnyz802mld6-gccgo6-6.4.0/lib/libstdc++.so.6
(gcc_debug.out) 0 s /nix/store/9bakzmnahi9vpx0snprnvq9gcxbycxga-gcc-debug-6.4.0-lib/lib/libstdc++.so.6
gcc-unwrapped.lib 0 s /nix/store/1fw5cgb5fi5aihs8hqqy0jbarbvkan1c-gcc-6.4.0-lib/lib/libstdc++.so.6
# ...
from nixpkgs-mozilla.
To reproduce in a fresh environment:
$ mkdir /tmp/gecko
$ cd /tmp/gecko
$ git clone --depth 1 https://github.com/mozilla/nixpkgs-mozilla.git
$ git clone --depth 1 https://github.com/mozilla/gecko-dev.git
$ cd gecko-dev
$ nix-shell ../nixpkgs-mozilla/release.nix -A gecko.x86_64-linux.gcc --run './mach build && ./mach run'
from nixpkgs-mozilla.
@garbas I tried adding gcc-unwrapped.lib
to buildInputs
in pkgs/gecko/default.nix
as well as in compiler-overlay.nix
, but unfortunately it didn't have any effect. I assume the libstdc++.so.6
library has to be available both at build and run time?
from nixpkgs-mozilla.
@caugner I made a bunch of changes to the Gecko expression today.
While I never saw this issue before, you might try the changes I made.
Running the same command out-side the nix-shell gives me the correct bindings.
$ ldd ~/mozilla/_build/firefox/bugzil.la/1104647/wip/x64/gcc/dbg/dist/bin/firefox
linux-vdso.so.1 (0x00007ffdf1d7e000)
libpthread.so.0 => /nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/libpthread.so.0 (0x00007f5e965d9000)
libdl.so.2 => /nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/libdl.so.2 (0x00007f5e963d5000)
libstdc++.so.6 => /nix/store/vzbrk9ic04h3243rk8ymckb611pkjkkd-gcc-5.4.0-lib/lib/libstdc++.so.6 (0x00007f5e9605d000)
libm.so.6 => /nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/libm.so.6 (0x00007f5e95d4b000)
libgcc_s.so.1 => /nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/libgcc_s.so.1 (0x00007f5e95b35000)
libc.so.6 => /nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/libc.so.6 (0x00007f5e95798000)
/nix/store/s7dw1yngwiskqa2ac1bkc6m9g7740agg-glibc-2.25/lib/ld-linux-x86-64.so.2 (0x00007f5e967f7000)
Firefox even starts properly when running the binary by hand.
I will try the minimal command, and see if I can reproduce the issue. Still, I doubt you are getting the expected result, as the non-pure environment is likely taking the clang installation you have on your system.
from nixpkgs-mozilla.
@caugner Can you try https://github.com/nbp/nixpkgs-mozilla , which is currently waiting for approval in PR #76 ?
The documentation added in the README is working for me.
from nixpkgs-mozilla.
Related Issues (20)
- Derivations created using this repository are not reproducible HOT 2
- Firefox-nightly 96.0a1 fail to start on NixOS 21.05 HOT 7
- Should git-cinnabar be included into firefox development overlay? HOT 2
- Undefined variable 'phlay' HOT 1
- Firefox fails to compile because -fPIC is passed to `as` HOT 1
- firefox-nightly fails to use vaapi with mesa's radeon driver on NixOS HOT 1
- example in README.md doesn't work with rust-toolchain.toml file HOT 1
- `couldn't find remote ref refs/heads/master` when building `/nix/store/<hash>-channel-rust-1.55.0.toml.drv` HOT 2
- Suddenly can't rebuild anymore because "wrapper called with unexpected argument 'browserName'" HOT 2
- firefox-overlay, impurity, and a missing link in GPG verification? HOT 3
- How to get aarch64 Firefox Nightly builds?
- Install different versions of Firefox side by side. HOT 2
- rustChannelOf doesn't error on argument name typos
- rr fails to build when using this overlay with newer nixpkgs HOT 5
- Building `rustChannelOf({...}).rust-src` from `rust-overlay.nix` errors. HOT 6
- What to do about stdarch, being submodule, not being in source tarball? HOT 1
- Firefox started to crash in some situations HOT 1
- Deprecation warning: "rustPlatform.rust.cargo is deprecated. Use cargo instead." May be easy fix, but... HOT 2
- archive.mozilla.org is returning a bad SSL cert
- Firefox Nightly is segfaulting (SIGSEGV) after most recent update; installing firefox-beta fixes it HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixpkgs-mozilla.