Re: port report: [FAILURE] FreeBSD 6, Intel icc7
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Darcy Buskermolen <darcy@wavefire.com>
Cc: pgsql-hackers@postgresql.org
Date: 2004-12-17T00:29:48Z
Lists: pgsql-hackers
Darcy Buskermolen <darcy@wavefire.com> writes: > On December 16, 2004 12:37 pm, Tom Lane wrote: > I think you are in need of the local equivalent to GNU ld's -E or > --export-dynamic switch, ie, make sure that all global symbols within > the backend will be available to dynamically loaded libraries. > xild just gets envoked as a wrapper to gnu ld by the looks of it. Hmm. I see in Makefile.freebsd: ifdef ELF_SYSTEM export_dynamic = -export-dynamic rpath = -R$(rpathdir) shlib_symbolic = -Wl,-Bsymbolic -lc endif Perhaps ELF_SYSTEM isn't getting defined? Or maybe it's being picky about seeing --export-dynamic instead of -export-dynamic ? Or you need to spell it like "-Wl,-E" to get it past icc and into the linker? You did not show the build log, but take a look at how the postgres executable is getting linked to see if -export-dynamic is getting in there or not. regards, tom lane