Re: port report: [FAILURE] FreeBSD 6, Intel icc7

From: Darcy Buskermolen <darcy(at)wavefire(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: port report: [FAILURE] FreeBSD 6, Intel icc7
Date: 2004-12-21 17:26:50
Message-ID: 200412210926.50199.darcy@wavefire.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On December 16, 2004 04:29 pm, Tom Lane wrote:
> Darcy Buskermolen <darcy(at)wavefire(dot)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.

Ok we are making further headway:

gmake[3]: Leaving directory
`/buildfarm/pg-buildfarm/HEAD/pgsql.639/src/timezone'
icc -O -L../../src/port -R/usr/local/pgsql/lib -export-dynamic
access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o
commands/SUBSYS.o executor
/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o nodes/SUBSYS.o
optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o
rewrite/SUBSYS.o storag
e/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o ../../src/timezone/SUBSYS.o
-lpgport_srv -lz -lreadline -lcrypt -lcompat -lm -lutil -o postgres

iccbin: Command line warning: ignoring unknown option '-R/usr/local/pgsql/lib'
/usr/local/intel/compiler70/ia32/bin/ldwrapper/ld: warning: cannot find entry
symbol xport-dynamic; defaulting to 000000000804acc0

gmake[2]: Leaving directory
`/buildfarm/pg-buildfarm/HEAD/pgsql.639/src/backend'
gmake -C backend/utils/mb/conversion_procs all

So it looks like icc dosn't like -export-dynamic

>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

--
Darcy Buskermolen
Wavefire Technologies Corp.
ph: 250.717.0200
fx: 250.763.1759
http://www.wavefire.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2004-12-21 17:41:31 pg_autovacuum w/ dbt2
Previous Message Tom Lane 2004-12-21 17:23:38 Re: RC2 intermittent errors