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

--- Comment #5 from Swudu Susuwu <2002luvabbal...@gmail.com> ---
```
~ $ g++ -march=armv8.2-a ~/a.cxx
~ $ ./a.out
~ $ valgrind ./a.out
==19668== Memcheck, a memory error detector
==19668== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==19668== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==19668== Command: ./a.out
==19668==
ARM64 front end: load_store
disInstr(arm64): unhandled instruction 0x38BFC109
disInstr(arm64): 0011'1000 1011'1111 1100'0001 0000'1001
==19668== valgrind: Unrecognised instruction at address 0x4073170.
==19668==    at 0x4073170: __dl__Z26__libc_safe_arc4random_bufPvm (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x4078377: __dl___libc_init_main_thread_late (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x410665F:
__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockR6soinfo (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x41065CB: __dl___linker_init (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x4048007: __dl__start (in
/apex/com.android.runtime/bin/linker64)
==19668== Your program just tried to execute an instruction that Valgrind
==19668== did not recognise.  There are two possible reasons for this.
==19668== 1. Your program has a bug and erroneously jumped to a non-code
==19668==    location.  If you are running Memcheck and you just saw a
==19668==    warning about a bad jump, it's probably your program's fault.
==19668== 2. The instruction is legitimate but Valgrind doesn't handle it,
==19668==    i.e. it's Valgrind's fault.  If you think this is the case or
==19668==    you are not sure, please let us know and we'll try to fix it.
==19668== Either way, Valgrind will now raise a SIGILL signal which will
==19668== probably kill your program.
==19668==
==19668== Process terminating with default action of signal 4 (SIGILL)
==19668==  Illegal opcode at address 0x4073170
==19668==    at 0x4073170: __dl__Z26__libc_safe_arc4random_bufPvm (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x4078377: __dl___libc_init_main_thread_late (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x410665F:
__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockR6soinfo (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x41065CB: __dl___linker_init (in
/apex/com.android.runtime/bin/linker64)
==19668==    by 0x4048007: __dl__start (in
/apex/com.android.runtime/bin/linker64)
==19668==
==19668== HEAP SUMMARY:
==19668==     in use at exit: 0 bytes in 0 blocks
==19668==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==19668==
==19668== All heap blocks were freed -- no leaks are possible
==19668==
==19668== For lists of detected and suppressed errors, rerun with: -s
==19668== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Illegal instruction
~ $
```
Must figure out how to rebuild `crt1.o` (other than empty `main()`, all this
should have is `_start`) to 8.2?

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

Reply via email to