Log
[1m===> Building for lscpu-1.0.0[0m
clang -g -O2 -Wall -o lscpu lscpu.c
lscpu.c:552:5: warning: implicit declaration of function '__cpuid' is invalid in C99 [-Wimplicit-function-declaration]
__cpuid(0, eax, ebx, ecx, edx);
^
lscpu.c:627:13: warning: implicit declaration of function '__cpuid_count' is invalid in C99 [-Wimplicit-function-declaration]
__cpuid_count(CPUID_STANDARD_4_MASK, subleaf, eax, ebx, ecx, edx);
^
lscpu.c:552:16: warning: variable 'eax' is uninitialized when used here [-Wuninitialized]
__cpuid(0, eax, ebx, ecx, edx);
^~~
lscpu.c:550:17: note: initialize the variable 'eax' to silence this warning
uint32_t eax, ebx, ecx, edx;
^
= 0
lscpu.c:552:21: warning: variable 'ebx' is uninitialized when used here [-Wuninitialized]
__cpuid(0, eax, ebx, ecx, edx);
^~~
lscpu.c:550:22: note: initialize the variable 'ebx' to silence this warning
uint32_t eax, ebx, ecx, edx;
^
= 0
lscpu.c:552:26: warning: variable 'ecx' is uninitialized when used here [-Wuninitialized]
__cpuid(0, eax, ebx, ecx, edx);
^~~
lscpu.c:550:27: note: initialize the variable 'ecx' to silence this warning
uint32_t eax, ebx, ecx, edx;
^
= 0
lscpu.c:552:31: warning: variable 'edx' is uninitialized when used here [-Wuninitialized]
__cpuid(0, eax, ebx, ecx, edx);
^~~
lscpu.c:550:32: note: initialize the variable 'edx' to silence this warning
uint32_t eax, ebx, ecx, edx;
^
= 0
6 warnings generated.
/tmp/lscpu-gGLMf0.o: In function `get_x86_cpu_info':
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:552: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:561: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:571: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:599: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:627: undefined reference to `__cpuid_count'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:697: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:714: undefined reference to `__cpuid_count'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:740: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:754: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:775: undefined reference to `__cpuid'
/magus/work/usr/mports/sysutils/lscpu/work/lscpu-1.0.0/lscpu.c:809: undefined reference to `__cpuid'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [all] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/mports/sysutils/lscpu.