Symbol referencing errors

2019-04-22 Thread Li Japin
CreateTemplateTupleDesc adminpack.o TupleDescInitEntry  adminpack.o ld: warning: symbol referencing errors make[1]: Leaving directory '/home/postgres/postgresql-11.2/contrib/adminpack' My environment is: # cat /etc/release     Smar

Symbol referencing errors

2019-04-22 Thread Li Japin
CreateTemplateTupleDesc adminpack.o TupleDescInitEntry  adminpack.o ld: warning: symbol referencing errors make[1]: Leaving directory '/home/postgres/postgresql-11.2/contrib/adminpack' My environment is: # cat /etc/release     Smar

Re: Symbol referencing errors

2019-04-22 Thread Tom Lane
Li Japin writes: > When I compile PostgreSQL-11.2 on SmartOS, I find the following errors: > ... > ld: warning: symbol referencing errors Yeah, our SmartOS buildfarm members show those warnings too, eg https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=damselfly&dt=20

Re: Symbol referencing errors

2019-04-22 Thread Li Japin
On 4/23/19 12:09 PM, Tom Lane wrote: > AFAICT they're harmless, so my advice is just ignore them. > > If you're sufficiently annoyed by them to find the cause > and try to fix it, go ahead, but I haven't heard anyone > else worried about it. It might be that SmartOS wants > something like what w

Re: Symbol referencing errors

2019-04-22 Thread Andrew Gierth
>>>>> "Tom" == Tom Lane writes: >> When I compile PostgreSQL-11.2 on SmartOS, I find the following errors: >> ... >> ld: warning: symbol referencing errors Tom> Yeah, our SmartOS buildfarm members show those warnings too, eg Tom> https://b

Re: Symbol referencing errors

2019-04-23 Thread Laurenz Albe
On Tue, 2019-04-23 at 04:26 +, Li Japin wrote: > Yes, those errors does not impact the postgresql, but when > I use oracle_fdw extension, I couldn't startup the postgresql, > and I find that the dlopen throw an error which lead postmaster > exit, and there is not more information. That may wal

Re: Symbol referencing errors

2019-04-23 Thread Alvaro Herrera
On 2019-Apr-23, Laurenz Albe wrote: > Maybe you should open an oracle_fdw issue, but I don't know how > much I can help you, since this is the first time I have heard > of SmartOS. SmartOS is just the continuation of OpenSolaris, AFAIU. -- Álvaro Herrerahttps://www.2ndQuadrant.c

Re: Symbol referencing errors

2019-04-23 Thread Tom Lane
Alvaro Herrera writes: > On 2019-Apr-23, Laurenz Albe wrote: >> Maybe you should open an oracle_fdw issue, but I don't know how >> much I can help you, since this is the first time I have heard >> of SmartOS. > SmartOS is just the continuation of OpenSolaris, AFAIU. Yeah. You can see these same

Re: Symbol referencing errors

2019-04-24 Thread Li Japin
Hi, Finally, I find this crash is caused by shmget_osm, which does not support SmartOS (maybe, I am not sure). When I install Oracle Instant Client 12.2.0.1.0, it works. https://github.com/laurenz/oracle_fdw/issues/313 On 4/23/19 3:09 PM, Laurenz Albe wrote: On Tue, 2019-04-23 at 04:26 +,

Re: Symbol referencing errors

2019-04-22 Thread Tom Lane
Li Japin writes: > When I compile PostgreSQL-11.2 on SmartOS, I find the following errors: > ... > ld: warning: symbol referencing errors Yeah, our SmartOS buildfarm members show those warnings too, eg https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=damselfly&dt=20

Re: Symbol referencing errors

2019-04-22 Thread Li Japin
On 4/23/19 12:09 PM, Tom Lane wrote: > AFAICT they're harmless, so my advice is just ignore them. > > If you're sufficiently annoyed by them to find the cause > and try to fix it, go ahead, but I haven't heard anyone > else worried about it. It might be that SmartOS wants > something like what w

Re: Symbol referencing errors

2019-04-22 Thread Andrew Gierth
>>>>> "Tom" == Tom Lane writes: >> When I compile PostgreSQL-11.2 on SmartOS, I find the following errors: >> ... >> ld: warning: symbol referencing errors Tom> Yeah, our SmartOS buildfarm members show those warnings too, eg Tom> https://b

Re: Symbol referencing errors

2019-04-23 Thread Laurenz Albe
On Tue, 2019-04-23 at 04:26 +, Li Japin wrote: > Yes, those errors does not impact the postgresql, but when > I use oracle_fdw extension, I couldn't startup the postgresql, > and I find that the dlopen throw an error which lead postmaster > exit, and there is not more information. That may wal

Re: Symbol referencing errors

2019-04-23 Thread Alvaro Herrera
On 2019-Apr-23, Laurenz Albe wrote: > Maybe you should open an oracle_fdw issue, but I don't know how > much I can help you, since this is the first time I have heard > of SmartOS. SmartOS is just the continuation of OpenSolaris, AFAIU. -- Álvaro Herrerahttps://www.2ndQuadrant.c

Re: Symbol referencing errors

2019-04-23 Thread Tom Lane
Alvaro Herrera writes: > On 2019-Apr-23, Laurenz Albe wrote: >> Maybe you should open an oracle_fdw issue, but I don't know how >> much I can help you, since this is the first time I have heard >> of SmartOS. > SmartOS is just the continuation of OpenSolaris, AFAIU. Yeah. You can see these same

Re: Symbol referencing errors

2019-04-24 Thread Li Japin
Hi, Finally, I find this crash is caused by shmget_osm, which does not support SmartOS (maybe, I am not sure). When I install Oracle Instant Client 12.2.0.1.0, it works. https://github.com/laurenz/oracle_fdw/issues/313 On 4/23/19 3:09 PM, Laurenz Albe wrote: On Tue, 2019-04-23 at 04:26 +,

Re: Symbol referencing errors

2022-08-23 Thread Andres Freund
gt; below.) For the record, yes, the "ld: warning: symbol referencing errors" warnings are due to -Bsymbolic while linking extensions. The man page says: "The link-editor issues warnings for undefined symbols unless -z defs overrides" > Since this is an ELF platf

Re: Symbol referencing errors

2022-08-23 Thread Andres Freund
Bsymbolic is there for a reason, you can't just remove it - but see > > below.) > > For the record, yes, the "ld: warning: symbol referencing errors" warnings are > due to -Bsymbolic while linking extensions. The man page says: > "The link-editor issues warning