[devel] [Sisyphus-cybertalk] I: Sisyphus-20060519 dup_elf_symbols: +55 -46 (57838)

Alexey Tourbin =?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Пт Май 19 18:38:06 MSD 2006


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
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20060519/0c536025/attachment-0001.bin>


Подробная информация о списке рассылки Devel