Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hImks-00067x-Nq for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Apr 2019 04:10:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hImkr-0002e6-A4 for pgsql-hackers@arkaria.postgresql.org; Tue, 23 Apr 2019 04:10:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hImkq-0002dz-SX for pgsql-hackers@lists.postgresql.org; Tue, 23 Apr 2019 04:10:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hImko-0002AL-Ak for pgsql-hackers@postgresql.org; Tue, 23 Apr 2019 04:09:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x3N49qmA017012; Tue, 23 Apr 2019 00:09:52 -0400 From: Tom Lane To: Li Japin cc: "pgsql-hackers@postgresql.org" Subject: Re: Symbol referencing errors In-reply-to: References: Comments: In-reply-to Li Japin message dated "Tue, 23 Apr 2019 03:56:06 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17010.1555992592.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 23 Apr 2019 00:09:52 -0400 Message-ID: <17011.1555992592@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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=3Ddamselfly&= dt=3D2019-04-22%2010%3A00%3A15&stg=3Dmake-contrib 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 we have to do on macOS and AIX, ie provide the core postgres executable in some sort of linker switch while linking shlibs that will be loaded by that executable. regards, tom lane