<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>47927</bug_id>
          
          <creation_ts>2023-10-10 15:35:38 +0300</creation_ts>
          <short_desc>valgrind работает на ppc64le?</short_desc>
          <delta_ts>2025-02-26 14:42:51 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>valgrind</component>
          <version>unstable</version>
          <rep_platform>ppc</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Ivan A. Melnikov">iv</assigned_to>
          <cc>iv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>234630</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2023-10-10 15:35:38 +0300</bug_when>
    <thetext>Попытался воспользоваться rpm-macros-valgrind в Сизифе, и на ppc64le вижу следующее:

[00:00:18] valgrind:  Fatal error at startup: a function redirection
[00:00:18] valgrind:  which is mandatory for this platform-tool combination
[00:00:18] valgrind:  cannot be set up.  Details of the redirection are:
[00:00:18] valgrind:  
[00:00:18] valgrind:  A must-be-redirected function
[00:00:18] valgrind:  whose name matches the pattern:      strlen
[00:00:18] valgrind:  in an object with soname matching:   ld64.so.2
[00:00:18] valgrind:  was not found whilst processing
[00:00:18] valgrind:  symbols from the object with soname: ld64.so.2
[00:00:18] valgrind:  
[00:00:18] valgrind:  Possible fixes: (1, short term): install glibc&apos;s debuginfo
[00:00:18] valgrind:  package on this machine.  (2, longer term): ask the packagers
[00:00:18] valgrind:  for your Linux distribution to please in future ship a non-
[00:00:18] valgrind:  stripped ld.so (or whatever the dynamic linker .so is called)
[00:00:18] valgrind:  that exports the above-named function using the standard
[00:00:18] valgrind:  calling conventions for this platform.  The package you need
[00:00:18] valgrind:  to install for fix (1) is called
[00:00:18] valgrind:  
[00:00:18] valgrind:    On Debian, Ubuntu:                 libc6-dbg
[00:00:18] valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
[00:00:18] valgrind:  
[00:00:18] valgrind:  Note that if you are debugging a 32 bit process on a
[00:00:18] valgrind:  64 bit system, you will need a corresponding 32 bit debuginfo
[00:00:18] valgrind:  package (e.g. libc6-dbg:i386).
[00:00:18] valgrind:  
[00:00:18] valgrind:  Cannot continue -- exiting now.  Sorry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259965</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-02-26 14:42:51 +0300</bug_when>
    <thetext>Действительно, на ppc64le для работы valngrind требуется, как минимум, glibc-core-debuginfo, что не позволяет пользоваться им в girar например. Исправить это можно разве что со стороны glibc, но вряд ли это кто-то станет делать.

Кстати, из %valgrind_arches в rpm-macros-valgrind ppc64le и %arm давно убраны.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>