| Commit message (Collapse) | Author | Age |
|\ |
|
| | |
|
|\| |
|
| | |
|
|/
|
|
| |
also: https://www.cmake.org/Wiki/CMake_RPATH_handling has moved
|
|
|
|
|
|
|
|
|
|
| |
- Cross to bare metal with GCC works
- Flags are deduplicated
- Darwin bootstrapping for 8 and 0 closer.
- Flags are same across versions.
|
|
|
|
|
| |
Lumping it in with the target platform libraries was incorrect, and
caused eval failures when gcc couldn't be built for the target platform.
|
|
|
|
|
| |
This reverts commit f14a4d60b74625547ba7fc0572e42e9b61c0e54f, and thus
applying 558af6fbc7c15f472658339668113f4d5c6440e0.
|
|
|
|
|
|
|
|
|
|
| |
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted. (See #67234, for
example.) Fix this throughout the tree.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
|\
| |
| | |
darwin-stdenv: bootstrap with python3
|
| | |
|
|/ |
|
|\
| |
| | |
staging: compiler-rt scudo compatibility
|
| | |
|
|\ \
| |/
|/| |
compilers, binutils: Add version and pname
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Only turn on cross related flags when useLLVM = true.
Fixes #66693
|
|/
|
|
|
|
|
|
|
| |
Quoting from the splitString docstring:
NOTE: this function is not performant and should never be used.
This replaces trivial uses of splitString for splitting version
strings with the (potentially builtin) splitVersion.
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | | |
llvm8 bare metal fixes
|
| | |
| | |
| | |
| | | |
Bare-metal targets require a few additional options to be set.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Clang passes an incorrect -l linker flag for compiler-rt.
See https://reviews.llvm.org/D51899
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
|
|\ \
| | |
| | | |
pkgsStatic: override libunwind
|
| |/ |
|
|/
|
|
| |
Starting with 8.0.1 and 7.1.0 LLVM has moved release hosting to GitHub.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See https://github.com/nixos/nixpkgs/issues/56245
Testing: 0 ..
FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
Note: Google Test filter = PerfHelperTest.FunctionalTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PerfHelperTest
[ RUN ] PerfHelperTest.FunctionalTest
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
Expected: CallbackEventName
Which is: ""
To be equal to: "CYCLES:u"
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
Value of: CallbackEventNameFullyQualifed
Expected: isn't empty
Actual: ""
[ FAILED ] PerfHelperTest.FunctionalTest (3 ms)
[----------] 1 test from PerfHelperTest (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (3 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PerfHelperTest.FunctionalTest
1 FAILED TEST
invalid event attribute - cannot create event CYCLES:u
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
1 warning(s) in tests.
Testing Time: 108.19s
********************
Failing Tests (1):
LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
Expected Passes : 25609
Expected Failures : 141
Unsupported Tests : 1249
Unexpected Failures: 1
make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/build/llvm/build'
make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/build/llvm/build'
make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/build/llvm/build'
make: *** [Makefile:251: check-all] Error 2
builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2Testing: 0 ..
FAIL: LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest (2933 of 27000)
******************** TEST 'LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest' FAILED ********************
Note: Google Test filter = PerfHelperTest.FunctionalTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from PerfHelperTest
[ RUN ] PerfHelperTest.FunctionalTest
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:37: Failure
Expected: CallbackEventName
Which is: ""
To be equal to: "CYCLES:u"
/build/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp:38: Failure
Value of: CallbackEventNameFullyQualifed
Expected: isn't empty
Actual: ""
[ FAILED ] PerfHelperTest.FunctionalTest (3 ms)
[----------] 1 test from PerfHelperTest (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (3 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] PerfHelperTest.FunctionalTest
1 FAILED TEST
invalid event attribute - cannot create event CYCLES:u
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
1 warning(s) in tests.
Testing Time: 108.19s
********************
Failing Tests (1):
LLVM-Unit :: tools/llvm-exegesis/./LLVMExegesisTests/PerfHelperTest.FunctionalTest
Expected Passes : 25609
Expected Failures : 141
Unsupported Tests : 1249
Unexpected Failures: 1
make[3]: *** [CMakeFiles/check-all.dir/build.make:58: CMakeFiles/check-all] Error 1
make[3]: Leaving directory '/build/llvm/build'
make[2]: *** [CMakeFiles/Makefile2:365: CMakeFiles/check-all.dir/all] Error 2
make[2]: Leaving directory '/build/llvm/build'
make[1]: *** [CMakeFiles/Makefile2:372: CMakeFiles/check-all.dir/rule] Error 2
make[1]: Leaving directory '/build/llvm/build'
make: *** [Makefile:251: check-all] Error 2
builder for '/nix/store/4kq72x6ahrigryr6yjjj7c7ayqy8z2sl-llvm-7.0.1.drv' failed with exit code 2
|
|
|
|
|
|
| |
* treewide: remove unused variables
* making ofborg happy
|
| |
|
|\
| |
| | |
Update macOS to 10.12
|
| |
| |
| |
| | |
This was removed in llvm 7 but not for llvm 8.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Got this trick from stack overflow to avoid needing compiler-rt to link
the test exe before building compiler-rt. a static lib isn't linked at
all, and so breaks the cycle.
|
| | |
|
| |
| |
| |
| | |
We need this to support C++ code.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
Adds pkgsCross.wasm32 and pkgsCross.wasm64. Use it to build Nixpkgs
with a WebAssembly toolchain.
stdenv/cross: use static overlay on isWasm
isWasm doesn’t make sense dynamically linked.
|
|
|
|
|
|
| |
Backport the `--unwindlib` flag, so it don't try to use libgcc on Linux
for hysterical reasons. The alternative of passing `-lunwind` always
would mess up C.
|
|
|
|
|
|
|
|
|
|
| |
this adds libc++ to the LLVM cross, giving us access to the full
Nixpkgs set. This requires 4 stages of wrapped compilers:
- Clang with no libraries
- Clang with just compiler-rt
- Clang with Libc, and compiler-rt
- Clang with Libc++, Libc, and compiler-rt
|
| |
|
| |
|