Re:Building Elixir from source segfaults on macOS on Apple S...
by arjan_sch on Monday July 13, 2020 @03:50PM
(#23824880)
True. IIRC Erlang only supports GCC as the build system. I helped fixing a race in the BEAM a while back that only occurred on the latest GCC.
[ Parent
| on HN ]
Re:Building Elixir from source segfaults on macOS on Apple S...
by KenoFischer on Monday July 13, 2020 @03:59PM
(#23824946)
> IIRC Erlang only supports GCC as the build system.
Since gcc doesn't work on Apple Silicon, I assumed the OP must be using clang :).
Re:Building Elixir from source segfaults on macOS on Apple S...
by asveikau on Monday July 13, 2020 @05:06PM
(#23825569)
gcc certainly compiles for ARM and understands Darwin/mach-o. It can probably target iOS. What would the major barrier be for gcc to work?
Re:Building Elixir from source segfaults on macOS on Apple S...
by manquer on Monday July 13, 2020 @05:30PM
(#23825794)
Given that Apple silicon is pretty new my guess it porting and testing , I would also add not all ARM chips are exactly the same , there will be some minor nuances for sure .
Perhaps it is also some funding and access to the kits and dev time , updating gcc is not a full time job for most of the contributors after all.
Re:Building Elixir from source segfaults on macOS on Apple S...
by KenoFischer on Monday July 13, 2020 @05:39PM
(#23825864)
Re:Building Elixir from source segfaults on macOS on Apple S...
by asveikau on Monday July 13, 2020 @07:38PM
(#23826915)
This is a great thread, thanks! (And I see that your name is in the thread.)
I gather from there that previous efforts to target iOS are outdated, there is substantial work to handle the Apple ABI, and that it's not been seriously looked at yet.