| От | Tom Lane |
|---|---|
| Тема | Re: Linking with -lc not a good idea |
| Дата | |
| Msg-id | 9810.1071849749@sss.pgh.pa.us обсуждение |
| Ответ на | Linking with -lc not a good idea (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> I noticed that pltcl.so is now always linked with -lc. That is normally not a
> good idea with gcc, because gcc figures out its own order of -lgcc and -lc.
Since no actual problem has been reported, either in 7.4 or in the
previous releases that had -lc for many platforms, I'm disinclined
to change this in the stable branches. Feel free to take out the -lc
in HEAD, though, and we'll see if anyone complains.
I cannot recall at the moment if -lc was actually needed on Darwin;
if so we could consider adding SHLIB_LINK += -lc
in Makefile.shlib's darwin case, as is already done for some other
platforms.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера