From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: MS-Windows tester wanted for trunk Date: Tue, 16 Sep 2014 19:46:27 +0400 Message-ID: <54185B53.7030900@yandex.ru> References: <5417F9B8.9020503@yandex.ru> <83r3zb4oyh.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1410882435 17799 80.91.229.3 (16 Sep 2014 15:47:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Sep 2014 15:47:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 16 17:47:08 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XTuy2-00060A-Kk for ged-emacs-devel@m.gmane.org; Tue, 16 Sep 2014 17:46:58 +0200 Original-Received: from localhost ([::1]:38755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTuy2-0000FT-9A for ged-emacs-devel@m.gmane.org; Tue, 16 Sep 2014 11:46:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTuxr-00006u-Mi for emacs-devel@gnu.org; Tue, 16 Sep 2014 11:46:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTuxk-0004xy-E0 for emacs-devel@gnu.org; Tue, 16 Sep 2014 11:46:47 -0400 Original-Received: from forward3l.mail.yandex.net ([84.201.143.136]:56049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTuxc-0004wJ-Tt; Tue, 16 Sep 2014 11:46:33 -0400 Original-Received: from smtp13.mail.yandex.net (smtp13.mail.yandex.net [95.108.130.68]) by forward3l.mail.yandex.net (Yandex) with ESMTP id 651991501495; Tue, 16 Sep 2014 19:46:28 +0400 (MSK) Original-Received: from smtp13.mail.yandex.net (localhost [127.0.0.1]) by smtp13.mail.yandex.net (Yandex) with ESMTP id F01A8E4013C; Tue, 16 Sep 2014 19:46:27 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp13.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id WVdOQfp5eC-kRjaQKM9; Tue, 16 Sep 2014 19:46:27 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 231b6fca-86c4-426e-8ad9-2697eb472a4c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1410882387; bh=fPkG6/XTHAJOg6ouG3n3AyYl2ACCdppA51EFA//+ERg=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=cdYvvXBTdNaLLCukq16iOnQ9nR5Xn9GX3OOxjf8jbOWQkQKraK/SnfpT3l9vCJnFY rrtSMwVwJrU2tdiE0umEQGzR/CQPVB0mtgxxhTKKgqHh9fFqRU2CJVRtuxOgu2nf6X /rbiRoX3MqY22Zfb9ZqBtjMDRcCFGQxZzZrT0jyQ= Authentication-Results: smtp13.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 In-Reply-To: <83r3zb4oyh.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.143.136 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174372 Archived-At: On 09/16/2014 06:31 PM, Eli Zaretskii wrote: > So, as suggested by that page, I marked the callback functions in > w32font.c with '__attribute__((force_align_arg_pointer))', and then > Emacs comes up normally. This attribute is available in GCC since > v4.2. From GCC manual, as of 4.8: -mstackrealign Realign the stack at entry. On the Intel x86, the -mstackrealign option generates an alternate prologue and epilogue that realigns the run-time stack if necessary. This supports mixing legacy codes that keep 4-byte stack alignment with modern codes that keep 16-byte stack alignment for SSE compatibility. See also the attribute "force_align_arg_pointer", applicable to individual functions. Dmitry