[Mesa-dev] [Bug 56653] New: Source `src/glsl/builtin_stubs.cpp' not found, needed by target `build/linux-x86_64-debug/glsl/builtin_stubs.o'.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 1 20:04:39 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=56653
Priority: medium
Bug ID: 56653
CC: thierry.reding at avionic-design.de
Assignee: mesa-dev at lists.freedesktop.org
Summary: Source `src/glsl/builtin_stubs.cpp' not found, needed
by target
`build/linux-x86_64-debug/glsl/builtin_stubs.o'.
Severity: blocker
Classification: Unclassified
OS: All
Reporter: vlee at freedesktop.org
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Other
Product: Mesa
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 <thierry.reding at avionic-design.de>
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 <thierry.reding at avionic-design.de>
Acked-by: Kenneth Graunke <kenneth at whitecape.org>
:100644 100644 6b97a26fc4450b349006a0e4af998046f9370ee6
d42462e493f7e55e73d85994aadd155f0b349a73 M configure.ac
:040000 040000 b0a3d11622382bd036e54245bc8f777f6668b9cd
90f8bf3a856f7e0e5acb9fb923d22c7b4d7b3748 M m4
:040000 040000 15151c533ca26c5e33528089408ea098f83021ba
64da7626b652352af5d29667b09ad782b898a5f3 M src
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121102/64a00307/attachment.html>
More information about the mesa-dev
mailing list