gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -static -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -static -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o system-shutdown/system-shutdown system-shutdown/system_shutdown_system_shutdown-system-shutdown-utils.o system-shutdown/system_shutdown_system_shutdown-system-shutdown.o libsnap-confine-private.a
Makefile:1246: recipe for target 'system-shutdown/system-shutdown' failed
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtbeginT.o: relocation R_X86_64_32 against `__TMC_END__' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/6.3.1/crtbeginT.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [system-shutdown/system-shutdown] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/snapd-2.24/cmd'
Makefile:930: recipe for target 'all' failed
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.DKuq2I (%build)