[postgis-tickets] [SCM] PostGIS branch master updated. 2839c9415a6ffa9ca4cd850e2119f1b9b877fef0

git at osgeo.org git at osgeo.org
Fri Nov 22 10:41:32 PST 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  2839c9415a6ffa9ca4cd850e2119f1b9b877fef0 (commit)
      from  5887c919048bd2af01542f4dc53da3693e59197a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2839c9415a6ffa9ca4cd850e2119f1b9b877fef0
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Fri Nov 22 21:40:49 2019 +0300

    Revert "Enable Link Time Optimization if available in compiler"
    
    Reverted due to bug in FreeBSD and Windows linkers, more if's required to work around for them.
    This reverts commit 0cbdd4d61558320575c6ec9f7e775ed785bdcfee.

diff --git a/ci/travis/run_usan_clang.sh b/ci/travis/run_usan_clang.sh
index 74226ef..a3126ac 100644
--- a/ci/travis/run_usan_clang.sh
+++ b/ci/travis/run_usan_clang.sh
@@ -3,7 +3,7 @@ set -e
 
 # Enable undefined behaviour sanitizer using traps
 CFLAGS_USAN="-g3 -O0 -mtune=generic -fno-omit-frame-pointer -fsanitize=undefined,implicit-conversion -fsanitize-undefined-trap-on-error -fno-sanitize-recover=implicit-conversion"
-LDFLAGS_STD="-Wl,-Bsymbolic-functions -Wl,-z,relro -fsanitize=undefined,implicit-conversion -fsanitize-undefined-trap-on-error -fno-sanitize-recover=implicit-conversion"
+LDFLAGS_STD="-Wl,-Bsymbolic-functions -Wl,-z,relro"
 
 # Sanitizer options to continue avoid stopping the runs on leaks (expected on postgres binaries)
 export ASAN_OPTIONS=halt_on_error=false,leak_check_at_exit=false,exitcode=0
@@ -15,5 +15,5 @@ LD_PRELOAD=/usr/lib/clang/8/lib/linux/libclang_rt.asan-x86_64.so /usr/local/pgsq
 
 # Build with Clang and usan flags
 ./autogen.sh
-./configure --enable-debug CC=clang CFLAGS="${CFLAGS_USAN}" LDFLAGS="${LDFLAGS_STD}"
+./configure CC=clang CFLAGS="${CFLAGS_USAN}" LDFLAGS="${LDFLAGS_STD}"
 bash ./ci/travis/logbt -- make -j check RUNTESTFLAGS=--verbose
diff --git a/ci/travis/run_usan_gcc.sh b/ci/travis/run_usan_gcc.sh
index 8b991dd..8943dd7 100644
--- a/ci/travis/run_usan_gcc.sh
+++ b/ci/travis/run_usan_gcc.sh
@@ -3,7 +3,7 @@ set -e
 
 # Enable undefined behaviour sanitizer using traps to
 CFLAGS_STD="-g3 -O0 -mtune=generic -fno-omit-frame-pointer -fsanitize=undefined -fsanitize-undefined-trap-on-error"
-LDFLAGS_STD="-Wl,-Bsymbolic-functions -Wl,-z,relro -fsanitize=undefined"
+LDFLAGS_STD="-Wl,-Bsymbolic-functions -Wl,-z,relro"
 
 /usr/local/pgsql/bin/pg_ctl -c -l /tmp/logfile start
 ./autogen.sh
diff --git a/configure.ac b/configure.ac
index a989e7c..a336c52 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1128,8 +1128,6 @@ if test $ENABLE_DEBUG -eq 1; then
 else
     AC_DEFINE([PARANOIA_LEVEL], [0], [Disable use of memory checks])
     AC_DEFINE([NDEBUG], [0], [Disable C asserts])
-    AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -flto], [_cv_flto], [-flto], [], [CFLAGS="$CFLAGS -flto"], [])
-    AC_LIBTOOL_LINKER_OPTION([if $compiler supports -flto], [_cv_flto], [[-flto]], [LDFLAGS="$LDFLAGS -flto"])
 fi
 
 

-----------------------------------------------------------------------

Summary of changes:
 ci/travis/run_usan_clang.sh | 4 ++--
 ci/travis/run_usan_gcc.sh   | 2 +-
 configure.ac                | 2 --
 3 files changed, 3 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list