You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/construction/xports/graphics/opencv/work/opencv-4.9.0/modules/core/src/system.cpp:573:13: error: unknown type
name 'Elf64_auxv_t'
Elf64_auxv_t auxv;
The #include <gelf.h> statement for Elf64_auxv_t is missing.
The search for the package elfutils which installs the header gelf.h is also missing.
The code section beginning with int cpufile = open("/proc/self/auxv", O_RDONLY); is new in 4.9.0
Additionally, when the file /proc/self/auxv doesn't exist on FreeBSD, it should print that linprocfs should be enabled, because /proc/self/auxv is only created when linprocfs is enabled. The current code is silent in case of the failure to open this file.
In short, 3 items need to be fixed:
Add the include for Elf64_auxv_t
Add search for the elfutils in configure
Add the user warning when "/proc/self/auxv" isn't available on FreeBSD suggesting to enable linprocfs
Steps to reproduce
n/a
Issue submission checklist
I report the issue, it's not a question
I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
I updated to the latest OpenCV version and the issue is still there
There is reproducer code and related data files (videos, images, onnx, etc)
The text was updated successfully, but these errors were encountered:
System Information
OpenCV version: 4.9.0
FreeBSD 15
Detailed description
The
#include <gelf.h>
statement forElf64_auxv_t
is missing.The search for the package
elfutils
which installs the headergelf.h
is also missing.The code section beginning with
int cpufile = open("/proc/self/auxv", O_RDONLY);
is new in 4.9.0Additionally, when the file /proc/self/auxv doesn't exist on FreeBSD, it should print that
linprocfs
should be enabled, because /proc/self/auxv is only created whenlinprocfs
is enabled. The current code is silent in case of the failure to open this file.In short, 3 items need to be fixed:
Elf64_auxv_t
elfutils
in configurelinprocfs
Steps to reproduce
n/a
Issue submission checklist
The text was updated successfully, but these errors were encountered: