Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 12:24:20 -0400
From:      Ken Smith <kensmith@cse.Buffalo.EDU>
To:        Michiel Boland <michiel@boland.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: upgrade 6-STABLE to -CURRENT on sparc64 renders box unusable
Message-ID:  <1184343860.95218.64.camel@opus.cse.buffalo.edu>
In-Reply-To: <Pine.GSO.4.64.0707102211410.4947@neerbosch.nijmegen.internl.net>
References:  <Pine.GSO.4.64.0707101403490.13827@neerbosch.nijmegen.internl.net> <Pine.GSO.4.64.0707101824231.15001@neerbosch.nijmegen.internl.net> <Pine.GSO.4.64.0707102211410.4947@neerbosch.nijmegen.internl.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-6UTze/FLILkZlILRwD1k
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2007-07-10 at 22:41 +0200, Michiel Boland wrote:
> Well, in fact I did manage to debug this further. :)
>=20
> The problem is that on sparc64 and -CURRENT, every executable segfaults i=
n
>=20
>   _rtld
>    init_rtld
>     relocate_objects
>      reloc_non_plt
>       mmap
>        __getosreldate
>=20
> It appears that __getosreldate was added five days ago, which may explain=
=20
> why the breakage on sparc64 hasn't been reported yet. (I am ccing peter@=20
> since he committed this.)
>=20
> If I apply the following patch, then rebuild libc, things are more or les=
s=20
> ok again. Of course this patch is very suboptimal, I am just trying to=20
> point out where the problem is.=20

Thanks for your work on this, it helped quite a bit.  The problem is
also affecting the PowerPC architecture.  A fix that Alexander Kabaev
worked out for sparc64 just got committed as V1.15 of
libexec/rtld-elf/sparc64/reloc.c; we're still looking at PowerPC.

--=20
                                                Ken Smith
- From there to here, from here to      |       kensmith@cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


--=-6UTze/FLILkZlILRwD1k
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGl6c0/G14VSmup/YRAhyCAKCDNHTDCgc6OaIXciv42L89i2e0igCfQ5EG
hA/4v2LEx6Zca6HdqTLI3s0=
=tOb1
-----END PGP SIGNATURE-----

--=-6UTze/FLILkZlILRwD1k--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1184343860.95218.64.camel>