This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bootstrap/10805: [sun-solaris2.7] relocation error when creating sparcv9/libgcc_s.so.1


You asked about the version of the Sun assembler I am running.

SPARC/Solaris 7 - 

/usr/ccs/bin/as: WorkShop Compilers 5.0 Alpha 03/27/98 Build

while on

Solaris 8 it is

/usr/ccs/bin/as: Sun WorkShop 6 99/08/18

and on Solaris 2.6, it is

/usr/ccs/bin/as: WorkShop Compilers 4.X dev 18 Sep 1996

Note that I used this same setup for compiling gcc 3.2.3 with no problems on
any of these machines.   In compiling 3.2.3, I used gcc-3.2.2.  In
compiling 3.3, I used 3.2.3.  So something was changed that caused
the problem.

Steve Christensen


> From gcc-bugs-return-56553-steve=smc.vnet.net@gcc.gnu.org Fri May 16 18:24:48 2003
> From: Eric Botcazou <ebotcazou@libertysurf.fr>
> To: ebotcazou@gcc.gnu.org
> Subject: Re: bootstrap/10805: [sun-solaris2.7] relocation error when creating sparcv9/libgcc_s.so.1
> Date: Sat, 17 May 2003 00:28:08 +0200
> Cc: gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
> 
> 
> Steven M. Christensen wrote:
> > The dump -r that you want is
> >
> > [669] sparcv9> dump -r _muldi3.o
> >
> > _muldi3.o:
> >
> >     **** RELOCATION INFORMATION ****
> >
> > .rela.debug_info:
> > Offset          Symndx                Type              Addend
> >
> > 0x6             3                     23                0
> > 0xc             9                     3                 0
> > 0x10            6                     32                152
> > 0x18            6                     32                0
> > 0x3f1           2                     23                12
> > 0x48f           2                     23                12
> > 0x1232          2                     23                0
> > 0x1240          2                     3                 30
> > 0x1378          2                     3                 0
> > 0x1386          2                     23                30
> > 0x1641          2                     23                39
> > 0x1657          2                     23                39
> > 0x1732          6                     54                0
> > 0x173a          6                     54                152
> > 0x1789          6                     54                28
> > 0x1791          6                     54                120
> > 0x17aa          6                     54                28
> > 0x17b2          6                     54                120
> >
> > .rela.debug_line:
> > Offset          Symndx                Type              Addend
> >
> > 0x143           6                     54                0
> > 0x152           6                     54                8
> > 0x15e           6                     54                12
> > 0x16a           6                     54                16
> > 0x176           6                     54                28
> > 0x182           6                     54                116
> > 0x18e           6                     54                128
> > 0x19a           6                     54                132
> > 0x1a6           6                     54                136
> > 0x1b2           6                     54                140
> > 0x1be           6                     54                144
> > 0x1ca           6                     54                152
> >
> > .rela.debug_frame:
> > Offset          Symndx                Type              Addend
> >
> > 0x1c            7                     3                 0
> > 0x20            6                     32                0
> >
> > .rela.debug_pubnames:
> > Offset          Symndx                Type              Addend
> >
> > 0x6             4                     23                0
> >
> > .rela.debug_aranges:
> > Offset          Symndx                Type              Addend
> >
> > 0x6             4                     23                0
> > 0x10            6                     32                0
> >
> >
> > Hope this helps.
> 
> I think some relocation types are wrong: they shoud accept unaligned offsets.
> 
> Could you determine the version of the Sun assembler?
> 
> 
> -- 
> Eric Botcazou
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]