Bug 5662 - liblbxutils fails when trying to crosscompile (mkg3states: cannot execute binary file)
Summary: liblbxutils fails when trying to crosscompile (mkg3states: cannot execute bin...
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Adam Jackson
QA Contact:
Depends on:
Reported: 2006-01-20 04:33 UTC by Marc Kleine-Budde
Modified: 2006-06-01 14:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

patch to compile "mkg3states" for "build" not for "host" (1.81 KB, patch)
2006-01-20 04:35 UTC, Marc Kleine-Budde
no flags Details | Splinter Review

Description Marc Kleine-Budde 2006-01-20 04:33:44 UTC
liblbxutils fails when trying to crosscompile. The problem is that "mkg3states"
is executed to generate a header file. But this program is compiled to run on
"host" not on "build".

/bin/sh ../libtool --mode=link arm-softfloat-linux-gnu-gcc  -O
-o mkg3states  mkg3states.o
arm-softfloat-linux-gnu-gcc -O -o mkg3states mkg3states.o
rm -f g3states.h
./mkg3states -c > g3states.h_ && mv g3states.h_ g3states.h
/bin/sh: ./mkg3states: cannot execute binary file
Comment 1 Marc Kleine-Budde 2006-01-20 04:35:09 UTC
Created attachment 4398 [details] [review]
patch to compile "mkg3states" for "build" not for "host"
Comment 2 Adam Jackson 2006-03-21 06:14:12 UTC
Comment 3 Adam Jackson 2006-04-04 07:25:17 UTC
this doesn't work for me for native builds.
Comment 4 Daniel Stone 2006-06-01 14:40:28 UTC
being dropped for 7.2 anyways

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.