From owner-freebsd-ports-bugs@freebsd.org Thu Jun 13 06:29:57 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AB3A15CD69A for ; Thu, 13 Jun 2019 06:29:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D13D66E5BB for ; Thu, 13 Jun 2019 06:29:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 87EFD15CD697; Thu, 13 Jun 2019 06:29:56 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 631DB15CD695 for ; Thu, 13 Jun 2019 06:29:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBD776E5B1 for ; Thu, 13 Jun 2019 06:29:55 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F114EE667 for ; Thu, 13 Jun 2019 06:29:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5D6TsSq009471 for ; Thu, 13 Jun 2019 06:29:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5D6TsKu009470 for ports-bugs@FreeBSD.org; Thu, 13 Jun 2019 06:29:54 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 238538] devel/elfutils: fails to build with GCC 9+: libelfP.h:47:30: error: '__elf32_msize' specifies less restrictive attribute Date: Thu, 13 Jun 2019 06:29:54 +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 Some People X-Bugzilla-Who: gerald@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: cem@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 blocked 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2019 06:29:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238538 Bug ID: 238538 Summary: devel/elfutils: fails to build with GCC 9+: libelfP.h:47:30: error: '__elf32_msize' specifies less restrictive attribute Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: cem@freebsd.org Reporter: gerald@FreeBSD.org Blocks: 238330 Assignee: cem@freebsd.org Flags: maintainer-feedback?(cem@freebsd.org) Building elfutils with GCC 9 instead of older versions results in on amd64 platforms: In file included from ../config.h:132, from elf32_fsize.c:31: libelfP.h:47:30: error: '__elf32_msize' specifies less restrictive attribute than its target 'elf32_fsize': 'const' [-Werror=3Dmissing-attributes] 47 | #define __elfw2_(Bits, Name) __elf##Bits##_##Name | ^~~~~ This currently blocks the update of GCC_DEFAULT to that newer version, cf. PR 238330. Logs at http://package22.nyi.freebsd.org/data/112amd64-default-PR238330/2019-06-09_= 20h29m30s/logs/errors/elfutils-0.174_2.log http://package18.nyi.freebsd.org/data/120amd64-default-PR238330/2019-06-09_= 20h26m27s/logs/errors/elfutils-0.174_2.log https://gcc.gnu.org/gcc-9/porting_to.html and the general release notes https://gcc.gnu.org/gcc-9/changes.html may prove useful. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238330 [Bug 238330] [exp-run] Update GCC_DEFAULT from 8 to 9 --=20 You are receiving this mail because: You are the assignee for the bug.=