From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: USE_LSB_TAG not supported on this platform Date: Mon, 8 Feb 2016 17:10:09 -0800 Organization: UCLA Computer Science Department Message-ID: <56B93C71.6060602@cs.ucla.edu> References: <86powcjei0.wl-herbert@mailbox.org> <56B3F962.8010203@cs.ucla.edu> <86mvrejegc.wl-herbert@mailbox.org> <86si15ygd9.wl-herbert@mailbox.org> <85twlksgds.fsf@iznogoud.viz> <8660y0nqze.wl-herbert@mailbox.org> <56B8F03C.3010709@cs.ucla.edu> <867fie4xj6.wl-herbert@mailbox.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 1454980241 16687 80.91.229.3 (9 Feb 2016 01:10:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2016 01:10:41 +0000 (UTC) Cc: "C. Baxter" , emacs-devel@gnu.org To: "Herbert J. Skuhra" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 02:10:32 2016 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 1aSwp4-0002SD-5O for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2016 02:10:30 +0100 Original-Received: from localhost ([::1]:50505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwp3-0002XH-35 for ged-emacs-devel@m.gmane.org; Mon, 08 Feb 2016 20:10:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwoy-0002Ww-3l for emacs-devel@gnu.org; Mon, 08 Feb 2016 20:10:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSwou-0004bB-Tf for emacs-devel@gnu.org; Mon, 08 Feb 2016 20:10:24 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwou-0004a5-NA for emacs-devel@gnu.org; Mon, 08 Feb 2016 20:10:20 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id AFA90160D25; Mon, 8 Feb 2016 17:10:10 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id bS_f1cRY1pmE; Mon, 8 Feb 2016 17:10:10 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 05466160F5C; Mon, 8 Feb 2016 17:10:10 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BiI7HxFhOJLj; Mon, 8 Feb 2016 17:10:09 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E00EA160D25; Mon, 8 Feb 2016 17:10:09 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: <867fie4xj6.wl-herbert@mailbox.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:199572 Archived-At: On 02/08/2016 03:01 PM, Herbert J. Skuhra wrote: > GCC 5 works but clang still fails. If I add > > #define alignas _Alignas > > to src/lisp.h the build succeeds. Thanks, could you explain why that "#define" is helpful? On my platform (Fedora 23 x86-64, clang 3.7.0) clang's , which is in /usr/lib/clang/3.7.0/include/stdalign.h, contains this: #ifndef __cplusplus #define alignas _Alignas #define alignof _Alignof #endif and src/lisp.h includes before using or checking alignas, so there should be no need to add "#define alignas _Alignas" to lisp.h. Is there a file src/stdalign.h in your build directory? If so, why is it there, and why does it not define alignas? Are you building with clang++? That might explain the situation, but why would clang++ be needed?