Skip to content

gollvm: missing kernel headers, broken build script for libffi on x86_64 Void Linux #43610

@advancedwebdeveloper

Description

@advancedwebdeveloper

Hello again.
I tried to build gollvm on another musl based Linux distro (additionally to Alpine).
https://www.reddit.com/r/voidlinux/comments/koyhl8/cant_compile_gollvm_on_void_linux/ - reported to the maintainers of Void Linux.
https://gist.github.com/advancedwebdeveloper/28e6c970c2c5301a1666435439312246 - here is the log.

libffi related stuff looks like this:

/home/oceanfish81/workarea/llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/runtime/ffi.go:18:26: error: use of undefined type '__ffi_type'

You can check my compressed build folder
https://drive.google.com/file/d/1EwHPzIcrKFRTWPXEXJRz7yf-PfNRuQnE/view?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions