[Bug 232932] devel/elfutils fails to build with GCC 8 (and is two releases behind)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 3 13:47:24 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232932

            Bug ID: 232932
           Summary: devel/elfutils fails to build with GCC 8 (and is two
                    releases behind)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cem at freebsd.org
          Reporter: gerald at FreeBSD.org
            Blocks: 231590
          Assignee: cem at freebsd.org
             Flags: maintainer-feedback?(cem at freebsd.org)

Cf.
http://package22.nyi.freebsd.org/data/112amd64-default-PR231590/2018-10-29_06h48m05s/logs/errors/elfutils-0.172_1.log

obstack.c: In function '_obstack_begin':
obstack.c:167:17: error: cast between incompatible function types from 'void *
(*)(long int)' to 'struct _obstack_chunk * (*)(void *, long int)'
[-Werror=cast-function-type]
   h->chunkfun = (struct _obstack_chunk * (*)(void *, long)) chunkfun;
                 ^
obstack.c:168:16: error: cast between incompatible function types from 'void
(*)(void *)' to 'void (*)(void *, struct _obstack_chunk *)'
[-Werror=cast-function-type]
   h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
                ^


Also this port is two versions behind upstream which released 0.173
end of June and 0.174 in September.  With a bit of luck a version 
update is going to address this issue?


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231590
[Bug 231590] [exp-run] Update GCC_DEFAULT from 7 to 8
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list