Date: Sun, 09 Jul 2017 12:59:09 +0000 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 Message-ID: <bug-220580-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220580-13>