Accepting request 652001 from home:tomdevries:branches:devel:gcc

- Run tests with -fno-PIE/-no-pie and -fPIE/-pie.

OBS-URL: https://build.opensuse.org/request/show/652001
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=197
This commit is contained in:
Richard Biener 2018-11-26 15:24:47 +00:00 committed by Git OBS Bridge
parent a87c07ece5
commit 1aa67c2660
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 12 13:26:01 UTC 2018 - tdevries@suse.com
- Run tests with -fno-PIE/-no-pie and -fPIE/-pie.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 7 15:04:28 UTC 2018 - tdevries@suse.com Wed Nov 7 15:04:28 UTC 2018 - tdevries@suse.com

View File

@ -885,7 +885,11 @@ $CC -o ./orphanripper %{SOURCE2} -Wall -lutil -ggdb2
# Run all the scheduled testsuite runs also in the PIE mode. # Run all the scheduled testsuite runs also in the PIE mode.
# See also: gdb-runtest-pie-override.exp # See also: gdb-runtest-pie-override.exp
CHECK="$(echo $CHECK|sed 's#check//unix/[^ ]*#& &/-fPIC/-pie#g')" if rpm -q gcc-PIE; then
CHECK="$(echo $CHECK | sed 's#check//unix/[^ ]*#& &/-fno-PIE/-no-pie#g')"
else
CHECK="$(echo $CHECK | sed 's#check//unix/[^ ]*#& &/-fPIE/-pie#g')"
fi
./orphanripper make %{?_smp_mflags} -k $CHECK || : ./orphanripper make %{?_smp_mflags} -k $CHECK || :
) )