| Commit message (Collapse) | Author | Age |
|
|
|
| |
(cherry picked from commit 51e55942cc43917cd57adf94e78b5574ff8400b9)
|
|
|
|
| |
(cherry picked from commit 37677080bec5cd26668c9e5f36f0e5787c1aebe3)
|
|
|
|
|
|
| |
disable RTTI in a more idiomatic way
(cherry picked from commit 35f62abdf86b408daaa6512afea7ae51c13ac298)
|
|
|
|
| |
(cherry picked from commit 7a30df9225e3c47080744535ccbb0a1202b36a3a)
|
|
|
|
|
|
|
|
|
|
| |
https://lists.llvm.org/pipermail/release-testers/2020-October/001377.html
https://lists.llvm.org/pipermail/llvm-announce/2020-October/000089.html
Fixes:
- builds on Darwin
- builds `libcxx` on Linux
(cherry picked from commit cffb7cfbf755e5166a3a41594978e838942ef17f)
|
|
|
|
|
|
|
|
|
| |
compiler-rt (and as a result clang) can't be build for i686 (as noticed here: #99984).
The patch adds the required variables and should result in the same behavior as in the nixpkgs-llvm10. It essentially forces to use i386 buildins when using i486, i586 or i686, which are not supported.
Fixes #100392
(cherry picked from commit 6948875e73a855b8a0c665301576dcd9653b9e15)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In some cases, such as when building cross compilers, the binaries and
manpages contain the target architecture tuple, such as
`i686-w64-mingw32-g++.1`.
Ensure the symlink created to save space with the duplicated manpage
(`g++.1 -> gcc.1`) properly handles such cases and generates symlinks
such as `i686-w64-mingw32-g++.1 -> i686-w64-mingw32-gcc.1`.
Previously in such cases, a broken `gcc.1` link would be created
instead.
(cherry picked from commit eed46887ca8b4b4f0fe473e32e042c0ee3a6eee5)
|
|
|
|
| |
(cherry picked from commit f0fdecfbb45c74bfb6f46017563e7ec941b604e9)
|
|
|
|
|
|
|
|
|
| |
A port of #85925 for LLVM 11 to enable CFI for Chromium.
This is required for features such as `-fsanitize=cfi` that (by default)
load the file `…/resource-root/share/cfi_blacklist.txt`.
(cherry picked from commit 03dd1b355b6c7379500becdf170850a5a1dfea5a)
|
|
|
|
| |
> ERROR: --with-clang-path is not valid when the target compiler is clang
|
|
|
|
|
|
|
|
|
|
| |
As discussed in #101429 firefox 82 started crashing when used with
wayland. A brief investigation showed that this appears to be rooted
within the LTO support that was recently added to the package. For the
time being, until someone figures out where the crashes are coming from,
we can just disable LTO.
(cherry picked from commit bca15c82d89f37f5cb6cacd9b632edff6979e131)
|
|
|
|
|
|
| |
I wouldn't use llvmPackages_latest in Nixpkgs, but it's probably
useful to try out the latest version personally, and otherwise I'd
probably forget and leave it stuck on an old version.
|
|
|
|
| |
(cherry picked from commit 6057ea490f185e24ca7b3db564c7a6e8c0a67300)
|
|
|
|
| |
(cherry picked from commit ae2f5cccbb726ad864586b662b5656f73393a3a3)
|
|
|
|
| |
(cherry picked from commit 560cc80818be1897ac533b5a3babcd071499e226)
|
|
|
|
| |
(cherry picked from commit 05b955a133dfdc639dcd163376a1e8562ec49236)
|
|
|
|
|
|
| |
LTO in general is broken on Darwin (see #19312).
(cherry picked from commit aecd9ab1e474d99fc32eb7298fe02ebd2e03f99d)
|
|
|
|
| |
(cherry picked from commit 214c8335897bd42c0cd9289b42db2c3f685eb112)
|
|
|
|
| |
(cherry picked from commit 4f12bddea6b6e5b38ccd54c66d0be53e7a1df465)
|
|
|
|
|
|
|
|
|
| |
This ensures that we aren't applying any of the experiemental pipewire
patches when the dependencies aren't enabled. As of now pipewire only
works with wayland and webrtc. If either of them are not activated we
can't build with pipewireSupport and we should not.
(cherry picked from commit a5a01d56a20ea7bfbc4c0e3b376f95d3de467a4d)
|
|
|
|
|
|
|
| |
This is required for features such as `-fsanitze=cfi` that (by default)
load the file `…/resource-root/share/cfi_blacklist.txt`.
(cherry picked from commit d17650b654aa649ee5161b629d70b62c265b1825)
|
|
|
|
| |
(cherry picked from commit 75ead1b43a0d41199d0a14e44da4bf8a11dbeedc)
|
|
|
|
|
|
|
| |
So that it can be accessed via llvmPackages_11.clang-unwrapped.clang-tools-extra_src
(e.g. useful for nix-prefetch-url).
(cherry picked from commit 72cc4d2f0a80fdf183bb8a23f75de553a0b81b78)
|
|
|
|
| |
(cherry picked from commit a64eabfe7c5c206209fce9d00f941389ff15dd8c)
|
|
|
|
| |
(cherry picked from commit 1c0cbf8aea860d7a08948b4706846058e073f5ea)
|
|
|
|
|
|
|
| |
I found nothing like release notes. It certainly is a companion version
for nss 3.57 (parent commit). Firefox appears to be OK.
(cherry picked from commit 0cc9dd7c16ea3db534274225617c22160eca4311)
|
|
|
|
|
|
|
|
|
|
| |
Release notes seem "boring":
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.57_release_notes
My understanding is that this version will be needed in Firefox 82 released
in one month from now: https://wiki.mozilla.org/NSS:Release_Versions
(cherry picked from commit 80d90e69fef396bc7981f0dc499aabdfa33d69c8)
|
|
|
|
| |
(cherry picked from commit 2db575ecae0195a5c1d025c1180008f95b263f3c)
|
|
|
|
| |
(cherry picked from commit c01133316f7bac9d45c8afa2f4778b6cd76d1015)
|
|
|
|
|
|
|
|
|
|
| |
We expose it on the top level, but I don't think it makes sense to pull
it from a specific version of the rust tools when it is in fact version
agnostic.
This reverts a tiny portion of 912dca193aee9da77a4d429285db53729d81aa3d.
(cherry picked from commit 54b4b470c3a7149a7c459d92859a51c2e7a04cf7)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the rust toolchain 1.46.0:
https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1460-2020-08-27
Because rustc-1.46.0 enables static PIE by default for
`x86_64-unknown-linux-musl` this release will suffer from:
https://github.com/NixOS/nixpkgs/issues/94228
So this commit doesn't remove the 1.45.2 release.
This commit also specifies the right LLVM packages to use for each
rust release.
(cherry picked from commit b837bd4305144d04bdbb796507aa57691976336d)
|
|
|
|
| |
(cherry picked from commit 172f3a197e38c885bc5a183ecb12b47081d78819)
|
|
|
|
| |
(cherry picked from commit 7ea5b08cfcc5a4bdd206395f7f5922041df6178c)
|
|
|
|
|
|
|
|
| |
It's supposed to be just bugfixes. I tested building some projects with
gcc10. Also gfortran10 still builds. I don't expect issues.
This causes basically no rebuilds, as we use 9 by default.
(cherry picked from commit 51ccf2d4badea4d709f8087e3fdb3fff3956d556)
|
|
|
|
|
|
|
| |
We don't want to use Nix-built GCC's libs with prebuilt clang in this
case.
(cherry picked from commit 204dc3a88b69e64a4882852c4cf69405f7f6bc21)
|
|
|
|
|
|
|
|
| |
Follow up to the revert in e560459c5b06ce1351ae5eb8988f8ce87602058a.
This reverts commit 1936b11f63d2f58ef0c7216e53e56deb804a715e.
(cherry picked from commit 5ceea5705a1c3346d17ee44728ed442699f48863)
|
|
|
|
| |
(cherry picked from commit 1936b11f63d2f58ef0c7216e53e56deb804a715e)
|
|
|
|
| |
(cherry picked from commit cf7b63df5b9efdef4e8e1b3261d7040199f7e671)
|
|
|
|
| |
(cherry picked from commit 463db72e631e0bd4a835796324eb1981071c6ee4)
|
|
|
|
|
|
|
| |
It's not necessary to use strip -x otherwise, so let's just use it for
the JIT library.
(cherry picked from commit 41e34e76d8802feaa9c13f88a5f032c529fc74e9)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out that libgccjit gets installed as a .so file, which the gcc
builder.sh didn't change: It only touched .dylib files; that means
that anything linking in libgccjit.so would receive an "Image not
found" error at load time.
With this change, we invoke `install_name_tool` on .so files too,
adjusting their dynamic linker ID, so that they too can be found.
(cherry picked from commit 175995986337e58e8ceec72d09515332fe363d3a)
|
|
|
|
|
|
|
|
| |
The default `strip` invocation tries to strip global symbols from the
library, and refuses because those are indirect symbol table
references.
(cherry picked from commit 038e86ffbb76bd54b922e68f5514102e36bec96b)
|
|
|
|
| |
(cherry picked from commit ad330434031519fd5dd7e52f32d7d8a30f36a4db)
|
|
|
|
| |
(cherry picked from commit fc0f11e3d533fadbb7d2330b3d3b50bd4eae298e)
|
|
|
|
| |
(cherry picked from commit bc9760b842abdb4aac17543a3ae8decae5e6530e)
|
|
|
|
| |
(cherry picked from commit 3f30e70d294b95acd20090b50534e7568d6b3527)
|
|
|
|
| |
(cherry picked from commit beb0339ce5dd74800fe8d57323afbb4b9dd017a0)
|
|
|
|
| |
(cherry picked from commit 48dc384a3cc28fdd8ef133df9b11ca1bd814e62e)
|
|
|
|
| |
(cherry picked from commit 2d39da2084d5286bcefcf3e45c27fb140b350b19)
|
|
|
|
|
|
| |
same as 459c60dda2406d2207d2afd90f210ffc87efde54 but for gcc10
(cherry picked from commit 0b8312660aaa34cc87bdf5e3776bcaf4c5ba3c59)
|