Martin Pieuchot: > > So here's a first step, introducing /usr/include/elf.h. Could some of > > you run a bulk with it and report the possible breakages? > > Now that the offending function declaration has been remove from libc > libelf builds as before. > > Could you guys tell us if there's any other fallout from this diff?
On amd64, two ports failed to build: devel/libdwarf and devel/valgrind. ===> devel/libdwarf print_reloc.c:150:10: error: use of undeclared identifier 'EM_PPC64' case EM_PPC64: ^ ===> devel/valgrind m_coredump/coredump-elf.c:105:22: error: use of undeclared identifier 'EM_X86_64' ehdr->e_machine = VG_ELF_MACHINE; ^ ./pub_core_machine.h:51:31: note: expanded from macro 'VG_ELF_MACHINE' # define VG_ELF_MACHINE EM_X86_64 ^ -- Christian "naddy" Weisgerber na...@mips.inka.de