Build 8.2 with an old linker
От | Thorkil Olesen |
---|---|
Тема | Build 8.2 with an old linker |
Дата | |
Msg-id | NCBBIMOOOPMGKJGHBCPOAEJACGAA.thorkil@pip.dknet.dk обсуждение исходный текст |
Ответы |
Re: Build 8.2 with an old linker
Re: Build 8.2 with an old linker |
Список | pgsql-ports |
I could not build Postgresql 8.2 with an old linker. I complained about a wrong syntax of version-script when linking libpq. I solved it by adding an arbitrary version-name to the script, and everything seems to work now. Is it really that simple? If it is, I would suggest to make the change in the main source. I know that few use that old systems, but as long as compatibility can be retained, there is no need to brake it. [root@linux lib]# gcc --version 2.96 [root@linux lib]# ld --version GNU ld 2.10.91 Copyright 2001 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. Supported emulations: elf_i386 i386linux elf_i386_glibc21 ------ PATCH START HERE ------- --- postgresql-8.2.0/src/interfaces/libpq/Makefile.old Fri Dec 15 15:57:52 2006 +++ postgresql-8.2.0/src/interfaces/libpq/Makefile Fri Dec 15 15:58:53 2006 @@ -140,7 +140,7 @@ $(shlib): exports.list exports.list: exports.txt - echo '{ global:' >$@ + echo 'VERSION { global:' >$@ $(AWK) '/^[^#]/ {printf "%s;\n",$$1}' $< >>$@ echo ' local: *; };' >>$@ ------ PATCH END HERE ------- -- Thorkil Olesen, Hanstholm, Denmark.
В списке pgsql-ports по дате отправления: