Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 14:46:23 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456635 - head/databases/postgresql92-server
Message-ID:  <201712181446.vBIEkNA8043862@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Mon Dec 18 14:46:23 2017
New Revision: 456635
URL: https://svnweb.freebsd.org/changeset/ports/456635

Log:
  databases/postgresql92-server: set LLD_UNSAFE
  
  postgresql*-client ports fail to build with lld as /usr/bin/ld with
  errors like
  
  /usr/bin/ld: error: can't create dynamic relocation R_X86_64_PC32 against
     symbol: __mb_sb_limit in readonly segment
  >>> defined in /lib/libc.so.7
  >>> referenced by pgstrcasecmp.c
  >>>               pgstrcasecmp.o:(pg_strcasecmp) in archive
    ../../src/port/libpgport.a
  
  Although this appears to affect only -client ports, just set LLD_UNSAFE
  for all of the postgresql*-* ports for simplicity.
  
  Approved by:	portmgr (blanket for LLD_UNSAFE)

Modified:
  head/databases/postgresql92-server/Makefile

Modified: head/databases/postgresql92-server/Makefile
==============================================================================
--- head/databases/postgresql92-server/Makefile	Mon Dec 18 13:45:37 2017	(r456634)
+++ head/databases/postgresql92-server/Makefile	Mon Dec 18 14:46:23 2017	(r456635)
@@ -30,6 +30,7 @@ USES+=		tar:bzip2 cpe
 .if !defined(NO_BUILD)
 USES+=	gmake
 GNU_CONFIGURE=	yes
+LLD_UNSAFE=	yes
 .endif
 
 PG_USER?=	pgsql



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712181446.vBIEkNA8043862>