[valgrind] [Bug 396905] compile tests failure on mips32-linux: Error: opcode not supported on this processor: mips1 (mips1)

2023-11-08 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=396905

Randy MacLeod  changed:

   What|Removed |Added

 CC||rwmacl...@gmail.com

--- Comment #6 from Randy MacLeod  ---
I dropped Hongxu's patch in the Yocto/oe-core valgrind recipe that I'm updating
and it works for me now too.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 400164] helgrind test encounters mips x-compiler warnings and assembler error

2023-11-08 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=400164

--- Comment #2 from Randy MacLeod  ---
Yes, that works Petar. I'm in the middle of updating the Yocto valgrind recipe
to 3.22.0 so I'm finally dropping our local patch!
Thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 434775] drd/tests/swapcontext.c doesn't build with musl

2023-11-08 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=434775

Randy MacLeod  changed:

   What|Removed |Added

 CC||rwmacl...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 454346] [PATCH] ARM fixes from the Yocto project

2023-11-08 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=454346

Randy MacLeod  changed:

   What|Removed |Added

 CC||rwmacl...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 462553] -mpreferred-stack-boundary=2 on 32 bit x86 causes crashes when SSE is also enabled (e.g. used by glibc)

2022-12-08 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=462553

Randy MacLeod  changed:

   What|Removed |Added

 CC||rwmacl...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 439590] glibc-2.34 breaks suppressions against obj:*/lib*/libc-2.*so*

2021-07-08 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=439590

Randy MacLeod  changed:

   What|Removed |Added

 CC||rwmacl...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 439082] memcheck/tests/linux/stack_changes fails on qemuarm64 builds

2021-06-23 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=439082

Randy MacLeod  changed:

   What|Removed |Added

 CC||rwmacl...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 400164] New: helgrind test encounters mips x-compiler warnings and assembler error

2018-10-22 Thread Randy MacLeod
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.

[valgrind] [Bug 400162] Patch: Guard against __GLIBC_PREREQ for musl libc

2018-10-22 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=400162

--- Comment #2 from Randy MacLeod  ---
Created attachment 115831
  --> https://bugs.kde.org/attachment.cgi?id=115831&action=edit
This is the correct patch for this bug

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 400162] Patch: Guard against __GLIBC_PREREQ for musl libc

2018-10-22 Thread Randy MacLeod
https://bugs.kde.org/show_bug.cgi?id=400162

--- Comment #1 from Randy MacLeod  ---
Oops, the summary should be:

When building valgrind for Yocto-2.6 and using the musl libc rather than glibc, 
the build fails due to GLIBC-only features not being guarded against.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 400162] New: Patch: Guard against __GLIBC_PREREQ for musl libc

2018-10-22 Thread Randy MacLeod
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.