Notes |
|
|
I can confirm the same issue on VoidLinux for amd64, using musl.
A possible clue to the issue is that using "--linkage static --mercury-linkage static" produces working executables. |
|
|
(0000955)
|
wangp
|
2017-06-25 11:32
|
|
Progress:
- upstream bdwgc has the necessary changes for musl (including parallel marking)
- need to compile bdwgc with -DNO_GETCONTEXT -DHAVE_DL_ITERATE_PHDR
- there is some other difference between the autotools-based buid and the Makefile.direct-based build. Mercury programs would crash when linked with libgc.{a,so} produced by Makefile.direct, but would run correctly when linked with the libgc produced by the autotools-generated makefile.
- thread.spawn/spawn_native will need to set a reasonable stack size as musl gives threads something like 80 kB by default. We should also allow the user to choose a stack size when creating a thread. |
|
|
(0000959)
|
wangp
|
2018-01-09 10:42
|
|
Fixed as of commit 323bad9ff |
|