From owner-freebsd-ports-bugs@freebsd.org Mon Jun 22 15:35:21 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 69F8634FDF3 for ; Mon, 22 Jun 2020 15:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49rD4n2DCDz3WF1 for ; Mon, 22 Jun 2020 15:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4A77E330502; Mon, 22 Jun 2020 15:35:21 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A3F5330501 for ; Mon, 22 Jun 2020 15:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49rD4n1M3gz3WVX for ; Mon, 22 Jun 2020 15:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0FD8110542 for ; Mon, 22 Jun 2020 15:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05MFZKnd058666 for ; Mon, 22 Jun 2020 15:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05MFZKgr058665 for ports-bugs@FreeBSD.org; Mon, 22 Jun 2020 15:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247480] devel/binutils can't be built with lang/gcc? Date: Mon, 22 Jun 2020 15:35:20 +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 Only Me X-Bugzilla-Who: gja822@narod.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bapt@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.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2020 15:35:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247480 Bug ID: 247480 Summary: devel/binutils can't be built with lang/gcc? Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: gja822@narod.ru Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) I'm not sure if this is a bug really, but rather strange that GNU binutils cannot be build with GBU compiler. Well, I've tried gcc7, gcc8, gcc10. Only very old gcc-4.8 can conpile it without the error: /bin/sh ./libtool --tag=3DCC --mode=3Dlink gcc10 -W -Wall -Wstrict-proto= types -Wmissing-prototypes -Wshadow -Wstack-usage=3D262144 -O2 -pipe -march=3Dbd= ver2=20 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 -o coffdump coffd= ump.o coffgrok.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a -L/usr/local/lib libtool: link: gcc10 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wsh= adow -Wstack-usage=3D262144 -O2 -pipe -march=3Dbdver2 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/g= cc10 -o coffdump coffdump.o coffgrok.o bucomm.o version.o filemode.o=20 -L/usr/local/lib/gcc10 ../bfd/.libs/libbfd.a -L/usr/local/lib -lz ../libiberty/libiberty.a /usr/local/bin/ld: bucomm.o:(.bss+0x0): multiple definition of `program_nam= e'; coffdump.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status gmake[6]: *** [Makefile:891: coffdump] Error 1 gmake[6]: Leaving directory '/usr/ports/devel/binutils/work-native/binutils-2.33.1/binutils' --=20 You are receiving this mail because: You are the assignee for the bug.=