[Bug 238538] devel/elfutils: fails to build with GCC 9+: libelfP.h:47:30: error: '__elf32_msize' specifies less restrictive attribute
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jun 13 06:29:57 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238538
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 at freebsd.org
Reporter: gerald at FreeBSD.org
Blocks: 238330
Assignee: cem at freebsd.org
Flags: maintainer-feedback?(cem at 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=missing-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=238330
[Bug 238330] [exp-run] Update GCC_DEFAULT from 8 to 9
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list