-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Currently build fails with:
$ nix-build nixpkgs.nix -A stackage2nix-static
...
[ 7 of 15] Compiling Stack.Config.TH ( src/Stack/Config/TH.hs, dist/build/Stack/Config/TH.o )
[ 8 of 15] Compiling Stack.Config.Yaml ( src/Stack/Config/Yaml.hs, dist/build/Stack/Config/Yaml.o )
/nix/store/4576wq2aj36yhdqck4rfyxg16c1s0r1y-icu4c-58.2-static/lib/libicuuc.a(putil.ao): In function `uprv_dl_open_58':
(.text+0x1ba2): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/nix/store/zi17ydzr9x1kqjcpfjr93iwg1frpmv8s-binutils-2.28.1/bin/ld: /nix/store/pymp4cq49z4whxzjzys4by7dij0axdb0-gcc-6.4.0/lib/gcc/x86_64-unknown-linux-gnu/6.4.0/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
/nix/store/zi17ydzr9x1kqjcpfjr93iwg1frpmv8s-binutils-2.28.1/bin/ld: /nix/store/1h1v44a7qj8pskcw75dcs84gsj4gy3x5-glibc-2.25-49-static/lib/libpthread.a(elision-lock.o): .preinit_array section is not allowed in DSO
/nix/store/zi17ydzr9x1kqjcpfjr93iwg1frpmv8s-binutils-2.28.1/bin/ld: failed to set dynamic section sizes: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
<no location info>: error:
`cc' failed in phase `Linker'. (Exit code: 1)
[ 9 of 15] Compiling Stack.Types ( src/Stack/Types.hs, dist/build/Stack/Types.o )
builder for ‘/nix/store/x7c9rkivww8ypn4bmxsnnngv0fmbs860-stackage2nix-0.5.0.drv’ failed with exit code 1
Metadata
Metadata
Assignees
Labels
No labels