Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
When compiling for ARM/Thumb, ocamlrun segfaults during build. #4953
Original bug ID: 4953
When building for Thumb2 on Ubuntu lucid, ocaml failed to build from source with ocamlrun segfaulting while running make world. The issue was tracked down to an issue when specifying specific registers on Thumb. Here's the output from GDB:
nc@arm:~/src/ocaml-3.11.1$ gdb boot/ocamlrun
Program received signal SIGSEGV, Segmentation fault.
I'm willing to help test any patches or provide any debugging information necessary.
The following patch works around the issue by dropping the per-register assignments when compiling for Thumb:
--- ocaml-3.11.1.orig/byterun/interp.c 2010-01-04 10:20:26.387208256 -0500