Date: Sat, 18 Aug 2001 04:10:52 -0700 From: Peter Wemm <peter@wemm.org> To: alpha@FreeBSD.ORG Cc: obrien@FreeBSD.ORG, dfr@FreeBSD.ORG Subject: Re: HEADS UP - tree broken in -current for Alpha Message-ID: <20010818111052.9B758380B@overcee.netplex.com.au> In-Reply-To: <20010818094624.68FC838CC@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm wrote: > If you're running -current on alpha, you will need to back out the > recent change to: > src/contrib/gcc.295/config/alpha/crtbegin.asm > > Otherwise everything will segfault after your 'installworld' at > exit time. The following diff seems to fix it.. I dont know more than a few bits of ancient C++ (back in cfront days), but it does even seem to do static constructors/destructors ok with this. I am *not* an Alpha assembler expert, this could be the alpha version of the fabled HCF instruction for all I know. :-) Index: crtbegin.asm =================================================================== RCS file: /home/ncvs/src/contrib/gcc.295/config/alpha/crtbegin.asm,v retrieving revision 1.2 diff -u -r1.2 crtbegin.asm --- crtbegin.asm 2001/08/17 22:54:26 1.2 +++ crtbegin.asm 2001/08/18 11:07:37 @@ -68,7 +68,8 @@ br $29,1f 1: ldgp $29,0($29) jsr $26,__do_global_dtors_aux - ldgp $29,0($29) + br $29,2f +2: ldgp $29,0($29) # Ideally this call would go in crtend.o, except that we can't # get hold of __EH_FRAME_BEGIN__ there. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010818111052.9B758380B>