Bug 162295 - VEX version included with Valgrind 3.3.0 can't be cross-compiled
Summary: VEX version included with Valgrind 3.3.0 can't be cross-compiled
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: vex (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-19 10:42 UTC by Bart Van Assche
Modified: 2008-12-23 16:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Cross-compilation script (1.26 KB, text/plain)
2008-07-09 11:13 UTC, Bart Van Assche
Details
VEX patch that enables cross-compilation (8.69 KB, patch)
2008-07-09 11:13 UTC, Bart Van Assche
Details

Note You need to log in before you can comment on or make changes to this bug.
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.