https://bugs.kde.org/show_bug.cgi?id=400162
Bug ID: 400162 Summary: Patch: Guard against __GLIBC_PREREQ for musl libc Product: valgrind Version: 3.14 SVN Platform: Other OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: rwmacl...@gmail.com Target Milestone: --- Created attachment 115830 --> https://bugs.kde.org/attachment.cgi?id=115830&action=edit Guard against __GLIBC_PREREQ for musl libc SUMMARY When building valgrind for Yocto-2.6 and using the musl libc rather than glibc, STEPS TO REPRODUCE On any desktop Linux system such as Ubuntu-18.04, 0. sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping libsdl1.2-dev xterm 1. git clone git://git.pokylinux.org/poky.git 2. cd poky.git 3. git checkout bc98a1e89dcd7b3f59f99e4382439d9028ba4db2 4. mkdir ../proj; cd ../proj 5. . ../poky.git/oe-init-build-env vg-bug 6. MACHINE=qemux86-64 TCLIBC=musl bitbake valgrind OBSERVED RESULT | ../../../../valgrind-3.14.0/memcheck/tests/linux/sys-statx.c:10:19: error: missing binary operator before token "(" | #if __GLIBC_PREREQ(2,28) | ^ | Makefile:844: recipe for target 'sys-statx.o' failed EXPECTED RESULT valgrind builds without error. SOFTWARE VERSIONS (available in About System) KDE Plasma Version: N/A KDE Frameworks Version: N/A Qt Version: N/A ADDITIONAL INFORMATION patch attached. I can figure out Phabricator if needed. -- You are receiving this mail because: You are watching all bug changes.