Re: --with-tcl build on AIX (and others) fails

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: --with-tcl build on AIX (and others) fails
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA41EB521@m0114.s-mxs.net
обсуждение исходный текст
Ответ на --with-tcl build on AIX (and others) fails  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Список pgsql-hackers
> I think what should work is this:  Assign
>
> SHLIB_LINK = $(TCL_LIB_SPEC) $(TCL_LIBS)
>
> unconditionally.  If the port doesn't like mention of shared lib
> dependencies, it should ignore SHLIB_LINK in Makefile.shlib.
> If the port wants to have -lc, it should add it to SHLIB_LINK in Makefile.shlib.

Yes, that was also my first take, but then it broke HPUX, because HPUX does
not add -lc in Makefile.shlib.

There are some other "wrong" -lc's for ports that use the compiler for linking.

One open Problem is, that $(TCL_LIB_SPEC) is not gcc safe when tcl was built with
a native compiler but pg is to be built with gcc (I guess this is quite common on
AIX, since you get tcl from BULL, but build pg yourself).

TCL_LIB_SPEC='-bI:/usr/local/lib/libtcl8.2${TCL_DBGX}.exp'
but should be:
TCL_LIB_SPEC='-Wl,-bI:/usr/local/lib/libtcl8.2${TCL_DBGX}.exp'

Any idea how to fix this ?

Andreas


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

Предыдущее
От: Jean-Michel POURE
Дата:
Сообщение: pgAdmin2 Japanese display
Следующее
От: Mark kirkwood
Дата:
Сообщение: Re: [SQL] Transient Disk Usage Higher In 7.2 ?