From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] [Sisyphus-cybertalk] I: Sisyphus-20060519 dup_elf_symbols: +55 -46 (57838)
Date: Fri, 19 May 2006 18:38:06 +0400
Message-ID: <20060519143806.GE26020@localhost> (raw)
In-Reply-To: <200605191752.14541.thresh@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 8562 bytes --]
On Fri, May 19, 2006 at 05:52:07PM +0400, Pavlov Konstantin wrote:
> > liballegro /usr/lib/liballeg-4.2.0.so atanks /usr/games/atanks 8
> > liballegro /usr/lib/liballeg-4.2.0.so dumb_0.9.2 /usr/bin/dumbplay 8
> > liballegro /usr/lib/liballeg-4.2.0.so elinks /usr/bin/elinks 3
> > liballegro /usr/lib/liballeg-4.2.0.so liquidwar /usr/games/liquidwar 8
> > liballegro /usr/lib/liballeg-4.2.0.so liquidwar /usr/games/liquidwar-mapgen
> > 8 liballegro /usr/lib/liballeg-4.2.0.so ufo2000 /usr/games/ufo2000 8
> > liballegro-devel /usr/bin/dat liballegro-devel /usr/bin/dat2s 6
> > liballegro-devel /usr/bin/dat liballegro-devel /usr/bin/grabber 6
> > liballegro-devel /usr/bin/dat liballegro-devel /usr/bin/pat2dat 6
> > liballegro-devel /usr/bin/dat2s liballegro-devel /usr/bin/grabber 6
> > liballegro-devel /usr/bin/dat2s liballegro-devel /usr/bin/pat2dat 6
> > liballegro-devel /usr/bin/grabber liballegro-devel /usr/bin/pat2dat 6
>
> Вот на эти хотелось бы посмотреть отдельно. Хотя наверняка в случае игрушек
> просто имеет место быть дублирование кода.
> В который раз задаю вопрос -- как посмотреть?
Автоматически пока никак. В текст робота вставить не могу -- итак еле
удается оставаться в пределах 50К (лимит письма в рассылку).
Полуавтоматически (то есть вручную) -- сравнить совпадающие символы в
/usr/lib/liballeg-4.2.0.so и /usr/games/atanks. Делается это примерно
так:
$ cd `mktemp -dt`
$ rpm2cpio $sisyphus/files/i586/RPMS/liballegro-4.2.0-alt1.i586.rpm |cpio -idm --quiet
$ rpm2cpio $sisyphus/files/i586/RPMS/atanks-1.1.0-alt2.i586.rpm |cpio -idm --quiet
$ nm -D ./usr/lib/liballeg-4.2.0.so |awk 'NF==3{print$NF}' |sort -u >1
$ nm -D ./usr/games/atanks |awk 'NF==3{print$NF}' |sort -u >2
$ comm -12 1 2
__bss_start
_blender_alpha
_blender_col_15
_blender_col_16
_blender_col_24
_blender_col_32
_blender_func15
_blender_func15x
_blender_func16
_blender_func16x
_blender_func24
_blender_func24x
_blender_func32
_blender_trans24
_drawing_mode
_drawing_pattern
_drawing_x_anchor
_drawing_x_mask
_drawing_y_anchor
_drawing_y_mask
_edata
_end
_fini
_gfx_bank
_init
_last_bank_1
_linear_blit16
_linear_blit16_end
_linear_blit24
_linear_blit24_end
_linear_blit32
_linear_blit32_end
_linear_blit8
_linear_blit8_end
_linear_blit_backward16
_linear_blit_backward24
_linear_blit_backward32
_linear_blit_backward8
_linear_clear_to_color16
_linear_clear_to_color24
_linear_clear_to_color32
_linear_clear_to_color8
_linear_draw_256_sprite16
_linear_draw_256_sprite24
_linear_draw_256_sprite32
_linear_draw_character16
_linear_draw_character24
_linear_draw_character32
_linear_draw_character8
_linear_draw_lit_rle_sprite15
_linear_draw_lit_rle_sprite16
_linear_draw_lit_rle_sprite24
_linear_draw_lit_rle_sprite32
_linear_draw_lit_rle_sprite8
_linear_draw_lit_sprite15
_linear_draw_lit_sprite16
_linear_draw_lit_sprite24
_linear_draw_lit_sprite32
_linear_draw_lit_sprite8
_linear_draw_rle_sprite15
_linear_draw_rle_sprite16
_linear_draw_rle_sprite24
_linear_draw_rle_sprite32
_linear_draw_rle_sprite8
_linear_draw_sprite16
_linear_draw_sprite16_end
_linear_draw_sprite24
_linear_draw_sprite24_end
_linear_draw_sprite32
_linear_draw_sprite32_end
_linear_draw_sprite8
_linear_draw_sprite8_end
_linear_draw_sprite_h_flip16
_linear_draw_sprite_h_flip24
_linear_draw_sprite_h_flip32
_linear_draw_sprite_h_flip8
_linear_draw_sprite_v_flip16
_linear_draw_sprite_v_flip24
_linear_draw_sprite_v_flip32
_linear_draw_sprite_v_flip8
_linear_draw_sprite_vh_flip16
_linear_draw_sprite_vh_flip24
_linear_draw_sprite_vh_flip32
_linear_draw_sprite_vh_flip8
_linear_draw_trans_rgba_rle_sprite15
_linear_draw_trans_rgba_rle_sprite16
_linear_draw_trans_rgba_rle_sprite24
_linear_draw_trans_rgba_sprite15
_linear_draw_trans_rgba_sprite16
_linear_draw_trans_rgba_sprite24
_linear_draw_trans_rle_sprite15
_linear_draw_trans_rle_sprite16
_linear_draw_trans_rle_sprite24
_linear_draw_trans_rle_sprite32
_linear_draw_trans_rle_sprite8
_linear_draw_trans_sprite15
_linear_draw_trans_sprite16
_linear_draw_trans_sprite24
_linear_draw_trans_sprite32
_linear_draw_trans_sprite8
_linear_getpixel16
_linear_getpixel24
_linear_getpixel32
_linear_getpixel8
_linear_hline15
_linear_hline16
_linear_hline24
_linear_hline32
_linear_hline8
_linear_masked_blit16
_linear_masked_blit24
_linear_masked_blit32
_linear_masked_blit8
_linear_putpixel15
_linear_putpixel16
_linear_putpixel24
_linear_putpixel32
_linear_putpixel8
_linear_vline15
_linear_vline16
_linear_vline24
_linear_vline32
_linear_vline8
_palette_expansion_table
_poly_scanline_atex16
_poly_scanline_atex24
_poly_scanline_atex32
_poly_scanline_atex8
_poly_scanline_atex_lit15
_poly_scanline_atex_lit16
_poly_scanline_atex_lit24
_poly_scanline_atex_lit32
_poly_scanline_atex_lit8
_poly_scanline_atex_mask15
_poly_scanline_atex_mask16
_poly_scanline_atex_mask24
_poly_scanline_atex_mask32
_poly_scanline_atex_mask8
_poly_scanline_atex_mask_lit15
_poly_scanline_atex_mask_lit16
_poly_scanline_atex_mask_lit24
_poly_scanline_atex_mask_lit32
_poly_scanline_atex_mask_lit8
_poly_scanline_atex_mask_trans15
_poly_scanline_atex_mask_trans16
_poly_scanline_atex_mask_trans24
_poly_scanline_atex_mask_trans32
_poly_scanline_atex_mask_trans8
_poly_scanline_atex_trans15
_poly_scanline_atex_trans16
_poly_scanline_atex_trans24
_poly_scanline_atex_trans32
_poly_scanline_atex_trans8
_poly_scanline_gcol8
_poly_scanline_grgb15
_poly_scanline_grgb16
_poly_scanline_grgb24
_poly_scanline_grgb32
_poly_scanline_grgb8
_poly_scanline_ptex16
_poly_scanline_ptex24
_poly_scanline_ptex32
_poly_scanline_ptex8
_poly_scanline_ptex_lit15
_poly_scanline_ptex_lit16
_poly_scanline_ptex_lit24
_poly_scanline_ptex_lit32
_poly_scanline_ptex_lit8
_poly_scanline_ptex_mask15
_poly_scanline_ptex_mask16
_poly_scanline_ptex_mask24
_poly_scanline_ptex_mask32
_poly_scanline_ptex_mask8
_poly_scanline_ptex_mask_lit15
_poly_scanline_ptex_mask_lit16
_poly_scanline_ptex_mask_lit24
_poly_scanline_ptex_mask_lit32
_poly_scanline_ptex_mask_lit8
_poly_scanline_ptex_mask_trans15
_poly_scanline_ptex_mask_trans16
_poly_scanline_ptex_mask_trans24
_poly_scanline_ptex_mask_trans32
_poly_scanline_ptex_mask_trans8
_poly_scanline_ptex_trans15
_poly_scanline_ptex_trans16
_poly_scanline_ptex_trans24
_poly_scanline_ptex_trans32
_poly_scanline_ptex_trans8
_poly_zbuf_atex16
_poly_zbuf_atex24
_poly_zbuf_atex32
_poly_zbuf_atex8
_poly_zbuf_atex_lit15
_poly_zbuf_atex_lit16
_poly_zbuf_atex_lit24
_poly_zbuf_atex_lit32
_poly_zbuf_atex_lit8
_poly_zbuf_atex_mask15
_poly_zbuf_atex_mask16
_poly_zbuf_atex_mask24
_poly_zbuf_atex_mask32
_poly_zbuf_atex_mask8
_poly_zbuf_atex_mask_lit15
_poly_zbuf_atex_mask_lit16
_poly_zbuf_atex_mask_lit24
_poly_zbuf_atex_mask_lit32
_poly_zbuf_atex_mask_lit8
_poly_zbuf_atex_mask_trans15
_poly_zbuf_atex_mask_trans16
_poly_zbuf_atex_mask_trans24
_poly_zbuf_atex_mask_trans32
_poly_zbuf_atex_mask_trans8
_poly_zbuf_atex_trans15
_poly_zbuf_atex_trans16
_poly_zbuf_atex_trans24
_poly_zbuf_atex_trans32
_poly_zbuf_atex_trans8
_poly_zbuf_flat16
_poly_zbuf_flat24
_poly_zbuf_flat32
_poly_zbuf_flat8
_poly_zbuf_gcol8
_poly_zbuf_grgb15
_poly_zbuf_grgb16
_poly_zbuf_grgb24
_poly_zbuf_grgb32
_poly_zbuf_grgb8
_poly_zbuf_ptex16
_poly_zbuf_ptex24
_poly_zbuf_ptex32
_poly_zbuf_ptex8
_poly_zbuf_ptex_lit15
_poly_zbuf_ptex_lit16
_poly_zbuf_ptex_lit24
_poly_zbuf_ptex_lit32
_poly_zbuf_ptex_lit8
_poly_zbuf_ptex_mask15
_poly_zbuf_ptex_mask16
_poly_zbuf_ptex_mask24
_poly_zbuf_ptex_mask32
_poly_zbuf_ptex_mask8
_poly_zbuf_ptex_mask_lit15
_poly_zbuf_ptex_mask_lit16
_poly_zbuf_ptex_mask_lit24
_poly_zbuf_ptex_mask_lit32
_poly_zbuf_ptex_mask_lit8
_poly_zbuf_ptex_mask_trans15
_poly_zbuf_ptex_mask_trans16
_poly_zbuf_ptex_mask_trans24
_poly_zbuf_ptex_mask_trans32
_poly_zbuf_ptex_mask_trans8
_poly_zbuf_ptex_trans15
_poly_zbuf_ptex_trans16
_poly_zbuf_ptex_trans24
_poly_zbuf_ptex_trans32
_poly_zbuf_ptex_trans8
_rgb_b_shift_15
_rgb_b_shift_16
_rgb_b_shift_24
_rgb_b_shift_32
_rgb_g_shift_15
_rgb_g_shift_16
_rgb_g_shift_24
_rgb_g_shift_32
_rgb_r_shift_15
_rgb_r_shift_16
_rgb_r_shift_24
_rgb_r_shift_32
_stub_bank_switch
_stub_bank_switch_end
_stub_unbank_switch
_textmode
allegro_errno
allegro_error
apply_matrix_f
color_map
cpu_capabilities
draw_compiled_sprite
fixhypot
fixsqrt
font
key
key_shifts
mouse_b
mouse_x
mouse_y
rgb_map
screen
$ rm -rf $PWD
$ cd
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-05-19 14:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-19 13:52 ` Pavlov Konstantin
2006-05-19 14:21 ` Anton Farygin
2006-05-19 15:49 ` Valery V. Inozemtsev
2006-05-22 4:49 ` Anton Farygin
2006-05-22 6:03 ` Valery V. Inozemtsev
2006-05-22 9:33 ` Anton Farygin
2006-05-19 14:38 ` Alexey Tourbin [this message]
2006-05-19 15:47 ` Alexey Tourbin
2006-05-19 15:58 ` Igor Zubkov
2006-05-19 16:47 ` Alexey Tourbin
2006-05-19 14:47 ` Serge Polkovnikov
2006-05-19 16:09 ` Alexey Tourbin
2006-05-19 18:36 ` Konstantin A. Lepikhov
2006-05-19 20:10 ` Pavlov Konstantin
2006-05-20 7:43 ` [devel] mplayer team? " Michael Shigorin
2006-05-24 11:18 ` Led
2006-05-20 10:23 ` [devel] " Valery V. Inozemtsev
2006-05-22 14:38 ` Led
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060519143806.GE26020@localhost \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git