From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/832 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: SIG_* in signal.h Date: Thu, 17 May 2012 01:11:20 +0200 Message-ID: <20120516231120.GX17860@port70.net> References: <20120516221227.GV17860@port70.net> <20120516160512.6cbfb912@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1337209899 1765 80.91.229.3 (16 May 2012 23:11:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 May 2012 23:11:39 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-833-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 17 01:11:38 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SUnNU-0004s0-S4 for gllmg-musl@plane.gmane.org; Thu, 17 May 2012 01:11:33 +0200 Original-Received: (qmail 24474 invoked by uid 550); 16 May 2012 23:11:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 24466 invoked from network); 16 May 2012 23:11:32 -0000 Content-Disposition: inline In-Reply-To: <20120516160512.6cbfb912@newbook> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:832 Archived-At: * Isaac Dunham [2012-05-16 16:05:12 -0700]: > On Thu, 17 May 2012 00:12:27 +0200 > Szabolcs Nagy wrote: > > > i just tried to compile pcc using musl > > and it failed because SIG_IGN was undefined > > > > it seem SIG_ING, SIG_ERR, SIG_DFL are ifdefed > > with various featuretest macros in signal.h > > eventhough they are ansic > > > Not what stopped it for me: > you are compiling musl with pcc and not pcc with musl :) > /opt/musl/bin/pcc -std=c99 -ffreestanding -nostdinc > -D_XOPEN_SOURCE=700 -I./src/internal -I./include -I./arch/i386 -Os > -pipe -O2 -c -o src/complex/__cexp.o src/complex/__cexp.c > src/complex/__cexp.c, line 72: operands of CAST have incompatible types > src/complex/__cexp.c, line 73: operands of CAST have incompatible types > make: *** [src/complex/__cexp.o] Error 1 i could compile recent musl with recent pcc without errors