Skip to content

Commit ae5be4e

Browse files
bin_prot FTBFS on OpenSUSE
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: xen/blit_stubs.o: warning: relocation against `caml_leave_blocking_section' in read-only section `.text' /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: xen/blit_stubs.o: relocation R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status Probably due to a missing -fPIC flag. Upstream fix submitted in janestreet/bin_prot#27 and obsoleted by janestreet/bin_prot#29.
1 parent 9ddad6a commit ae5be4e

File tree

1 file changed

+1
-1
lines changed
  • packages/bin_prot/bin_prot.v0.17.0

1 file changed

+1
-1
lines changed

packages/bin_prot/bin_prot.v0.17.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ depends: [
2424
depopts: [
2525
"mirage-xen-ocaml"
2626
]
27-
available: arch != "arm32" & arch != "x86_32" & os != "freebsd"
27+
available: arch != "arm32" & arch != "x86_32" & os != "freebsd" & os-family != "opensuse"
2828
synopsis: "A binary protocol generator"
2929
description: "
3030
Part of Jane Street's Core library

0 commit comments

Comments
 (0)