[valgrind] [Bug 400975] New: Compile error: error: '-mips64r2' conflicts with the other architecture options, which specify a mips64 processor

2018-11-12 Thread Peter Seiderer
https://bugs.kde.org/show_bug.cgi?id=400975

Bug ID: 400975
   Summary: Compile error: error: '-mips64r2' conflicts with the
other architecture options, which specify a mips64
processor
   Product: valgrind
   Version: 3.14 SVN
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: jsew...@acm.org
  Reporter: ps.rep...@gmx.net
  Target Milestone: ---

Created attachment 116264
  --> https://bugs.kde.org/attachment.cgi?id=116264=edit
[RFC PATCH] configure.ac: disable gcc march mips64r2 detection

Cross-compiling valgrind using Buildroot for mips64 fails with (see [1], [2]
for details):

  error: '-mips64r2' conflicts with the other architecture options, which
specify a mips64 processor

Disabling the gcc march mips64r2 detection in configure.ac and simple
using the provided compile flags (e.g. set by buildroot) avoids double settings
like '-march=mips64 ... -march=mips64r2 -mabi=64' (see attached RFC patch).

'Fix' only compile tested (not run time tested)...

[1]
http://autobuild.buildroot.net/results/34f6e2352f1559f98c724fe5394db0035b42ddb1

[2] http://lists.busybox.net/pipermail/buildroot/2018-November/235325.html

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

[valgrind] [Bug 400975] Compile error: error: '-mips64r2' conflicts with the other architecture options, which specify a mips64 processor

2019-03-26 Thread Peter Seiderer
https://bugs.kde.org/show_bug.cgi?id=400975

--- Comment #2 from Peter Seiderer  ---
Yes, works for the buildroot testcase (tested with valgrind-3.14.0 and commit
e61d13087096139024788393218367572751b4b6 applied as patch)

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

[valgrind] [Bug 435438] New: musl.supp missing from download package (3.17.0)

2021-04-06 Thread Peter Seiderer
https://bugs.kde.org/show_bug.cgi?id=435438

Bug ID: 435438
   Summary: musl.supp missing from download package (3.17.0)
   Product: valgrind
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: jsew...@acm.org
  Reporter: ps.rep...@gmx.net
  Target Milestone: ---

The file musl.supp is missing from the download package valgrind-3.17.0.tar.bz2
leading to the following error in case compiled against musl libc ([1]):

  make[1]: *** No rule to make target 'musl.supp', needed by 'default.supp'. 
Stop.

Should be fixed by:

diff --git a/Makefile.am b/Makefile.am
index f8c3fc5..0c74036 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,6 +44,7 @@ SUPP_FILES = \
glibc-2.34567-NPTL-helgrind.supp \
glibc-2.2-LinuxThreads-helgrind.supp \
glibc-2.X-drd.supp \
+   musl.supp \
darwin9.supp darwin9-drd.supp \
darwin10.supp darwin10-drd.supp \
darwin11.supp darwin12.supp darwin13.supp darwin14.supp darwin15.supp \


[1]
http://autobuild.buildroot.net/results/b106be44d6e7d82a4e3ad16c995366a46d39ee3c/build-end.log

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

[valgrind] [Bug 359202] Add musl libc configure/compile

2016-02-09 Thread Peter Seiderer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359202

--- Comment #1 from Peter Seiderer <ps.rep...@gmx.net> ---
Created attachment 97120
  --> https://bugs.kde.org/attachment.cgi?id=97120=edit
[PATCH v1] Fixes for musl libc.

[PATCH v1] Fixes for musl libc.

- add musl libc detection (prevents configure error)
- adjust preload and symbol names (based on the OpenWrt
  patch, see [1])

[1]
https://dev.openwrt.org/browser/trunk/package/devel/valgrind/patches/200-musl_fix.patch?rev=46302

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


[valgrind] [Bug 359202] Add musl libc configure/compile

2016-02-11 Thread Peter Seiderer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359202

Peter Seiderer <ps.rep...@gmx.net> changed:

   What|Removed |Added

  Attachment #97120|0   |1
is obsolete||

--- Comment #2 from Peter Seiderer <ps.rep...@gmx.net> ---
Created attachment 97156
  --> https://bugs.kde.org/attachment.cgi?id=97156=edit
[PATCH v2] Fixes for musl libc.

- add musl libc detection (prevents configure error)
- adjust preload and symbol names (based on the OpenWrt
  patch, see [1])

[1]
https://dev.openwrt.org/browser/trunk/package/devel/valgrind/patches/200-musl_fix.patch?rev=46302

Changes v1 -> v2:
change ifdef logic, fix uClibc spelling

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