Lines 1-20
Link Here
|
1 |
--- src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch.orig 2023-05-27 13:17:37 UTC |
1 |
--- src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch.orig 2023-05-27 13:17:37 UTC |
2 |
+++ src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch |
2 |
+++ src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch |
3 |
@@ -0,0 +1,43 @@ |
3 |
@@ -0,0 +1,32 @@ |
4 |
+--- a/configure.orig 2023-05-27 13:13:22 UTC |
4 |
+--- a/configure.orig 2023-05-27 13:13:22 UTC |
5 |
++++ a/configure |
5 |
++++ a/configure |
6 |
+@@ -14070,6 +14070,10 @@ |
6 |
+@@ -14256,12 +14256,20 @@ case $host in #( |
7 |
+ case $CC,$host in #( |
|
|
8 |
+ gcc*,powerpc-*-linux*) : |
9 |
+ mksharedlib="$CC -shared -mbss-plt \$(LDFLAGS)" ;; #( |
10 |
++ *,i[3456]86-*) : |
11 |
++ # Disable DT_TEXTREL warnings on Linux and BSD i386 |
12 |
++ # See https://github.com/ocaml/ocaml/issues/9800 |
13 |
++ mksharedlib="$CC -shared \$(LDFLAGS) -Wl,-z,notext" ;; #( |
14 |
+ *) : |
15 |
+ mksharedlib="$CC -shared \$(LDFLAGS)" ;; |
16 |
+ esac |
17 |
+@@ -14256,12 +14260,20 @@ case $host in #( |
18 |
+ arch=amd64; system=win64 ;; #( |
7 |
+ arch=amd64; system=win64 ;; #( |
19 |
+ powerpc64le*-*-linux*) : |
8 |
+ powerpc64le*-*-linux*) : |
20 |
+ arch=power; model=ppc64le; system=elf ;; #( |
9 |
+ arch=power; model=ppc64le; system=elf ;; #( |
Lines 35-41
Link Here
|
35 |
+ s390x*-*-linux*) : |
24 |
+ s390x*-*-linux*) : |
36 |
+ arch=s390x; model=z10; system=elf ;; #( |
25 |
+ arch=s390x; model=z10; system=elf ;; #( |
37 |
+ # expected to match "gnueabihf" as well as "musleabihf" |
26 |
+ # expected to match "gnueabihf" as well as "musleabihf" |
38 |
+@@ -14281,6 +14285,8 @@ |
27 |
+@@ -14281,6 +14289,8 @@ |
39 |
+ arch=arm; model=armv6; system=linux_eabi ;; #( |
28 |
+ arch=arm; model=armv6; system=linux_eabi ;; #( |
40 |
+ armv6*-*-freebsd*) : |
29 |
+ armv6*-*-freebsd*) : |
41 |
+ arch=arm; model=armv6; system=freebsd ;; #( |
30 |
+ arch=arm; model=armv6; system=freebsd ;; #( |