You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compiled gfortran 5.4 (the reciped from branch 16.09). When I then try to compile something with -fPIC, I get errors such as:
/cvmfs/soft.computecanada.ca/nix/store/c8bdsjsazkvdiz59sjb2g471kjmg70a7-binutils-2.27/bin/ld: /cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64/libgfortran.a(list_read.o): relocation R_X86_64_32S against `.rodata.eat_separator' can not be used when making a shared object; recompile with -fPIC
/cvmfs/soft.computecanada.ca/nix/store/c8bdsjsazkvdiz59sjb2g471kjmg70a7-binutils-2.27/bin/ld: /cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64/libgfortran.a(open.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/cvmfs/soft.computecanada.ca/nix/store/c8bdsjsazkvdiz59sjb2g471kjmg70a7-binutils-2.27/bin/ld: /cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64/libgfortran.a(read.o): relocation R_X86_64_32S against `.rodata.masks.8847' can not be used when making a shared object; recompile with -fPIC
/cvmfs/soft.computecanada.ca/nix/store/c8bdsjsazkvdiz59sjb2g471kjmg70a7-binutils-2.27/bin/ld: /cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64/libquadmath.a(quadmath-printf.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/cvmfs/soft.computecanada.ca/nix/store/c8bdsjsazkvdiz59sjb2g471kjmg70a7-binutils-2.27/bin/ld: /cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64/libquadmath.a(printf_fphex.o): relocation R_X86_64_32 against `.rodata.str4.4' can not be used when making a shared object; recompile with -fPIC
/cvmfs/soft.computecanada.ca/nix/store/c8bdsjsazkvdiz59sjb2g471kjmg70a7-binutils-2.27/bin/ld: /cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64/libquadmath.a(printf_fp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/cvmfs/soft.computecanada.ca/nix/store/c8bdsjsazkvdiz59sjb2g471kjmg70a7-binutils-2.27/bin/ld: /cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/lib64/libgfortran.a(error.o): relocation R_X86_64_PC32 against symbol `strlen@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
Any reason why it is not compiled with fPIC, and any way to recompile it with fPIC ?
Issue description
I compiled gfortran 5.4 (the reciped from branch 16.09). When I then try to compile something with -fPIC, I get errors such as:
Any reason why it is not compiled with fPIC, and any way to recompile it with fPIC ?
Technical details
nixos-version
, Ubuntu/Fedora:lsb_release -a
, ...)Nix version: (run
nix-env --version
)nix-env (Nix) 1.11.4
Nixpkgs version: (run
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
)16.09
The text was updated successfully, but these errors were encountered: