https://bugs.kde.org/show_bug.cgi?id=406824

            Bug ID: 406824
           Summary: Unsupported baseline
           Product: valgrind
           Version: 3.13.0
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: vex
          Assignee: jsew...@acm.org
          Reporter: wukunpeng...@163.com
  Target Milestone: ---

Created attachment 119599
  --> https://bugs.kde.org/attachment.cgi?id=119599&action=edit
valgrind.spec

SUMMARY
get SRPM( https://cbs.centos.org/koji/buildinfo?buildID=17549 ),rebuild on
mips.
build completed,but check failed.

STEPS TO REPRODUCE
1. get SRPM
2. modify valgrind.spec for mips64el
3. exec rpmbuild ...

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
glibc-2.20
gcc-4.9.3
binutils-2.25.1

+ LD_SHOW_AUXV=1
+ /bin/true
AT_HWCAP:        0
AT_PAGESZ:       16384
AT_CLKTCK:       100
AT_PHDR:         0x120000040
AT_PHENT:        56
AT_PHNUM:        10
AT_BASE:         0xfff0e3c000
AT_FLAGS:        0x0
AT_ENTRY:        0x120001c60
AT_UID:          0
AT_EUID:         0
AT_GID:          0
AT_EGID:         0
AT_SECURE:       0
AT_RANDOM:       0xfffff7b1e5
AT_EXECFN:       /bin/true
AT_PLATFORM:     loongson3a
+ cat /proc/cpuinfo
system type             : generic-loongson-machine
machine                 : Unknown
processor               : 0
cpu model               : ICT Loongson-3 V0.9  FPU V0.1
model name              : ICT Loongson-3A R3 (Loongson-3A3000) @ 1199MHz
BogoMIPS                : 2388.44
cpu MHz                 : 1199.98
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 1088
extra interrupt vector  : no
hardware watchpoint     : yes, count: 0, address/irw mask: []
isa                     : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2
mips64r1 mips64r2
ASEs implemented        : vz
shadow register sets    : 1
kscratch registers      : 6
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 1
cpu model               : ICT Loongson-3 V0.9  FPU V0.1
model name              : ICT Loongson-3A R3 (Loongson-3A3000) @ 1199MHz
BogoMIPS                : 2388.44
cpu MHz                 : 1199.98
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 1088
extra interrupt vector  : no
hardware watchpoint     : yes, count: 0, address/irw mask: []
isa                     : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2
mips64r1 mips64r2
ASEs implemented        : vz
shadow register sets    : 1
kscratch registers      : 6
package                 : 0
core                    : 1
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 2
cpu model               : ICT Loongson-3 V0.9  FPU V0.1
model name              : ICT Loongson-3A R3 (Loongson-3A3000) @ 1199MHz
BogoMIPS                : 2388.44
cpu MHz                 : 1199.98
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 1088
extra interrupt vector  : no
hardware watchpoint     : yes, count: 0, address/irw mask: []
isa                     : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2
mips64r1 mips64r2
ASEs implemented        : vz
shadow register sets    : 1
kscratch registers      : 6
package                 : 0
core                    : 2
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 3
cpu model               : ICT Loongson-3 V0.9  FPU V0.1
model name              : ICT Loongson-3A R3 (Loongson-3A3000) @ 1199MHz
BogoMIPS                : 2403.53
cpu MHz                 : 1199.98
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 1088
extra interrupt vector  : no
hardware watchpoint     : yes, count: 0, address/irw mask: []
isa                     : mips1 mips2 mips3 mips4 mips5 mips32r1 mips32r2
mips64r1 mips64r2
ASEs implemented        : vz
shadow register sets    : 1
kscratch registers      : 6
package                 : 0
core                    : 3
VCED exceptions         : not available
VCEI exceptions         : not available

+ ./vg-in-place /bin/true
==8437== Memcheck, a memory error detector
==8437== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==8437== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==8437== Command: /bin/true
==8437== 

VEX: Unsupported baseline
     Found: Loongson-baseline
Cannot continue. Good-bye

vex storage: T total 0 bytes allocated
vex storage: P total 0 bytes allocated

valgrind: the 'impossible' happened:
   LibVEX called failure_exit().

host stacktrace:
==8437==    at 0x5808C954: show_sched_status_wrk (m_libcassert.c:355)
==8437==    by 0x5808CB14: report_and_quit (m_libcassert.c:426)
==8437==    by 0x5808CD70: panic (m_libcassert.c:502)
==8437==    by 0x5808CD70: vgPlain_core_panic_at (m_libcassert.c:507)
==8437==    by 0x5808CDAC: vgPlain_core_panic (m_libcassert.c:512)
==8437==    by 0x580B281C: failure_exit (m_translate.c:740)
==8437==    by 0x581AA540: vfatal (main_util.c:552)
==8437==    by 0x581A4ED0: invalid_hwcaps (main_main.c:1825)
==8437==    by 0x581A535C: check_hwcaps (main_main.c:2037)
==8437==    by 0x581A5D30: LibVEX_FrontEnd (main_main.c:528)
==8437==    by 0x581A6568: LibVEX_Translate (main_main.c:1173)
==8437==    by 0x580B5304: vgPlain_translate (m_translate.c:1794)
==8437==    by 0x581014F0: handle_tt_miss (scheduler.c:1056)
==8437==    by 0x581014F0: vgPlain_scheduler (scheduler.c:1417)
==8437==    by 0x58117448: thread_wrapper (syswrap-linux.c:103)
==8437==    by 0x58117448: run_a_thread_NORETURN (syswrap-linux.c:156)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable (lwpid 8437)
==8437==    at 0x4002F00: __start (in /usr/lib64/ld-2.20.so)
==8437==    by 0x1FFF002CD8: ???







disable the %check,RPM packages can be packaged, but not good:

[root@localhost ~]# valgrind ls
==11754== Memcheck, a memory error detector
==11754== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==11754== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==11754== Command: ls
==11754== 

VEX: Unsupported baseline
     Found: Loongson-baseline
Cannot continue. Good-bye

vex storage: T total 0 bytes allocated
vex storage: P total 0 bytes allocated

valgrind: the 'impossible' happened:
   LibVEX called failure_exit().

host stacktrace:
==11754==    at 0x5808C954: ??? (in /usr/lib64/valgrind/memcheck-mips64-linux)
==11754==    by 0x5808C888: ??? (in /usr/lib64/valgrind/memcheck-mips64-linux)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable (lwpid 11754)
==11754==    at 0x4002F00: __start (in /usr/lib64/ld-2.20.so)
==11754==    by 0x1FFF003028: ???

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

Reply via email to