From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Solaris FAQ |
Date: | 2000-10-19 16:12:21 |
Message-ID: | 200010191612.MAA17160@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Oh, OK.
> Bruce Momjian writes:
>
> > I see in makefiles/Makefile.solaris:
> >
> > %.so: %.o
> > $(LD) -G -Bdynamic -o $@ $<
> > ^^^^^^^^^
> >
> > Is that OK?
>
> This is unrelated. The issue at hand is that the postgres/postmaster
> executable must export its symbols so that the dynamically loaded modules
> (e.g., PL handlers) can refer back to them. Normally this is done using
> -Wl,-E when linking the postmaster executable. However, the Solaris
> linker does not have this option, I believe it does it by default. So we
> have to first find out what linker is being used and then write something
> like
>
> if {GNU ld}
> export_dynamic := -Wl,-E
> endif
>
> >
> >
> > Bruce Momjian writes:
> > >
> > > > I have removed the new --export-dynamic item from the Solaris FAQ.
> > > > Looks like 7.1 has it fixed already.
> > >
> > > Not that I could tell.
> > >
> > > --
> > > Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
> > >
> > >
> >
> >
> >
>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-10-19 16:14:26 | Re: Solaris FAQ |
Previous Message | The Hermit Hacker | 2000-10-19 16:00:28 | Re: make depend (Re: Coming attractions: VPATH build; make variables issue) |