https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81295
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED CC| |amodra at gmail dot com Resolution|--- |FIXED Target Milestone|7.3 |7.2 --- Comment #16 from Alan Modra <amodra at gmail dot com> --- Fixed. --- Comment #17 from rguenther at suse dot de <rguenther at suse dot de> --- On Tue, 29 Aug 2017, amodra at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81295 > > --- Comment #13 from Alan Modra <amodra at gcc dot gnu.org> --- > Author: amodra > Date: Tue Aug 29 08:23:44 2017 > New Revision: 251403 > > URL: https://gcc.gnu.org/viewcvs?rev=251403&root=gcc&view=rev > Log: > [RS6000] linux startfile/endfile > > These need to match the gnu-user.h definitions to support > --enable-default-pie. Otherwise we end up linking the wrong startup > files when defaulting to PIE. > > PR target/81170 > PR target/81295 > * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Upgrade to > match gnu-user.h startfile. > (ENDFILE_LINUX_SPEC): Similarly. Are you sure other archs do not need similar fiddling? Otherwise this looks quite risky for release branches... (not this patch but the one requiring this). Given you waited zero days for backporting...