[Mesa-dev] [Bug 44928] i965 build error on recent git
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 24 12:48:04 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=44928
--- Comment #9 from Matt Turner <mattst88 at gmail.com> 2012-01-24 12:48:04 PST ---
Created attachment 56111
--> https://bugs.freedesktop.org/attachment.cgi?id=56111
patch
The attached patch fixes the problem (I've gotten confirmation from 2 people)
but I didn't really understand why. In writing this, I think I see why now --
Linking with i965_dri.la (which contains a list of libraries i965_dri.so is
linked against) should have i965_symbols_test linked with those libraries too.
In i965_dri.la we have
# Linker flags that can not go in dependency_libs.
inherited_linker_flags=''
# Libraries that this one depends upon.
dependency_libs=' -L../../../../../lib -ldricore -lexpat -lpthread -ldl -lglsl
-ldrm_intel -ldrm -lxcb-dri2'
Since it's trying to link with -ldricore -lglsl but not being able to find
them, I have to think that -L../../../../../lib shouldn't be in dependency_libs
but rather in inherited_linker_flags.
If someone wants to `make i965_dri.la`, move the -L flag to
inherited_linker_flags and then run `make i965_symbols_test` to confirm my
theory, I'd appreciate it.
All this is probably moot thought. Eric suggested killing the symbols test.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the mesa-dev
mailing list