[Mesa-dev] [mesa build system] glsl builtin_functions.cpp change breaks entire compilation
Tobias Jakobi
liquid.acid at gmx.net
Wed Jan 12 16:44:09 PST 2011
No, I just found the real issue while reading the gentoo guide on
"--as-needed".
In fact the only thing that is wrong here is the order of objects and
libraries:
$(APP_CXX) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(GLSL2_OBJECTS)
builtin_stubs.o $(TALLOC_LIBS) -o builtin_compiler
When putting the libraries for talloc in this order (at the end) in the
src/glsl Makefile everything works.
Also see the above mentioned guide
(http://www.gentoo.org/proj/en/qa/asneeded.xml): 'Importance of linking
order'
Greets,
Tobias
More information about the mesa-dev
mailing list