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 18:22:08
Message-ID: 200412211022.08612.darcy@wavefire.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On December 21, 2004 09:50 am, Tom Lane wrote:
> Darcy Buskermolen <darcy(at)wavefire(dot)com> writes:
> > On December 16, 2004 04:29 pm, Tom Lane wrote:
> >> Hmm. I see in Makefile.freebsd:
> >>
> >> ifdef ELF_SYSTEM
> >> export_dynamic = -export-dynamic
> >> rpath = -R$(rpathdir)
> >> shlib_symbolic = -Wl,-Bsymbolic -lc
> >> endif
> >
> > Ok we are making further headway:
> >
> > 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
> >
> > So it looks like icc dosn't like -export-dynamic
>
> Looks like it doesn't like -R either. You need to determine the correct
> alternative spelling of those switches for us, and then we can put a
> conditional into Makefile.freebsd for icc.

-Wl,-export-dynamic looks to do the job

>
> Is icc available on any other platforms besides FreeBSD?

Yes icc is available for other platforms, most notably linux and MS windows.

>
> regards, tom lane

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2004-12-21 18:24:38 Re: port report: [FAILURE] FreeBSD 6, Intel icc7
Previous Message Sibtay Abbas 2004-12-21 18:03:46 cant execute yyparse() within postgresql