<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - README: 32-on-64 bit build instructions doesn't work"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100017">100017</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>README: 32-on-64 bit build instructions doesn't work
</td>
</tr>
<tr>
<th>Product</th>
<td>piglit
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>infrastructure
</td>
</tr>
<tr>
<th>Assignee</th>
<td>baker.dylan.c@gmail.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>Hi-Angel@yandex.ru
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>piglit@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>README says:
<span class="quote">> if cross-compiling a 32-bit build on a 64-bit host, then you must</span >
invoke cmake with option "-DCMAKE_SYSTEM_PROCESSOR=i386".
But,
$ make clean
$ cmake -DCMAKE_SYSTEM_PROCESSOR=i386 .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/constantine/Projects/piglit
$ make
[ 0%] Generating tests/util/piglit-dispatch-gen.c,
tests/util/piglit-dispatch-gen.h, tests/util/piglit-util-gl-enum-gen.c
[ 0%] Built target piglit_dispatch_gen
[ 0%] Building C object
target_api/no_api/tests/util/CMakeFiles/piglitutil.dir/piglit-log.c.o
[ 0%] Building C object
target_api/no_api/tests/util/CMakeFiles/piglitutil.dir/piglit-util.c.o
[ 0%] Building C object
target_api/no_api/tests/util/CMakeFiles/piglitutil.dir/piglit-util-egl.c.o
^C
[interrupt output skipped]
$ file
target_api/no_api/tests/util/CMakeFiles/piglitutil.dir/piglit-log.c.o
target_api/no_api/tests/util/CMakeFiles/piglitutil.dir/piglit-log.c.o:
ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
cmake version: 3.7.2
make version: GNU Make 4.2.1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>