--- compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11/lib/tsan/go/buildgo.sh.orig 2021-07-12 09:17:11.974244083 +0200 +++ compiler-rt-g68e1532492f9b3fce0e9024f3c31411105965b11/lib/tsan/go/buildgo.sh 2021-07-12 09:17:26.746448512 +0200 @@ -39,7 +39,7 @@ if [ "`uname -a | grep Linux`" != "" ]; then SUFFIX="linux_amd64" OSCFLAGS="-fPIC -ffreestanding -Wno-maybe-uninitialized -Wno-unused-const-variable -Werror -Wno-unknown-warning-option" - OSLDFLAGS="-lpthread -fPIC -fpie" + OSLDFLAGS="-lpthread -fPIC -fpie -no-pie" SRCS=" $SRCS ../rtl/tsan_platform_linux.cc