Re: Regression - GNUmakefile - pg_usleep
От | Tom Lane |
---|---|
Тема | Re: Regression - GNUmakefile - pg_usleep |
Дата | |
Msg-id | 16709.1122248017@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Regression - GNUmakefile - pg_usleep ("Rocco Altier" <RoccoA@Routescape.com>) |
Список | pgsql-patches |
"Rocco Altier" <RoccoA@Routescape.com> writes: > This time I actually have the patches :-) I've applied the parts of this that add -lm to contrib modules, but not the parts that add -lpgport. That's because libpgport is not built to be relocatable, and so including it fails hard on platforms that care: /usr/ccs/bin/ld +h libtsearch2.sl.0 -b +b /home/postgres/testversion/lib dict_ex.o dict.o snmap.o stopword.o common.o prs_dcfg.odict_snowball.o dict_ispell.o dict_syn.o wparser.o wparser_def.o ts_cfg.o tsvector.o rewrite.o crc32.o query.ogistidx.o tsvector_op.o rank.o ts_stat.o snowball/SUBSYS.o ispell/SUBSYS.o wordparser/SUBSYS.o -L../../src/port -L/usr/local/lib-lpgport -lm `gcc -L../../src/port -Wl,-z -Wl,+b -Wl,/home/postgres/testversion/lib -print-libgcc-file-name` -o libtsearch2.sl.0 /usr/ccs/bin/ld: DP relative code in file ../../src/port/libpgport.a(exec.o) - shared library must be position independent. Use +z or +Z to recompile. make: *** [libtsearch2.sl.0] Error 1 We will need to either eliminate the dependencies on libpgport, or use the extra-compilation technique used in, eg, libpq. regards, tom lane
В списке pgsql-patches по дате отправления: