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

            Bug ID: 456200
           Summary: Valgrind should not required neon (simd) on armhf
           Product: valgrind
           Version: 3.20 GIT
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: ma...@debian.org
  Target Milestone: ---

SUMMARY

valgrind is currently configured to build with: -mcpu=cortex-a8
Since gcc-11 (and above) this means the compiler is free to include simd (neon)
instruction. Since neon is not stricly required to run valgrind on armhf,
please reduce requirement.



STEPS TO REPRODUCE

% git clone 
% ./autogen.sh && ./configure && make
% ./vg-in-place
Illegal instruction.

OBSERVED RESULT

neon instructions is present in the binaries.

Program received signal SIGILL, Illegal instruction.
vgPlain_am_startup (sp_at_startup=3204445696) at
m_aspacemgr/aspacemgr-linux.c:1626
1626       init_nsegment(&seg);
(gdb) x/i $pc
=> 0x58071090 <vgPlain_am_startup+20>:  vmov.i32        d16, #0 ; 0x00000000

EXPECTED RESULT

valgrind should run on neon-less armhf.

SOFTWARE/OS VERSIONS

% cat /proc/cpuinfo
model name      : ARMv7 Processor rev 2 (v7l)
Features        : half thumb fastmult vfp edsp thumbee vfpv3 tls idiva idivt
vfpd32 lpae

ADDITIONAL INFORMATION

Complete thread on valgrind-users

https://sourceforge.net/p/valgrind/mailman/valgrind-users/thread/CA%2B7wUsyP0aTmfQMi3ro0AeXvRW8v2G1UYsLoFxpvi_RCUrbdJQ%40mail.gmail.com/#msg37673816

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

Reply via email to