From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23888 invoked by alias); 8 Mar 2005 16:27:44 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 23797 invoked from network); 8 Mar 2005 16:27:43 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 8 Mar 2005 16:27:43 -0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id j28GRfk7005976; Tue, 8 Mar 2005 17:27:41 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id j28GRfAt005969; Tue, 8 Mar 2005 17:27:41 +0100 Date: Tue, 08 Mar 2005 16:27:00 -0000 From: Jakub Jelinek To: Andreas Schwab Cc: Ulrich Drepper , Roland McGrath , Glibc hackers Subject: Re: [PATCH] Fix tst-getpid{1,2} on ia64 Message-ID: <20050308162741.GT4777@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20050308160405.GS4777@sunsite.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2005-03/txt/msg00028.txt.bz2 On Tue, Mar 08, 2005 at 05:20:54PM +0100, Andreas Schwab wrote: > Jakub Jelinek writes: > > > Now, either we require direct clone/__clone2 users to make sure > > the stack passed to it is sufficiently aligned > > Would __attribute__((aligned)) work here? On IA-64 yes, but is __attribute__((aligned)) on all architectures equal to the needed stack alignment? If it is bigger than stack alignment, GCC disregards it (or just aligns to stack alignment?), if it is on some arch smaller than needed stack alignment, then it will not help. Jakub