Skip to content

Commit

Permalink
HACK: disable stack-overflow detection
Browse files Browse the repository at this point in the history
There is a build failure whose fix is in
ocaml/ocaml#10266 but is not trivial to
backport.  Just disable the failing code for this PoC.
  • Loading branch information
ydirson committed Jul 11, 2023
1 parent 6ddb6d4 commit c6a8c99
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
@@ -0,0 +1,13 @@
diff --git a/configure b/configure
index 3b2636035..a74b88b41 100755
--- a/configure
+++ b/configure
@@ -1470,6 +1470,8 @@ fi
# Determine if system stack overflows can be detected

case "$arch,$system" in
+ *)
+ inf "System stack overflow detechion DISABLED.";;
i386,linux_elf|amd64,linux|power,rhapsody|amd64,macosx|i386,macosx \
|amd64,openbsd|i386,bsd_elf)
inf "System stack overflow can be detected."
1 change: 1 addition & 0 deletions recipes-devtools/ocaml/ocaml-cross_4.04.2.bb
Expand Up @@ -2,6 +2,7 @@ require ocaml-4.04.inc

SRC_URI += " \
file://0001-cross-Add-cross-compilation-rules.patch \
file://HACK-disable-HAS_STACK_OVERFLOW_DETECTION.patch \
"

DEPENDS += " \
Expand Down

0 comments on commit c6a8c99

Please sign in to comment.