Last active
September 28, 2018 12:38
-
-
Save AshyIsMe/fa3138fcb397f25105676a17e4084e63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
stdenv.mkDerivation rec { | |
name = "env"; | |
env = buildEnv { name = name; paths = buildInputs; }; | |
buildInputs = [ | |
php | |
# stdenv | |
gcc7 | |
openssl | |
openssl.dev | |
bison | |
flex | |
pkgconfig | |
automake | |
libelf | |
glibc.out | |
glibc.static | |
# autoreconfHook | |
# popt | |
# libaio | |
# perl | |
# gcc7 | |
# pcre | |
# glibc.out | |
# glibc.static | |
# bc | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ nix-shell
these derivations will be built:
/nix/store/7hfcdikvb0rr0aa0zdfpy48wi4drd6wv-env.drv
building '/nix/store/7hfcdikvb0rr0aa0zdfpy48wi4drd6wv-env.drv'...
created 291 symlinks in user environment
[nix-shell:~/codebases/phoronix-test-suite]$ ./phoronix-test-suite debug-benchmark pts/build-linux-kernel
Some additional dependencies are required, but they could not be installed automatically for your operating system.
Below are the software packages that must be installed.
Phoronix Test Suite v8.2.0
OpenSSL Development Files
Possible Package Names: libssl-dev, openssl-devel
The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
========================================
Phoronix Test Suite v8.2.0
System Information
PROCESSOR: AMD Ryzen 5 1600 Six-Core @ 3.20GHz
Core Count: 6
Thread Count: 12
Extensions: SSE 4.2 + AVX2 + AVX + RDRAND + FSGSBASE
Cache Size: 512 KB
Microcode: 0x8001129
Scaling Driver: acpi-cpufreq performance
GRAPHICS: Gigabyte AMD Radeon RX 580 4096MB
OpenGL: 4.5 Mesa 17.3.6 (LLVM 5.0.2)
Monitor: DELL P2715Q
Screen: 3840x2160
MOTHERBOARD: Gigabyte AB350N-Gaming WIFI-CF
BIOS Version: F6a
Chipset: AMD Family 17h
Audio: AMD Ellesmere
Network: Realtek RTL8111/8168/8411 + Intel Wireless 3165
MEMORY: 16384MB
DISK: 525GB Crucial_CT525MX3 + Samsung SSD 960 EVO 500GB
File-System: zfs
Disk Scheduler: NONE
OPERATING SYSTEM: NixOS 18.03.133245.d16a7abceb7
Kernel: 4.17.19 (x86_64)
Display Server: X Server 1.19.6
Compiler: GCC 7.3.0
Security: __user pointer sanitization + Full AMD retpoline + SSB disabled via prctl and seccomp
Running Pre-Test Script
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
configuration written to .config
===========================================
Timed Linux Kernel Compilation (Run 1 of 1)
Test Run Command: cd /home/aaron/.phoronix-test-suite/installed-tests/pts/build-linux-kernel-1.9.1/ && ./time-compile-kernel 2>&1
cc1: error: code model kernel does not support PIC mode
make[2]: *** [scripts/Makefile.build:318: scripts/mod/empty.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: error: code model kernel does not support PIC mode
make[2]: *** [scripts/Makefile.build:138: scripts/mod/devicetable-offsets.s] Error 1
make[1]: *** [scripts/Makefile.build:558: scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
cc1: error: code model kernel does not support PIC mode
make[1]: *** [Kbuild:21: kernel/bounds.s] Error 1
make: *** [Makefile:1081: prepare0] Error 2
make: *** Waiting for unfinished jobs....
make: *** [Makefile:1045: scripts] Error 2
The test quit with a non-zero exit status.
Running Post-Test Script
The following tests failed to properly run: