Re: Compile error while building postgresql 10.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compile error while building postgresql 10.3
Дата
Msg-id 5850.1521489681@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Compile error while building postgresql 10.3  (Andres Freund <andres@anarazel.de>)
Ответы Re: Compile error while building postgresql 10.3
Re: Compile error while building postgresql 10.3
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Terry Phelps
Дата:
Сообщение: Re: Compile error while building postgresql 10.3
Следующее
От: Terry Phelps
Дата:
Сообщение: Re: Compile error while building postgresql 10.3