[Bug 248701] devel/binutils: ld: error: duplicate symbol: program_name
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Aug 17 13:22:59 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248701
Bug ID: 248701
Summary: devel/binutils: ld: error: duplicate symbol:
program_name
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: bapt at FreeBSD.org
Reporter: ohartmann at walstatt.org
Assignee: bapt at FreeBSD.org
Flags: maintainer-feedback?(bapt at FreeBSD.org)
On recent CURRENT (FreeBSD 13.0-CURRENT #15 r364297: Mon Aug 17 14:39:06 CEST
2020 amd64), rebuilding of port devel/binutils fails to build with a linker
error shown below:
[...]
/bin/sh ./libtool --tag=CC --mode=link cc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -fstack-protector-strong -o coffdump
coffdump.o coffgrok.o bucomm.o version.o filemode.o ../bfd/libbfd.la
../libiberty/libiberty.a /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib -L/usr/local/lib
libtool: link: cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow
-O2 -pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fstack-protector-strong -o coffdump coffdump.o coffgrok.o
bucomm.o version.o filemode.o /usr/local/lib/libintl.so -Wl,-rpath
-Wl,/usr/local/lib ../bfd/.libs/libbfd.a -L/usr/local/lib -lz
../libiberty/libiberty.a
ld: error: duplicate symbol: program_name
>>> defined at coffdump.c
>>> coffdump.o:(program_name)
>>> defined at bucomm.c
>>> bucomm.o:(.bss+0x0)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[6]: *** [Makefile:891: coffdump] Error 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list