Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on armv6, armv7: error: unknown type name 'Elf32_auxv_t' #1116

Closed
yurivict opened this issue Aug 2, 2022 · 1 comment
Closed

Comments

@yurivict
Copy link

yurivict commented Aug 2, 2022

In file included from /wrkdirs/usr/ports/audio/sfizz/work/sfizz-0.4.0/src/external/cpuid/src/cpuid/cpuinfo.cpp:20:
/wrkdirs/usr/ports/audio/sfizz/work/sfizz-0.4.0/src/external/cpuid/src/cpuid/detail/init_linux_gcc_arm.hpp:43:5: error: unknown type name 'Elf32_auxv_t'
    Elf32_auxv_t auxv;
    ^
/wrkdirs/usr/ports/audio/sfizz/work/sfizz-0.4.0/src/external/cpuid/src/cpuid/detail/init_linux_gcc_arm.hpp:47:41: error: use of undeclared identifier 'Elf32_auxv_t'
        const auto size_auxv_t = sizeof(Elf32_auxv_t);
                                        ^
2 errors generated.

This failure is in src/external/cpuid.

Is it possible to change to use package-installed cpuid?

Version: 0.4.0
clang-14
FreeBSD 13.1

@yurivict yurivict changed the title Build fails on armv7: error: unknown type name 'Elf32_auxv_t' Build fails on armv6, armv7: error: unknown type name 'Elf32_auxv_t' Aug 2, 2022
@redtide
Copy link
Member

redtide commented May 27, 2023

Is it possible to change to use package-installed cpuid?

Apologies for these late replies.
AFAICS there is no cpuid package in major distributions of Linux and FreeBSD, so I have no idea how to identify it with CMake. Note that there is another one: https://github.com/anrieff/libcpuid (currently v0.6.3), but the one we are using is https://github.com/steinwurf/cpuid/ (v8.0.0). I'm going to close these issues. Please reopen if still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants