Date: Mon, 17 Aug 2020 13:22:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 248701] devel/binutils: ld: error: duplicate symbol: program_name Message-ID: <bug-248701-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248701 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@FreeBSD.org Reporter: ohartmann@walstatt.org Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) On recent CURRENT (FreeBSD 13.0-CURRENT #15 r364297: Mon Aug 17 14:39:06 CE= ST 2020 amd64), rebuilding of port devel/binutils fails to build with a linker error shown below: [...] /bin/sh ./libtool --tag=3DCC --mode=3Dlink cc -W -Wall -Wstrict-prototyp= es -Wmissing-prototypes -Wshadow -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o coff= dump 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 coffgr= ok.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 --=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-248701-7788>