Summary: | Glamor from git does not build with xorg server 1.13.1 and mesa 9.0.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Giovanni Mariani <mc2374> | ||||||
Component: | Server/Acceleration/glamor | Assignee: | hejunyan <junyan.he> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | major | ||||||||
Priority: | medium | CC: | junyan.he | ||||||
Version: | 7.7 (2012.06) | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Junyan has been working on this issue. Giovanni or Junyan, Could you check and confirm that this bug is already fixed in glamor git version? Created attachment 76804 [details]
Another failed build (now with xserver 1.14.0 and mesa 9.1.0)
Sorry, I still have the same things, now with xserver 1.14.0 and mesa 9.1.0.
Don't use -Wl,--no-undefined in LDFLAGS. Most functions are part of the Xorg Server and no library exports them ... Since library is intended to use with Xorg Server only, it should be safe. I'll send a patch to fix undefined references for libm libdl pixman libEGL and such. (In reply to comment #4) > Don't use -Wl,--no-undefined in LDFLAGS. Most functions are part of the Xorg > Server and no library exports them ... Since library is intended to use with > Xorg Server only, it should be safe. I'll send a patch to fix undefined > references for libm libdl pixman libEGL and such. Good to know... The use of --no-undefined is a default build setting on my Mandriva/OpenMandriva/Rosa/whatever distro and before adding a permanent exception for the glamor package I was rather needing to know for sure it was needed or at least safe. Perhaps, as per the precision in comment #4 we could consider this bug closed even if not exactly "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.
Created attachment 72353 [details] Log of a failed build I'm trying to experimentally build glamor from git master against xserver 1.13.1 and Mesa 9.0.1 (the versions provided by my Rosa Fresh 2012.1 for x86_64, but the build fails at the linking phase while making libglamor.la with tons of "undefined reference" errors (see the attached build log for the gory details). To have a successful build I have to force ld to accept undefined reference, but that is risky because it could lead to run-time errors later.