Summary: | devel/elfutils fails to build with GCC 8 (and is two releases behind) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Gerald Pfeifer <gerald> |
Component: | Individual Port(s) | Assignee: | Conrad Meyer <cem> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | ||
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Gerald Pfeifer
![]() ![]() (In reply to Gerald Pfeifer from comment #0) > With a bit of luck a version update is going to address this issue? With this port, new versions usually fix some issues and introduc new linuxisms :-). For what it's worth, it looks like the GCC8 build may be fixed by adding '-Wno-error=cast-function-type' to CFLAGS. Dependent ports that need to be verified if we update elfutils: devel/abi-compliance-checker (well, RUN-only depend) devel/kcov (LIB depends) (In reply to Conrad Meyer from comment #4) > WIP: https://reviews.freebsd.org/D17832 Great, thank you, Conrad! No longer a blocking issue after ports r484385. A commit references this bug: Author: cem Date: Wed Nov 7 05:39:49 UTC 2018 New revision: 484387 URL: https://svnweb.freebsd.org/changeset/ports/484387 Log: Update devel/elfutils to 0.174 PR: 232932 Reported by: gerald Approved by: gerald Differential Revision: https://reviews.freebsd.org/D17832 Changes: head/devel/elfutils/Makefile head/devel/elfutils/distinfo head/devel/elfutils/files/patch-libelf_elf_update.c head/devel/elfutils/files/patch-tests_Makefile.am head/devel/elfutils/pkg-plist gcc8 part here: https://reviews.freebsd.org/D17882 A commit references this bug: Author: cem Date: Wed Nov 7 21:13:16 UTC 2018 New revision: 484412 URL: https://svnweb.freebsd.org/changeset/ports/484412 Log: devel/elfutils: Unbreak gcc8 build Drop one new gcc8 warning, and fix another in the FreeBSD glibc- compatibility shim patch. Re-enable gcc8 option (USE_GCC= yes). Bump PORTREVISION due to the patch change (no functional change). PR: 232932 Reported by: gerald, kib Reviewed by: bdrewery Approved by: bdrewery Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D17882 Changes: head/devel/elfutils/Makefile head/devel/elfutils/files/patch-lib_eu-config.h |