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
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to