Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Will stack alignment be broken in the NetBSD-7 release?



On Sun, Dec 21, 2014 at 01:23:09PM +0200, Andreas Gustafsson wrote:
> Hi amd64 users,
> 
> I'd like to draw your attention to lib/csu/t_crt0/initfini3 test,
> which is currently failing on amd64 and (AFAIK) on no other
> architecture.  The problem started with the switch to gcc 4.8.
> The test is printing output like this:
> 
>   Fail: incorrect exit status: 1, expected: 0
>   stdout:
>   constructor executed
>   main started
>   constructor2 executed
>   main after dlopen
>   destructor2 executed
>   stack unaligned 
>   destructor executed
>   stack unaligned 
> 
> Does this mean stack alignment is broken on amd64?  Any chance of
> getting this fixed and pulled up before NetBSD-7 is released to avoid
> having a regression in the release?

Probably an asm function being used to call the destructors.
Can you get a stack traceback from within the destructor?

	David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index