| Summary: | vex amd64->IR: unhandled instruction bytes: 0x8F 0xEA 0xF8 0x10 0xCE 0x3 0x1D 0x0 | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | salamanderrake <salamanderrake> |
| Component: | vex | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | tom |
| Priority: | NOR | ||
| Version First Reported In: | 3.9.0 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
salamanderrake
2013-11-07 16:36:30 UTC
*** This bug has been marked as a duplicate of bug 323431 *** My bug has nothing to do with compiling with -O2 since I tried to compile my own app with out the -O2 flag The compiler flags are irrelevant, except in so much as they will influence what instructions the compiler chooses. In this case it's the -march=native that is important. The problem is that your compiler is choosing to use an AMD specific instruction that valgrind does not currently support. Ok, is there a flag to test to see which one is causing the issue? Which instruction you mean? You're already told us that with the "unhandled instruction bytes" message, which is why I closed this as a dup because it's the same vpcmov instruction as the other bug. I mean which gcc flag I could disable to see which one is the culprit, which one of the msse flags. Just change -march=native to something more restrictive lime -march=k8-sse3. That's pretty conservative, so you can probably try moving up some more generations but you need to avoid any of the recent AMD extensions. With this compiler output I still get the same message as before.
```
13:48:17: Running steps for project cxxprimerx11...
13:48:17: Configuration unchanged, skipping qmake step.
13:48:17: Starting: "/usr/bin/make"
g++ -c -pipe -std=c++11 -march=k8-sse3 -Wall -W -fPIE -I/usr/lib64/qt5/mkspecs/linux-g++ -I../../../cxxprimerx11 -I. -o main.o ../../../cxxprimerx11/main.cpp
../../../cxxprimerx11/main.cpp:40:5: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argv, char *argc[]) {
^
../../../cxxprimerx11/main.cpp:40:5: warning: unused parameter 'argc' [-Wunused-parameter]
g++ -c -pipe -std=c++11 -march=k8-sse3 -Wall -W -fPIE -I/usr/lib64/qt5/mkspecs/linux-g++ -I../../../cxxprimerx11 -I. -o Sales_data.o ../../../cxxprimerx11/Sales_data.cpp
g++ -c -pipe -std=c++11 -march=k8-sse3 -Wall -W -fPIE -I/usr/lib64/qt5/mkspecs/linux-g++ -I../../../cxxprimerx11 -I. -o ch03.o ../../../cxxprimerx11/ch03.cpp
g++ -Wl,-O1 -o cxxprimerx11 main.o Sales_data.o ch03.o
13:48:18: The process "/usr/bin/make" exited normally.
13:48:18: Elapsed time: 00:01.
```
|