pkgsrc-Bugs archive

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

Re: pkg/47906: lang/g95: SEGV occurs when stack address is not aligned 8 bytes at main().



The following reply was made to PR pkg/47906; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/47906: lang/g95: SEGV occurs when stack address is not
 aligned 8 bytes at main().
Date: Tue, 9 Jul 2013 14:36:50 +0200

 On Fri, Jun 07, 2013 at 02:00:00PM +0000, nonakap%gmail.com@localhost wrote:
 > >Description:
 > If the stack address is not aligned on 8 bytes, it is adjusted to 8 bytes 
 > aligned at main(). 
 > If stack address is adjusted, to get from the stack address the wrong return 
 > address, SEGV occurs.
 
 What happens if the whole section is dropped, i.e. the stack pointer
 isn't adjusted in main at all? It shouldn't be needed at nothing on x86
 requires 64bit alignment.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index