Re: [HACKERS] initdb failure on Debian sid/mips64el inEventTriggerEndCompleteQuery

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: [HACKERS] initdb failure on Debian sid/mips64el inEventTriggerEndCompleteQuery
Дата
Msg-id 20170904082211.b2i4h2g4e6vrljrk@msg.df7cb.de
обсуждение исходный текст
Ответ на Re: [HACKERS] initdb failure on Debian sid/mips64el in EventTriggerEndCompleteQuery  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Re: Tom Lane 2017-08-13 <14677.1502638689@sss.pgh.pa.us>
> Christoph Berg <myon@debian.org> writes:
> > Seems to be a gcc-7 problem affecting several packages on mips64el:
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871514
> 
> Hm, unless there is a use of sigsetjmp earlier in that clamav
> routine, I would not assume that that's the same issue.  The bug
> I suspect we are looking at here is very specific to sigsetjmp
> callers: it usually amounts to the compiler unsafely trying to
> use the same temporary location for multiple purposes.

It appears to have been the same issue - non-long ints spilled on the
stack and loaded back as long int:

Changes:gcc-7 (7.2.0-3) unstable; urgency=high.  * Update to SVN 20170901 (r251583) from the gcc-7-branch.    - Fix PR
target/81504(PPC), PR c++/82040.  * Apply proposed patch for PR target/81803 (James Cowgill), conditionally    for
mips*targets. Closes: #871514.
 

The package built successfully on mips64el now.

Christoph



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] [BUGS] Bug in Physical Replication Slots (at least 9.5)?
Следующее
От: Simon Riggs
Дата:
Сообщение: [HACKERS] Release Note changes