Re: BUG #2094: AIX: libraries contain the symbol main

Поиск
Список
Период
Сортировка
От Seneca Cunningham
Тема Re: BUG #2094: AIX: libraries contain the symbol main
Дата
Msg-id 43984C46.1040301@ca.afilias.info
обсуждение исходный текст
Ответ на BUG #2094: AIX: libraries contain the symbol main  ("Hans Schlüper" <hans.schlueper@atosorigin.com>)
Список pgsql-bugs
Hans SchlXXper wrote:
> with xlc compiler under AIX 5.3 (also 4.3) we found the following problem.
> The linker per default assumes that
> you are linking a main program when you do not specify a module type. So
> shared libraries contain the symbol
> main. So you couldn't use the libraries
>
> Solution:
> Using LDFLAGS_SL="-bnoentry"

How did you configure postgres?  Every AIX build that I have seen
includes "-Wl,-bnoentry" as part of the LDFLAGS_SL, which is sourced
from src/makefiles/Makefile.aix (I know that a non-gcc build on aix3.2.5
would use "-e _nostart" instead).

--
Seneca Cunningham
scunning@ca.afilias.info

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

Предыдущее
От: "Tom"
Дата:
Сообщение: BUG #2099: too many private dirs ?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #1467: fe_connect doesn't handle EINTR right