Skip to content

Commit 2ecaf21

Browse files
committed
gitian: remove execstack workaround for ricv64 & powerpc64le
When building with g++-10 (or 8) on Focal, binaries are being produced with noexecstack by default, so we can remove the workaround of explicitly passing "-Wl,-z,noexecstack" for risvc46 and powerpc64le. When building for powerpc64 this is still required.
1 parent 5baff2b commit 2ecaf21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ script: |
132132
# Extract the git archive into a dir for each host and build
133133
for i in ${HOSTS}; do
134134
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
135-
if [ "${i}" = "riscv64-linux-gnu" ] || [ "${i}" = "powerpc64-linux-gnu" ] || [ "${i}" = "powerpc64le-linux-gnu" ]; then
135+
if [ "${i}" = "powerpc64-linux-gnu" ]; then
136136
# Workaround for https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross-ports/+bug/1853740
137137
# TODO: remove this when no longer needed
138138
HOST_LDFLAGS="${HOST_LDFLAGS_BASE} -Wl,-z,noexecstack"

0 commit comments

Comments
 (0)