<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Source `src/glsl/builtin_stubs.cpp' not found, needed by target `build/linux-x86_64-debug/glsl/builtin_stubs.o'."
href="https://bugs.freedesktop.org/show_bug.cgi?id=56653">56653</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>thierry.reding@avionic-design.de
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Source `src/glsl/builtin_stubs.cpp' not found, needed by target `build/linux-x86_64-debug/glsl/builtin_stubs.o'.
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>mesa: 9948a33653088c2b9409f12924857643989657a5 (master)
$ scons
[...]
scons: *** [build/linux-x86_64-debug/glsl/builtin_stubs.o] Source
`src/glsl/builtin_stubs.cpp' not found, needed by target
`build/linux-x86_64-debug/glsl/builtin_stubs.o'.
scons: building terminated because of errors.
9948a33653088c2b9409f12924857643989657a5 is the first bad commit
commit 9948a33653088c2b9409f12924857643989657a5
Author: Thierry Reding <<a href="mailto:thierry.reding@avionic-design.de">thierry.reding@avionic-design.de</a>>
Date: Fri Oct 19 14:03:01 2012 +0200
build: Don't cross-compile GLSL builtin compiler
The builtin_compiler binary is used during the build process to generate
code for the builtin GLSL functions. Since this binary needs to be run
on the build host, it must not be cross-compiled.
This patch fixes the build system to compile a second version of the
source files and the builtin_compiler binary itself for the build
system. It does so by defining the CC_FOR_BUILD and CXX_FOR_BUILD
variables, which are searched for by the configure script and point to
the location of native C and C++ compilers.
In order for this to work properly, builtin_function.cpp is removed
from BUILT_SOURCES, otherwise the build system would try to generate it
before having had a chance to descend into the builtin_compiler
subdirectory. With the builtin_compiler and glsl_compiler now being
generated at different stages, the build instructions for glsl_compiler
can be simplified a bit.
Signed-off-by: Thierry Reding <<a href="mailto:thierry.reding@avionic-design.de">thierry.reding@avionic-design.de</a>>
Acked-by: Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>>
:100644 100644 6b97a26fc4450b349006a0e4af998046f9370ee6
d42462e493f7e55e73d85994aadd155f0b349a73 M configure.ac
:040000 040000 b0a3d11622382bd036e54245bc8f777f6668b9cd
90f8bf3a856f7e0e5acb9fb923d22c7b4d7b3748 M m4
:040000 040000 15151c533ca26c5e33528089408ea098f83021ba
64da7626b652352af5d29667b09ad782b898a5f3 M src</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>