From owner-freebsd-ports-bugs@freebsd.org Sun Jul 9 12:59:10 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56ECADB1CF6 for ; Sun, 9 Jul 2017 12:59:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4452F838FE for ; Sun, 9 Jul 2017 12:59:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v69Cx91X013190 for ; Sun, 9 Jul 2017 12:59:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 220580] databases/postgresql96-client: (LLD) linker error: can't create dynamic relocation R_X86_64_PC32 against symbol Date: Sun, 09 Jul 2017 12:59:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pgsql@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 12:59:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220580 Bug ID: 220580 Summary: databases/postgresql96-client: (LLD) linker error: can't create dynamic relocation R_X86_64_PC32 against symbol Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: pgsql@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(pgsql@FreeBSD.org) Assignee: pgsql@FreeBSD.org On 12-CURRENT (12.0-CURRENT #15 r320829: Sun Jul 9 14:21:44 CEST 2017 amd6= 4), port databases/postgresql96-client started recently failing compiling due to linker error when system (OS) is build WITH_LLD_IS_LD=3DYES. The same happens to poudriere build (most recent poudriere, jail is the very same copied/installed from /usr/src. In poudriere, even linking ld -> ld.bfd doesn't resolve the problem as it does on a system which has been installed WITH_LLD_IS_LD=3DYES and then link ld -> ll.bdf. This "trick" worked for me= on the host. [...] cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe -O= 3=20 -O3 -funroll-loops -fstack-protector -fno-strict-aliasing -fPIC -DPIC -L../../src/port -L../../src/common -L/usr/local/lib -lpthread -lgssapi -L/usr/local/lib -fstack-protector -L/usr/local/lib -Wl,--as-needed -Wl,-R'/usr/local/lib' -L../../src/port -lpgport -lgssapi -shared -o timetravel.so timetravel.o /usr/bin/ld: error: pgstrcasecmp.c:(function pg_strcasecmp): can't create dynamic relocation R_X86_64_PC32 against symbol '__mb_sb_limit' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_strcasecmp): can't create dynamic relocation R_X86_64_PC32 against symbol '_CurrentRuneLocale' define= d in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_strcasecmp): can't create dynamic relocation R_X86_64_32 against symbol '_DefaultRuneLocale' defined = in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_strncasecmp): can't create dynamic relocation R_X86_64_PC32 against symbol '__mb_sb_limit' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_strncasecmp): can't create dynamic relocation R_X86_64_PC32 against symbol '_CurrentRuneLocale' define= d in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_strncasecmp): can't create dynamic relocation R_X86_64_32 against symbol '_DefaultRuneLocale' defined = in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_toupper): can't create dyna= mic relocation R_X86_64_PC32 against symbol '__mb_sb_limit' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_toupper): can't create dyna= mic relocation R_X86_64_PC32 against symbol '_CurrentRuneLocale' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_toupper): can't create dyna= mic relocation R_X86_64_32 against symbol '_DefaultRuneLocale' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_toupper): can't create dyna= mic relocation R_X86_64_PC32 against symbol '_CurrentRuneLocale' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_toupper): can't create dyna= mic relocation R_X86_64_32 against symbol '_DefaultRuneLocale' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_tolower): can't create dyna= mic relocation R_X86_64_PC32 against symbol '__mb_sb_limit' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_tolower): can't create dyna= mic relocation R_X86_64_PC32 against symbol '_CurrentRuneLocale' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_tolower): can't create dyna= mic relocation R_X86_64_32 against symbol '_DefaultRuneLocale' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_tolower): can't create dyna= mic relocation R_X86_64_PC32 against symbol '_CurrentRuneLocale' defined in /lib/libc.so.7 /usr/bin/ld: error: pgstrcasecmp.c:(function pg_tolower): can't create dyna= mic relocation R_X86_64_32 against symbol '_DefaultRuneLocale' defined in /lib/libc.so.7 cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [../../src/Makefile.port:16: timetravel.so] Error 1 gmake[3]: Leaving directory '/usr/ports/databases/postgresql96-client/work/postgresql-9.6.3/contrib/spi' gmake[2]: *** [GNUmakefile:111: submake-contrib-spi] Error 2 gmake[2]: Leaving directory '/usr/ports/databases/postgresql96-client/work/postgresql-9.6.3/src/test/re= gress' *** Error code 2 --=20 You are receiving this mail because: You are the assignee for the bug.=