Summary: | dev-lang/polyml-5.6 : polyffi.cpp:100:14: error: FFI_SYSV was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Team for the ML programming language family <ml> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Martin.vGagern, slyfox, toolchain, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 667508, 682406 | ||
Deadline: | 2019-05-03 | ||
Attachments: |
emerge-info.txt
dev-lang:polyml-5.6:20181001-133551.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 |
Description
Toralf Förster
![]() Created attachment 548684 [details]
emerge-info.txt
Created attachment 548686 [details]
dev-lang:polyml-5.6:20181001-133551.log
Created attachment 548688 [details]
emerge-history.txt
Created attachment 548690 [details]
environment
Created attachment 548692 [details]
etc.portage.tbz2
Created attachment 548694 [details]
logs.tbz2
I haven't looked at the details yet but it looks like polyml bundles libffi (and maybe uses system's one instead?): config.status: creating include/ffi.h ... config.status: creating libffi.pc config.status: creating fficonfig.h config.status: linking src/x86/ffitarget.h to include/ffitarget.h ... Let me investigate first why ffitarget does not export FFI_SYSV here. https://github.com/libffi/libffi/commit/ef76205647bca77796882d31f6ab5e889f461f07 intentionally dropped 'FFI_SYSV' from X86_64 handling. As well as: FFI_SYSV, FFI_THISCALL, FFI_FASTCALL, FFI_STDCALL, FFI_PASCAL, FFI_REGISTER, It should be FFI_UNIX64 instead. I'll write a tiny wiki page about this ABI breaker, create a tracker and send out ML announcement. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a50ebb55c5fa7be3dd487358effedc9ca7042ad commit 6a50ebb55c5fa7be3dd487358effedc9ca7042ad Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-04-03 08:53:23 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-04-03 08:53:23 +0000 package.mask: Last rite dev-lang/polyml Bug: https://bugs.gentoo.org/667476 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890d180619f0e9262834d5d2e79f7fc0a24a394f commit 890d180619f0e9262834d5d2e79f7fc0a24a394f Author: Tupone Alfredo <tupone@gentoo.org> AuthorDate: 2019-04-05 21:14:49 +0000 Commit: Tupone Alfredo <tupone@gentoo.org> CommitDate: 2019-04-05 21:14:49 +0000 dev-lang/polyml: Fix build with libffi3 Closes: https://bugs.gentoo.org/667476 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-lang/polyml/files/polyml-5.6-ffi3.patch | 18 ++++++++++++++++++ dev-lang/polyml/polyml-5.6.ebuild | 5 ++++- 2 files changed, 22 insertions(+), 1 deletion(-) |