• Lynn Boger's avatar
    misc/cgo/testcarchive: use -no-pie where needed · c15c44ec
    Lynn Boger authored
    Starting in gcc 6, -pie is passed to the linker by default
    on some platforms, including ppc64le. If the objects
    being linked are not built for -pie then in some cases the
    executable could be in error. To avoid that problem, -no-pie
    should be used with gcc to override the default -pie option
    and generate a correct executable that can be run without error.
    
    Fixes #22126
    
    Change-Id: I4a052bba8b9b3bd6706f5d27ca9a7cebcb504c95
    Reviewed-on: https://go-review.googlesource.com/70072
    Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    c15c44ec
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...