Bug 162295

Summary: VEX version included with Valgrind 3.3.0 can't be cross-compiled
Product: [Developer tools] valgrind Reporter: Bart Van Assche <bart.vanassche+kde>
Component: vexAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Cross-compilation script
VEX patch that enables cross-compilation

Description Bart Van Assche 2008-05-19 10:42:05 UTC
Version:            (using KDE 3.5.8)
Installed from:    SuSE RPMs
Compiler:          gcc version 4.2.3 
OS:                Linux

The program VEX/auxprogs/genoffsets.c has to be compiled and has to be run natively during compilation of VEX, which makes cross-compilation of VEX and Valgrind impossible. Please review and apply the patch svn://svn.valgrind.org/valgrind/branches/CROSS_COMPILATION/vex-cross-compilation.patch, which solves this issue.
Comment 1 Bart Van Assche 2008-07-09 11:10:57 UTC
The following command results in a succesfull build:
cross-valgrind-build 3.2.3

The following command results in a failed build:
cross-valgrind-build 3.3.1
Comment 2 Bart Van Assche 2008-07-09 11:13:14 UTC
Created attachment 25977 [details]
Cross-compilation script
Comment 3 Bart Van Assche 2008-07-09 11:13:51 UTC
Created attachment 25978 [details]
VEX patch that enables cross-compilation
Comment 4 Bart Van Assche 2008-12-23 16:53:57 UTC
Fixed in 3.4.0.