diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-01-22 08:11:02 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2023-01-25 22:49:21 -0500 |
commit | 955aa684e5ffb0eeca10d1e51befa9378b511222 (patch) | |
tree | 04ae1fefe4c6435771c8b06162ef146a8b16e953 /docs/users_guide/utils.py | |
parent | bc038c3bd45ee99db9fba23a823a906735740200 (diff) | |
download | haskell-wip/T21972.tar.gz |
nativeGen: Disable asm-shortcutting on Darwinwip/T21972
Asm-shortcutting may produce relative references to symbols defined in
other compilation units. This is not something that MachO relocations
support (see #21972). For this reason we disable the optimisation on
Darwin. We do so without a warning since this flag is enabled by `-O2`.
Another way to address this issue would be to rather implement a
PLT-relocatable jump-table strategy. However, this would only benefit
Darwin and does not seem worth the effort.
Closes #21972.
Diffstat (limited to 'docs/users_guide/utils.py')
0 files changed, 0 insertions, 0 deletions