https://bugs.kde.org/show_bug.cgi?id=400164
Bug ID: 400164 Summary: helgrind test encounters mips x-compiler warnings and assembler error Product: valgrind Version: 3.14 SVN Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: helgrind Assignee: jsew...@acm.org Reporter: rwmacl...@gmail.com Target Milestone: --- Created attachment 115832 --> https://bugs.kde.org/attachment.cgi?id=115832&action=edit Patch: Make local functions static to avoid assembler error SUMMARY When building valgrind for Yocto-2.6 and using the musl libc rather than glibc, a file in helgrind encounters an assembler error when building for qemumips/qemumips64. 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=qemumips TCLIBC=musl bitbake valgrind OBSERVED RESULT the valgrind build fails an error: several warnings: ../../../valgrind-3.14.0/helgrind/tests/annotate_hbefore.c:360:6: warning: no previous prototype for 'do_signal' [-Wmissing-prototypes] | void do_signal ( UWord* w ) | ^~~~~~~~~ error: /tmp/cce22iiw.s: Assembler messages: /tmp/cce22iiw.s:446: Error: symbol `exit_0' is already defined /tmp/cce22iiw.s:448: Error: symbol `exit' is already defined /tmp/cce22iiw.s:915: Error: symbol `exit_0' is already defined /tmp/cce22iiw.s:917: Error: symbol `exit' is already defined 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. -- You are receiving this mail because: You are watching all bug changes.