Re: Compilation problem with gcc 3.2.2/ld 2.13.90.0.18

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 29 April 2003 10:16 am, Charles-Edouard Ruault wrote:
>
> This is strange ... since from what i've seen the problem appears after
> the ld phase ... the simbols are present in the .o and disappear after
> the linkage.
> I just confirmed this again with objdump. Everything looks ok in the .o
> but in the .so the symbols without version are gone ...
> Could you please send me the output of objdump -x sv.o so that i can
> compare with mine ....
> thanks
>

$ objdump -x sv.o

sv.o:     file format elf32-i386
sv.o
architecture: i386, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x00000000

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         000003cf  00000000  00000000  00000034  2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  1 .data         00000000  00000000  00000000  00000404  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  2 .bss          00000000  00000000  00000000  00000404  2**2
                  ALLOC
  3 .rodata.cst8  00000010  00000000  00000000  00000408  2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .comment      0000002f  00000000  00000000  00000418  2**0
                  CONTENTS, READONLY
SYMBOL TABLE:
00000000 l    df *ABS*  00000000 sv.c
00000000 l    d  .text  00000000
00000000 l    d  .data  00000000
00000000 l    d  .bss   00000000
00000000 l    d  .rodata.cst8   00000000
00000000 l       .rodata.cst8   00000000 .LC0
00000008 l       .rodata.cst8   00000000 .LC1
00000000 l    d  .comment       00000000
00000000 g     F .text  00000074 comedi_sv_init
00000000         *UND*  00000000 _GLOBAL_OFFSET_TABLE_
00000000         *UND*  00000000 valid_chan
00000074 g     F .text  00000055 comedi_sv_update
00000000         *UND*  00000000 comedi_get_maxdata
000000cc g     F .text  00000054 comedi_sv_measure
00000120 g     F .text  00000154 sv_measure_l
00000274 g     F .text  0000015b sv_measure_s
00000000         *UND*  00000000 malloc
00000000         *UND*  00000000 comedi_get_range
00000000         *UND*  00000000 _comedi_ioctl
00000000         *UND*  00000000 free
00000000         *UND*  00000000 comedi_to_phys
00000000 g     F .text  00000074 comedi_sv_init_at_v0.7.18
00000074 g     F .text  00000055 comedi_sv_update_at_v0.7.18
000000cc g     F .text  00000054 comedi_sv_measure_at_v0.7.18


RELOCATION RECORDS FOR [.text]:
OFFSET   TYPE              VALUE
00000011 R_386_GOTPC       _GLOBAL_OFFSET_TABLE_
00000022 R_386_PLT32       valid_chan
00000064 R_386_PLT32       comedi_sv_update
00000081 R_386_GOTPC       _GLOBAL_OFFSET_TABLE_
0000009b R_386_PLT32       valid_chan
000000be R_386_PLT32       comedi_get_maxdata
000000dd R_386_GOTPC       _GLOBAL_OFFSET_TABLE_
00000105 R_386_PLT32       sv_measure_l
0000011a R_386_PLT32       sv_measure_s
00000134 R_386_GOTPC       _GLOBAL_OFFSET_TABLE_
0000014a R_386_PLT32       malloc
000001b5 R_386_PLT32       comedi_get_range
000001f4 R_386_PLT32       _comedi_ioctl
00000213 R_386_GOTOFF      .LC0
0000022c R_386_PLT32       free
00000253 R_386_PLT32       comedi_to_phys
00000288 R_386_GOTPC       _GLOBAL_OFFSET_TABLE_
0000029d R_386_PLT32       malloc
00000311 R_386_PLT32       comedi_get_range
00000350 R_386_PLT32       _comedi_ioctl
0000036f R_386_GOTOFF      .LC1
00000388 R_386_PLT32       free
000003b2 R_386_PLT32       comedi_to_phys

- -- 
Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+rzeS5vihyNWuA4URAsPeAKC3gKaP5yRecvwRwF1XtGHDhobNAQCfXNwF
ADVNdD8OkE7vcsE9Oc0aSIg=
=qLBJ
-----END PGP SIGNATURE-----

Received on 2003-04-30Z01:40:18