Date: Thu, 13 Jun 2019 06:29:54 +0000 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 Message-ID: <bug-238538-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238538-7788>