Re: solaris build problem with Sun compilers
От | Alan Stange |
---|---|
Тема | Re: solaris build problem with Sun compilers |
Дата | |
Msg-id | 4463AF88.4020301@rentec.com обсуждение исходный текст |
Ответ на | Re: solaris build problem with Sun compilers (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: solaris build problem with Sun compilers
|
Список | pgsql-ports |
Tom Lane wrote: > Alan Stange <stange@rentec.com> writes: >> it appears that there's a problem building postgresql with >> --enable-debug on Solaris with the Sun compilers. > > Nobody else has complained of this, so the least you could do is > identify which Solaris version and exactly which compiler you're > talking about. I just tried building on all of these combinations: Solaris 10: compilers 6.2 and 11 Solaris 9: compilers 8, 9, 10, 11 Solaris 8: compilers 6.2, 9, 11 Postgresql 8.1.3 fails to compile on all of them with --enable-debug I can run this back to older compilers as well, if needed. > What are the risks that we break every other > Solaris version/compiler if we remove those directives? none that I'm aware of. It's been a decade since I've done any serious sparc assembler, but my first thought on seeing this C code was that the .section directives didn't belong. Perhaps they might have been needed on SunOS4 systems, but I don't think it was. Either way, add an -xO0 with --enable-debug if you really want to keep the directives, but that's just masking the underlying problem. -- Alan
В списке pgsql-ports по дате отправления: