Re: Bug fix for glibc broke freebsd build in REL_11_STABLE

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Bug fix for glibc broke freebsd build in REL_11_STABLE
Дата
Msg-id 87sh2nu7ov.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: Bug fix for glibc broke freebsd build in REL_11_STABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bug fix for glibc broke freebsd build in REL_11_STABLE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

 Tom> If you wanted to argue that the set of people who still want to
 Tom> run PG on pre-SSE2 hardware is the empty set, that'd be an easier
 Tom> sell really.

At the very minimum, I believe FreeBSD project policy would require that
the i386 packages for postgresql be built to run without SSE2.

 Tom> But what I'm really concerned about here, given that we're
 Tom> apparently talking about an ABI change,

No, there's no ABI change involved. 

 Tom> I'm actually a bit surprised to hear that you can just randomly
 Tom> add -msse2 on BSDen. Do they ship separate copies of libc et al to
 Tom> make that work?

-msse2 just tells the compiler to assume that the SSE2 instructions and
registers are available for use (and if so, it will always use them for
floats in preference to the x87 registers where possible), it doesn't
change the ABI: all function results are still bounced through the x87
register stack (and float/double parameters are not passed in registers
anyway).

-- 
Andrew (irc:RhodiumToad)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: JIT compiling with LLVM v12
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Bug fix for glibc broke freebsd build in REL_11_STABLE