Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2018 13:47:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232932] devel/elfutils fails to build with GCC 8 (and is two releases behind)
Message-ID:  <bug-232932-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232932

            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@freebsd.org
          Reporter: gerald@FreeBSD.org
            Blocks: 231590
          Assignee: cem@freebsd.org
             Flags: maintainer-feedback?(cem@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 'voi=
d *
(*)(long int)' to 'struct _obstack_chunk * (*)(void *, long int)'
[-Werror=3Dcast-function-type]
   h->chunkfun =3D (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=3Dcast-function-type]
   h->freefun =3D (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=20
update is going to address this issue?


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231590
[Bug 231590] [exp-run] Update GCC_DEFAULT from 7 to 8
--=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-232932-7788>