[Bug 228478] devel/elfutils: undefined symbols on 10.4-RELEASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 25 03:10:33 UTC 2018


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

            Bug ID: 228478
           Summary: devel/elfutils: undefined symbols on 10.4-RELEASE
           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: asomers at FreeBSD.org
             Flags: maintainer-feedback?(cem at freebsd.org)
          Assignee: cem at freebsd.org

devel/elfutils installs header files which reference symbols that are not
defined anywhere in 10.4-RELEASE.  Here's what happens when you try to include
those headers in a build:

In file included from
/wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/parsers/elf-parser.cc:14:
/usr/local/include/libelf.h:332:8: error: unknown type name 'Elf32_Chdr'
extern Elf32_Chdr *elf32_getchdr (Elf_Scn *__scn);
       ^
/usr/local/include/libelf.h:333:8: error: unknown type name 'Elf64_Chdr'
extern Elf64_Chdr *elf64_getchdr (Elf_Scn *__scn);
       ^
In file included from
/wrkdirs/usr/ports/devel/kcov/work/kcov-35-57-g69dfa9c/src/parsers/elf-parser.cc:16:
In file included from /usr/local/include/elfutils/libdw.h:32:
/usr/local/include/gelf.h:93:9: error: unknown type name 'Elf64_Chdr'
typedef Elf64_Chdr GElf_Chdr;
        ^
3 errors generated

The symbols in question were added to head in r312599 and merged to stable/11
by r318972.  However, they were never merged to stable/10.  devel/elfutils
should probably be marked as BROKEN for releases < 11.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list