Re: Alpha is seriously broken

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Fri, 20 Aug 2004 15:07:57 +0300
On Fri, Aug 20, 2004 at 12:14:21PM +0100, Doug Rabson wrote:
> On Fri, 2004-08-20 at 11:59, Ruslan Ermilov wrote:
> > On Fri, Aug 20, 2004 at 11:53:08AM +0100, Doug Rabson wrote:
> > > On Fri, 2004-08-20 at 11:18, Ruslan Ermilov wrote:
> > > > Hi all,
> > > > 
> > > > This is a JFYI that recent Alphas (I don't know if it's a
> > > > kernel or libc) are seriously broken.
> > > > 
> > > > Wilko brought an issue in my face that a make(1) binary
> > > > on his "a couple days ago" development box is dumping a
> > > > core.  I logged in to beast.FreeBSD.org only to find out
> > > > the same, and also that cc(1) is dumping core as well
> > > > when I try to compile a dummy source file:
> > > 
> > > That looks a lot like rtld is failing. The code I committed last Sunday
> > > should only have affected static binaries and threaded programs. I
> > > intentionally committed the rtld code weeks ago to give it a decent
> > > testing time before the code freeze.
> > > 
> > > Was beast working ok with a world built before Sunday?
> > > 
> > I believe so, otherwise how it would succeed in automatic
> > make buildworld/buildkernel/installkernel/installworld?
> 
> The first thing to try is to back out the change to lib/csu/alpha/crt1.c
> and see if that helps.
> 
The problem with these two systems in question is that they are
now mostly dead.  I cannot test backing it out on these systems
because they are now mostly dead: both cc(1) and make(1) are
linked statically.

$ hostname
beast.freebsd.org
$ ldd /usr/bin/cc /usr/bin/make
ldd: /usr/bin/cc: not a dynamic executable
ldd: /usr/bin/make: not a dynamic executable

I suspect TLS changes very much because every static binary dumps
a core now:

$ /bin/ls /dev/null
/dev/null
$ file /rescue/ls
/rescue/ls: ELF 64-bit LSB executable, Alpha (unofficial), version 1 (FreeBSD), for FreeBSD 6.0, statically linked, stripped
$ /rescue/ls /dev/null
Segmentation fault (core dumped)

I think there's no emergency plan other than to reinstall "base"
on these systems from some older snapshot?


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Fri Aug 20 2004 - 10:08:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC