Re: [MLton] Patches needed for MLton in debian/stretch
Matthew Fluet <[email protected]> Sun, 18 Dec 2016 15:57:12 -0500
| Newsgroups | gmane.comp.lang.ml.mlton.devel |
|---|---|
| Message-ID | <CAMrhFL55cm=8vWAFM1HnCWufnA+AXqeBhDx_c67LJJ0kj198uQ@mail.gmail.com> |
On Sat, Dec 17, 2016 at 8:32 PM, Wesley W. Terpstra <[email protected]> wrote: > On Sat, Dec 17, 2016 at 4:38 PM, Wesley W. Terpstra <[email protected]> wrote: >> On Sat, Dec 17, 2016 at 4:20 PM, Matthew Fluet <[email protected]> wrote: >>> The various platform patches can probably be merged. >> >> I've also noticed that on some architectures some MLton-produced >> executables segfault. I suspect this is probably a gcc issue. When was >> the LLVM backend introduced and how reliable would you say it is >> compared to the c-codegen? > > Nevermind. I just tried llvm out from github/master. It produces > broken programs on at least s390x, so I guess no solution in that > direction. The LLVM codegen is based closely on the C codegen; it's worked well enough (and in some cases, a bit better than the C codegen and the native codegen) one amd64-linux and amd64-darwin, but hasn't really been tested on any other platforms. Like the C codegen, it generates mostly platform agnostic textual LLVM. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot