summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update Changes4.08Xavier Leroy2022-01-171-0/+9
| | | | | Updated separately to allow the previous patch to be used for multiple releases.
* Dynamically allocate the alternate signal stackXavier Leroy2022-01-174-11/+72
| | | | | | | | | | | | | | | In Glibc 2.34 and later, SIGSTKSZ may not be a compile-time constant. It is no longer possible to statically allocate the alternate signal stack for the main thread, as we've been doing for the last 25 years. This commit implements dynamic allocation of the alternate signal stack even for the main thread. It reuses the code already in place to allocate the alternate signal stack for other threads. The alternate signal stack is freed when the main OCaml code / an OCaml thread stops. (partial back-port of PR#10266 and PR#10726)
* Gc.set incorrectly handles the three `custom_*` fields (#10125)Xavier Leroy2021-01-073-3/+45
| | | | | | | | | | | | Some `Long_val` conversions were missing. This was setting the wrong values for the `custom_` parameters, causing the major GC to work too much, slowing down some programs. Add regression test. Fixes: #9326 (cherry picked from commit 78321e6ac59e18a54cd9209aa57012f8b47908c9)
* Avoid duplicate definitions of "common" global variablesXavier Leroy2020-12-102-4/+0
| | | | | | | | | The variables are caml_debug_info and caml_atom_table. The multiple definitions look like a cut-and-paste error. They cause problems with C compilers that don't follow the "common" model. Fixes: #9144 (cherry picked from commit 53327d777ddcacf829c77c0bd3569a8ade2c72b8)
* Define __USE_MINGW_ANSI_STDIO=0 for mingw-w64 (#9939)David Allsopp2020-11-274-2/+19
| | | | | | | The latest mingw-w64 _mingw.h header now automatically sets __USE_MINGW_ANSI_STDIO=1 for C99 and later. mingw-w64 always defines snprintf but the inline definition when __USE_MINGW_ANSI_STDIO=0 temporarily #undef's any snprintf macro so works in harmony with ours. The other case does not do this so we get declaration errors. Fixes: #9938 . (cherry picked from commit a03b6035ebe4682950018e0e1337bab18771fd81)
* Merge pull request #9383 from dra27/explicit-awkDavid Allsopp2020-03-204-4/+7
| | | | | | Don't assume . in AWKPATH (cherry picked from commit d4ace8c347a9a4f8baa8f0b1738a5b4436fcd027)
* Switch Travis to XenialDavid Allsopp2019-10-111-0/+1
|
* Verify that configure.ac generates configureDavid Allsopp2019-10-111-0/+17
| | | | | (cherry picked from commits 7156b9cd1511cc2eb79a60856208269e5be1edc4 and 3bb1886b6564a4774ae41f4743628435633852ac)
* Check for definition of AT_SECURE before using it (#8842)Stéphane Glondu2019-10-112-1/+4
| | | | | | Check for definition of AT_SECURE before using it This fixes compilation on kfreebsd.
* Merge pull request #8996 from dra27/win-reconfigureGabriel Scherer2019-09-301-2/+0
| | | | | | Windows supports make reconfigure now (cherry picked from commit c71997a167c3670d202c6ecaf830c6a25b4b95b8)
* Fix failure to install tools linksDavid Allsopp2019-09-292-0/+9
| | | | | | | In --disable-installing-bytecode-programs mode, the .opt version of the tools is installed, but the symlink for the tool itself is not created. (cherry picked from commit 705739fa54260b7a0e6cbba0b5a99e52c79f9c09)
* Fix tool check-parser-uptodate-or-warn.shJérôme.Vouillon2019-08-161-3/+3
| | | | Improve detection of stat supported options
* increment version number after tagging 4.08.1Florian Angeletti2019-08-053-17/+17
|
* release 4.08.14.08.1Florian Angeletti2019-08-055-16/+16
|
* last commit before tagging 4.08.1Florian Angeletti2019-08-053-16/+16
|
* increment version number after tagging 4.08.1+rc3Florian Angeletti2019-08-013-15/+15
|
* release 4.08.1+rc34.08.1+rc3Florian Angeletti2019-08-015-15/+15
|
* last commit before tagging 4.08.1+rc3Florian Angeletti2019-07-312-14/+14
|
* Use the autoconf- or system-provided off_t rather than redetecting. (#8843)Stephen Dolan2019-07-314-6/+4
| | | | | | Fixes: #8841. Cherry-pick of commit 5e4b55d3b on trunk.
* Regenerate configureDavid Allsopp2019-07-301-1/+3
|
* Merge pull request #8830 from glondu/4.08-configure-fixesDavid Allsopp2019-07-302-1/+7
|\ | | | | Small fixes in configure.ac
| * Add Changes entryStephane Glondu2019-07-301-0/+4
| |
| * Add support for Debian's armhf in configure.acStephane Glondu2019-07-251-0/+2
| |
| * Use host_alias to define toolprefStephane Glondu2019-07-251-1/+1
|/ | | | | | | | | Variables host (i.e. host type canonicalized by config.sub) and host_alias (i.e. the argument to --host) are subtly different, the right one to use as prefix is $host_alias. By the way, ac_tool_prefix is defined the same way, maybe it should be used instead of toolpref?
* Merge pull request #8826 from glondu/4.08-spelling-errorsGabriel Scherer2019-07-2512-17/+17
|\ | | | | Fix spelling errors reported by Lintian
| * Fix language of some error messages in ocamldocStephane Glondu2019-07-251-3/+3
| | | | | | | | No change entry needed
| * Fix spelling errors reported by LintianDavid Allsopp2019-07-2511-14/+14
|/ | | | No change entry needed
* increment version number after tagging 4.08.1+rc2Florian Angeletti2019-07-243-15/+15
|
* release 4.08.1+rc24.08.1+rc2Florian Angeletti2019-07-245-15/+15
|
* last commit before tagging 4.08.1+rc2Florian Angeletti2019-07-242-14/+14
|
* Merge pull request #8822 from gasche/backport-bytecode-dynlink-fix-in-4.08Gabriel Scherer2019-07-238-1/+86
|\ | | | | Backport #8818 (Dynlink/packing issue in bytecode) for 4.08+rc2
| * Merge pull request #8818 from lpw25/fix-dynlink-packsGabriel Scherer2019-07-238-1/+86
|/ | | | | | Fix #8816 (Dynlink/packing issue in bytecode with 4.08) (cherry picked from commit e14a61158caa2249eef02fafa244bf1572fbec67)
* Fix typographic issues in the doc of new modules (#8744)Guillaume Munch-Maccagnoni2019-07-197-10/+10
| | | | | | | | * Fix typographic issues in the doc of new modules No change entry needed (cherry picked from commit 6a6f34e48306d573bf3036681cb304ed84415957)
* increment version number after tagging 4.08.1+rc1Florian Angeletti2019-07-183-15/+15
|
* release 4.08.1+rc14.08.1+rc1Florian Angeletti2019-07-185-15/+15
|
* last commit before tagging 4.08.1+rc1Florian Angeletti2019-07-1812-2118/+3082
|
* Fix a few testsSébastien Hinderer2019-07-1716-3/+33
| | | | | | | | A few tests have actually been broken by commit b2a0f3b659a8d7e2f44c337718c1ea9373479d7d The present commit fixes all the tests that had not been fixed meanwhile. (cherry picked from commit 1a798abff0cbf135da5526375e62f88ccfdd07de)
* Ensure frame table is 8-aligned on ARM64 and PPC64 (#8557)Xavier Leroy2019-07-163-1/+7
| | | | | | | | This is a follow-up to commit 7077b60 that fixed a lack of 8-alignment for the frame table on ADM64, as reported in #7591. A similar issue was reported in #7887 for ARM64 and is fixed here. For good measure, explicit alignment was added to PPC64 as well, although there was probably no issue there. Closes: #7887.
* Tweak the default open sentenceDavid Allsopp2019-07-091-5/+4
|
* Choose a better example for externalDavid Allsopp2019-07-091-3/+2
| | | | | Pervasives.input has never been a primitive (it was always unsafe_input) - string_of_int has the benefit of being declared external.
* Rename references to Pervasives to StdlibDavid Allsopp2019-07-097-10/+10
|
* Merge pull request #8786 from Octachron/mysterious_chapterDavid Allsopp2019-07-045-6/+6
| | | | | manual: restore two missing chapters (cherry picked from commit 047f231f4c0ea97e3b877ef3d302cc4647385bd9)
* manual: fix broken linksFlorian Angeletti2019-06-302-5/+5
|
* Fix #8769 (#8770)Leo White2019-06-289-1/+47
| | | | | | | | | | * Don't generate illegal Pfield's when compiling alias coercions * Simplify lambda code when compiling packs * Add regression test for pr8769 * Add Changes entry
* manual: recover compatibility with case-insensitive file systemsDamien Doligez2019-06-256-6/+7
|
* ChangesNicolás Ojeda Bär2019-06-241-2/+2
|
* Merge pull request #8751 from nojb/amd64_align_data_sectionNicolás Ojeda Bär2019-06-242-0/+10
| | | | | | amd64: align data section to word boundary (cherry-picked from 40cda4a1d61d4d07645b4a33d13f4f080e5c390a)
* Stop talking about Pervasives in core library documentationIan Zimmerman2019-06-231-4/+4
| | | | (cherry picked from commit 466950b48f698cb2d9fbb5571a3ed203a8765044)
* Move AST testing rules to Makefile.dev (#8743)David Allsopp2019-06-183-28/+55
| | | | | | | | | | | | Makefile.dev is only included if a Git clone is detected. make evaluates macros in target specifications when the Makefile is read, which meant that the build-all-asts target caused `git ls-files` to be called on every invocation of make. This tweaks it to be a recursive call to make which puts the $(AST_FILES) macro in the recipe where it is only evaluated when the target is requested. (cherry picked from commit 93ee6b43b05783d56e3d8d984fb2503f5870807d)
* Merge pull request #8739 from thizanne/option_docDavid Allsopp2019-06-161-2/+1
| | | | | | Fix Option.bind doc comment (cherry picked from commit 7e6618a4213dba1e41d71a5355d29794b0f5e402)