[postgis-devel] 2.5.0beta2 build error against PostgreSQL 11 beta3

Devrim Gündüz devrim at gunduz.org
Thu Aug 23 06:08:31 PDT 2018


Hi,

While RPMifying 2.5.0beta2, I hit the error below. The same spec file builds
against PostgreSQL 10, btw. This is related to the new JIT feature:

/usr/lib64/ccache/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2  -I../liblwgeom -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I../libpgcommon  -I/usr/geos36/include -I/usr/proj49/include  -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -fPIC -I/usr/include -DHAVE_SFCGAL -I. -I./ -I/usr/pgsql-11/include/server -I/usr/pgsql-11/include/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include -flto=thin -emit-llvm -c -o postgis_module.bc postgis_module.c
clang-6.0: error: unknown argument: '-fcf-protection'
make[2]: *** [/usr/pgsql-11/lib/pgxs/src/makefiles/../../src/Makefile.global:1009: postgis_module.bc] Error 1

Can you please take a look?

Thanks!

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20180823/eedb7665/attachment.sig>


More information about the postgis-devel mailing list