Built DRI modules - Can these driver sizes be right?
Dan Nicholson
dbn.lists at gmail.com
Wed Apr 11 20:35:09 PDT 2007
On 4/11/07, david rankin <drankinatty at suddenlinkmail.com> wrote:
>> Old drivers:
>> providence:/tmp/src/mesa # ll /usr/X11R6/lib/modules/dri
> total 17244
> drwxr-xr-x 2 root root 368 2006年08月12日 16:54 .
> drwxr-xr-x 8 root root 1096 2007年01月18日 11:06 ..
> -rwxr-xr-x 1 root root 1707932 2005年09月12日 18:26 i810_dri.so
> -rwxr-xr-x 1 root root 1777812 2005年09月12日 18:26 i915_dri.so
>> New drivers:
>> providence:/tmp/src/mesa # ll lib
> total 236052
> drwxr-xr-x 2 root root 1008 2007年04月11日 21:23 .
> drwxr-xr-x 13 david users 496 2007年04月11日 21:16 ..
> -rwxr-xr-x 1 root root 12836697 2007年04月11日 21:22 ffb_dri.so
> -rwxr-xr-x 1 root root 12637458 2007年04月11日 21:18 i810_dri.so
> -rwxr-xr-x 1 root root 13923323 2007年04月11日 21:19 i915_dri.so
> -rwxr-xr-x 1 root root 14795862 2007年04月11日 21:19 i915tex_dri.so
> -rwxr-xr-x 1 root root 15674162 2007年04月11日 21:20 i965_dri.so
>> Can this be right??? Or did something explode and balloon the size of the
> driver files during the compile process? Just a sanity check. What say the
> experts?
Those can indeed be right if they aren't stripped. That's about the
size they are on my system. Run file on them to find out.
$ ls -l /usr/lib/dri/i965_dri.so
-rwxr-xr-x 1 root root 16519698 2007年04月08日 07:46 /usr/lib/dri/i965_dri.so
$ file /usr/lib/dri/i965_dri.so
/usr/lib/dri/i965_dri.so: ELF 32-bit LSB shared object, Intel 80386,
version 1 (SYSV), not stripped
You can safely do "strip -g" to remove the debugging symbols if you
want them smaller. That means they'll be useless in gdb, but maybe
that doesn't matter to you. Read strip(1) for more details.
--
Dan
More information about the xorg
mailing list