NetBSD-Bugs archive

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

Re: lib/39465: threads stack is not aligned properly for gcc on i386



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

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/39465: threads stack is not aligned properly for gcc on i386
Date: Sun, 6 Nov 2011 00:30:35 +0000

 On Sat, Nov 05, 2011 at 10:15:05PM +0000, Anthony Mallet wrote:
  >  On Saturday, at 13:00, David Holland wrote:
  >  |  Meanwhile, AFAIK now that HEAD has gcc 4.5 it's no longer necessary
  >  |  there.
  >  
  >  Unfortunately, I just ran the same test program compiled with `gcc 
-pthread` on
  >  NetBSD 5.99.56 (FICUS) #6: Sun Oct 30 00:14:18 CEST 2011
  >  troot@ficus:/usr/obj/sys/arch/i386/compile/FICUS i386
  >  
  >  And it still says:
  >  Testing on main's stack:
  >  aligned(16): PASS: address: 0xbfbfe780 alignement: 128 (2^7)
  >  Testing on thread's stack:
  >  aligned(16): FAIL: address: 0xbb7ffd9c alignement: 4 (2^2)
 
 Blah. All right, this clearly needs to be dealt with in full gory
 detail.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index