forked from OpenXT/meta-openxt-ocaml-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HACK: disable stack-overflow detection
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
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
recipes-devtools/ocaml/files/HACK-disable-HAS_STACK_OVERFLOW_DETECTION.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters