Summary: | Source `src/glsl/builtin_stubs.cpp' not found, needed by target `build/linux-x86_64-debug/glsl/builtin_stubs.o'. | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | kenneth, lemody, sachinbhutanicse, thierry.reding |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
patch to fix the SCons build by copying the file
android: Update for builtin_stubs.cpp move build: Drop BUILTIN_COMPILER_* variables |
Description
Vinson Lee
2012-11-02 03:04:39 UTC
Created attachment 69412 [details] [review] patch to fix the SCons build by copying the file builtin_stubs.cpp has been moved to a subfolder, which broke the SCons build and likely the Android build too. For some reason, editing Makefile.sources and changing BUILTIN_COMPILER_CXX_FILES to $(GLSL_SRCDIR)/builtin_compiler/builtin_stubs.cpp causes SCons to completely flip out with giant stack traces of doom that make no sense whatsoever. So...here's a lame patch which copies it back into src/glsl. It does the job, but it's sure not elegant (and likely doesn't help android at all). Darn, I completely forgot to check the SCons and Android builds. I'll take a look and see if I can come up with something that works for all three methods. Scons should be fixed with: commit 8ac4b82699ad0a59ae6ae6d3415702eaa5d4fe3b Author: José Fonseca <jose.r.fonseca@gmail.com> Date: Fri Nov 2 09:42:13 2012 +0000 scons: Update for builtin_stubs.cpp Note this by itself is not enough to fix scons build -- it will fail until you remove: rm -rf build/*/glsl/builtin_compiler because that node was a filei before, but it will be now a directory. This also means that bisecting across this change will require wiping the build directory.. Not sure about android. Created attachment 69427 [details] [review] android: Update for builtin_stubs.cpp move This is a similar fix to the one José posted for SCons. I haven't tested this as I don't even remotely know how to setup an environment to build the Android configuration. Created attachment 69429 [details] [review] build: Drop BUILTIN_COMPILER_* variables The BUILTIN_COMPILER_CXX_FILES variable is unused and can be dropped. Files listed in BUILTIN_COMPILER_GENERATED_CXX_FILES are no longer generated for the builtin compiler but for the GLSL compiler. The variable is renamed to GLSL_COMPILER_GENERATED_CXX_FILES for consistency. Tapani, could you take a look at the Android build? (Or ask someone else to?) Thanks! (and sorry for the trouble...) (In reply to comment #6) > Tapani, could you take a look at the Android build? (Or ask someone else > to?) Thanks! (and sorry for the trouble...) Sure, no problem yep, build on android broke the same way as scons but gets fixed with Thierry's patch in comment #4 --- 8< --- i686-linux-g++: error: external/mesa/src/glsl/./builtin_stubs.cpp: No such file or directory I pushed the patch from #4 which fixes the Android build, and also sent out the patch from #5 for review. Closing as fixed. |
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.