pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Terry Phelps <tgphelps50@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Compile error while building postgresql 10.3
Date: Mon, 19 Mar 2018 16:01:21 -0400
Message-ID: <5850.1521489681@sss.pgh.pa.us> (raw)
In-Reply-To: <20180319195451.vxymrucrnxwpbzw3@alap3.anarazel.de>
References: <CAMUfR_vJKnd6oCA28petJ5NFTVyt99xxAEz1PS1zKErhtMc-fw@mail.gmail.com>
	<13506.1521487746@sss.pgh.pa.us>
	<CAMUfR_t8h7ZUmMu2bHvkgwG1F6JLdnMjHkrjMnuA4jevKTWpQw@mail.gmail.com>
	<28853.1521489010@sss.pgh.pa.us>
	<20180319195451.vxymrucrnxwpbzw3@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> There seems to be something sketchy afoot here, even outside of
> CFLAGS_SSE42 itself. From the original email:

> cc -I/usr/local/include -I../../src/port -DFRONTEND -I../../src/include
> -c -o pg_crc32c_sse42.o pg_crc32c_sse42.c

> isn't this missing a number of important flags? Like at least
> -fno-strict-aliasing -fwrapv -fexcess-precision=standard?

Good point ... seems like we lost *all* CFLAGS not just the SSE42 ones.
I believe the options we see here are all from CPPFLAGS not CFLAGS.

Terry, could we see a full "make" trace from src/port/?  Something like

cd src/port
make -s clean
make

I'm curious whether the flags lossage affects all .c files in that
directory, or only ones that are trying to add on custom flags.

			regards, tom lane




view thread (19+ messages)  latest in thread

Message-ID: <5850.1521489681@sss.pgh.pa.us>
Permalink:  ../5850.1521489681@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5850.1521489681@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, tgphelps50@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Compile error while building postgresql 10.3
  In-Reply-To: <5850.1521489681@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox