From: | Terry Phelps <tgphelps50(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Re: Compile error while building postgresql 10.3 |
Date: | 2018-03-19 20:03:46 |
Message-ID: | CAMUfR_uEuB21SazCKTmW8GecBd+jBzWDxHvhE3a6e+5YVoSb=g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers |
Tom, I'll get what you asked for in a minute. But first, I want to make
sure that y'all see that the compiler is clang, and not gcc. Perhaps that's
not important.
On Mon, Mar 19, 2018 at 4:01 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Andres Freund <andres(at)anarazel(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Terry Phelps | 2018-03-19 20:07:17 | Re: Compile error while building postgresql 10.3 |
Previous Message | Tom Lane | 2018-03-19 20:01:21 | Re: Compile error while building postgresql 10.3 |
From | Date | Subject | |
---|---|---|---|
Next Message | Terry Phelps | 2018-03-19 20:07:17 | Re: Compile error while building postgresql 10.3 |
Previous Message | Jeremy Finzel | 2018-03-19 20:01:47 | Re: found xmin from before relfrozenxid on pg_catalog.pg_authid |