From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38265 Path: news.gmane.org!not-for-mail From: Jjgod Jiang Newsgroups: gmane.comp.tex.context Subject: Re: [Dev-luatex] luatex not compiling Date: Tue, 25 Dec 2007 11:14:24 +0800 (CST) Message-ID: References: <6386DDEB-CBFF-447E-8517-D97B734CC170@science.uva.nl> <68c491a60712210250y29b0ef31y4e01fe54e848ba41@mail.gmail.com> <476BDB4D.1010405@elvenkind.com> <47701B9F.3010303@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198568779 8305 80.91.229.12 (25 Dec 2007 07:46:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Dec 2007 07:46:19 +0000 (UTC) Cc: mailing list for ConTeXt users , luatex develompent list To: Taco Hoekwater Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 25 08:46:29 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1J74Ua-000429-Op for gctc-ntg-context-518@m.gmane.org; Tue, 25 Dec 2007 08:46:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AD2541FC16; Tue, 25 Dec 2007 08:45:17 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21070-02-2; Tue, 25 Dec 2007 08:44:45 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 71C901FC00; Tue, 25 Dec 2007 08:44:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 69B0F1FADB for ; Tue, 25 Dec 2007 04:23:04 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25423-08-2 for ; Tue, 25 Dec 2007 04:21:07 +0100 (CET) Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by ronja.ntg.nl (Postfix) with ESMTP id E28CC1FB91 for ; Tue, 25 Dec 2007 04:16:40 +0100 (CET) Original-Received: by wa-out-1112.google.com with SMTP id m16so3822855waf.14 for ; Mon, 24 Dec 2007 19:14:57 -0800 (PST) Original-Received: by 10.115.22.1 with SMTP id z1mr4875543wai.48.1198552497147; Mon, 24 Dec 2007 19:14:57 -0800 (PST) Original-Received: from ?61.49.127.211? ( [61.49.127.211]) by mx.google.com with ESMTPS id n9sm8784600wag.39.2007.12.24.19.14.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Dec 2007 19:14:56 -0800 (PST) In-Reply-To: <47701B9F.3010303@elvenkind.com> User-Agent: Alpine 1.00 (OSX 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Tue, 25 Dec 2007 08:44:20 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:38265 Archived-At: Hi Taco, On Mon, 24 Dec 2007, Taco Hoekwater wrote: > Perhaps not any more in 10.5? Something changed from 10.4 to 10.5 that > broke luatex's build process. Just the building though, pre-compiled > binaries work fine. What exactly has changed is a mystery so far. You're right, I think it has been changed in 10.5, the following text is copied from sigaltstack(2) in 10.5: LEGACY SYNOPSIS #include #include The include file is necessary. struct sigaltstack { char *ss_sp; int ss_size; int ss_flags; }; int sigaltstack(const struct sigaltstack *ss, struct sigaltstack *oss); The variable types have changed. Specifically, the sigaltstack struct is no longer used. COMPATIBILITY Use of the (obsolete) sigaltstack struct will cause compiler diagnostics. Use stack_t, defined in . I just checked out the latest luatex source from svn, with the following patch, luatex builds fine on 10.5: Index: src/texk/web2c/lib/texmfmp.c =================================================================== --- src/texk/web2c/lib/texmfmp.c (revision 972) +++ src/texk/web2c/lib/texmfmp.c (working copy) @@ -405,7 +405,11 @@ #ifdef WIN32 SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) &segv_handler_filter); #else +#if __DARWIN_UNIX03 + stack_t sigstk; +#else struct sigaltstack sigstk; +#endif struct sigaction segv_act; sigstk.ss_sp = xmalloc(SIGSTKSZ); sigstk.ss_size = SIGSTKSZ; HTH. - Jiang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________