polyml: explain nopie issue better.
This commit is contained in:
@@ -5,7 +5,12 @@ revision=1
|
|||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-system-libffi --enable-shared"
|
configure_args="--with-system-libffi --enable-shared"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686-musl|x86_64-musl) nopie=yes ;; # crash in do_relocs else
|
i686-musl|x86_64-musl)
|
||||||
|
# musl doesn't allow writing to .rodata and .text during
|
||||||
|
# relocation, but polyexport.o contains DT_TEXTREL
|
||||||
|
# since libpolyml/elfexport.cpp only creates absolute
|
||||||
|
# relocations. Drop PIE and do relocations at link time.
|
||||||
|
nopie=yes;;
|
||||||
i686*|x86_64*) ;;
|
i686*|x86_64*) ;;
|
||||||
*) configure_args+=" --disable-native-codegeneration" ;;
|
*) configure_args+=" --disable-native-codegeneration" ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user