https://bugs.kde.org/show_bug.cgi?id=512291
Bug ID: 512291
Summary: Valgrind on Solaris should drop support for long gone
/dev/crypto framework
Classification: Developer tools
Product: valgrind
Version First 3.24.0
Reported In:
Platform: Other
OS: Unspecified
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Solaris did remove /dev/crypto framework in 2018. Reason being that more recent
sparc systems (>= Sparc T4) have the crypto instructions available to
non-privileged code, so kernel driver is no longer necessary. Even though the
code was removed, the header with corresponding structures and definitions
remained on System. Now Solaris removes the headers
(/usr/include/sys/crypto/ioctl.h) and so valgrind fails to compile.
STEPS TO REPRODUCE
1. Compile valgrind on Solaris >= b211 which corresponds to (not yet released)
SRU90.
OBSERVED RESULT
In file included from
/scratch/ulhg/jenkins-nightly-on-nightly/components/valgrind/valgrind-3.24.0/include/pub_tool_vki.h:53,
from pub_core_vki.h:42,
from m_debuglog.c:58:
/scratch/ulhg/jenkins-nightly-on-nightly/components/valgrind/valgrind-3.24.0/include/vki/vki-solaris.h:338:10:
fatal error: sys/crypto/ioctl.h: No such file or directory
338 | #include <sys/crypto/ioctl.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
EXPECTED RESULT
Valgrind should compile
SOFTWARE/OS VERSIONS
Solaris: SRU 90
ADDITIONAL INFORMATION
Even though valgrind did compile just fine, since 2018 it is not possible to
use the /dev/crypto framework so the code in valgrind can not be executed too.
--
You are receiving this mail because:
You are watching all bug changes.