Mesa 6.5 Development Release

Michel Dänzer daenzer at debian.org
Thu Apr 20 13:25:42 UTC 2006


On Wed, 2006-04-19 at 10:47 +0200, Thierry Reding wrote:
> 
>     E: libgl1-mesa-swx11: shlib-with-non-pic-code usr/lib/i686/mmx/cmov/libGL.so.1.5.060500
>     W: libgl1-mesa-swx11: shlib-with-executable-stack usr/lib/i686/mmx/cmov/libGL.so.1.5.060500

BTW, IIRC the latter has been fixed in CVS, or there are at least
patches in bugzilla.

> So I went investigating, looking through build logs, trying to find out
> whether there were any missing -fPIC flags, but to no avail. Could it be
> that this is caused by the assembler code used in libGL? Could this prevent
> the generation of position independent code? 

Most likely. Mesa is known to use non-PIC assembly code for performance
reasons.

> If so, would that be reason enough to override lintian in those cases?

The error might be worth overriding.

BTW, the fact that this doesn't get triggered by libgl1-mesa-{glx,dri}
alerted me that those don't seem to get built optimally; e.g., the ASM_*
variables don't seem to get set. Marcelo, was there any particular
reason you created Debian specific build configs instead of using the
stock ones?


> There were also several warnings like this one:
> 
>     W: libosmesa6: package-name-doesnt-match-sonames libOSMesa32-6 libOSMesa16-6
> 
> I guess that the package names were chosen with a good reason, so I guess
> that these would be more candidates for overrides. Is it in general
> considered fine to override lintian, or would it be better to just ignore
> these for now?

My feeling is the latter is usually better in cases like this,
especially for warnings.


> Finally there's these two:
> 
>     W: libgl1-mesa-swx11-dbg: postinst-has-useless-call-to-ldconfig
>     W: libgl1-mesa-swx11-dbg: postrm-has-useless-call-to-ldconfig
> 
> Which is apparently due to /usr/lib/debug not being controlled by the
> dynamic linker. I guess the calls to ldconfig can thus be removed?

I think so.


> Running linda over the 6.5 packages yields a couple of the following
> warnings which I've seen rather frequently lately:
> 
>     W: libgl1-mesa-swx11; A binary links against a library it does not use symbols from
> 
> I am still uncertain about the best way to fix this.

Find out which libraries it's talking about, and fix the build scripts
not to link directly against those.


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer



More information about the Pkg-mesa-devel mailing list