Re: Bug fix for glibc broke freebsd build in REL_11_STABLE

Victor Wagner <vitus@wagner.pp.ru>

From: Victor Wagner <vitus@wagner.pp.ru>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2018-09-05T06:21:30Z
Lists: pgsql-hackers
On Tue, 4 Sep 2018 17:51:30 -0700
Andres Freund <andres@anarazel.de> wrote:


> #endif
> in an autoconf test, and have configure complain if that
> fails. Something roughly along the lines of
> "Compiling PostgreSQL with clang, on 32bit x86, requires SSE2
> support. Use -msse2 or use gcc."

Adding CFLAGS=-msse2 to configure environment solved my problem 
both on the upgraded virtual machine with clang 6.0.0 and on old one
with clang 3.8.0

Although I now don't have 32-bit build system with clang on Linux.
-- 


Commits

  1. Error out for clang on x86-32 without SSE2 support, no -fexcess-precision.

  2. Fix 8a934d677 for libc++ and make more include order resistant.