mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Subject: Re: SIG_* in signal.h
Date: Wed, 16 May 2012 17:06:33 -0700	[thread overview]
Message-ID: <20120516170633.1ff91240@newbook> (raw)
In-Reply-To: <20120516231120.GX17860@port70.net>

On Thu, 17 May 2012 01:11:20 +0200
Szabolcs Nagy <nsz@port70.net> wrote:

> * Isaac Dunham <idunham@lavabit.com> [2012-05-16 16:05:12 -0700]:
> 
> > On Thu, 17 May 2012 00:12:27 +0200
> > Szabolcs Nagy <nsz@port70.net> 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 :)

Mixed up on the wires.
> > /opt/musl/bin/pcc -std=c99 -ffreestanding -nostdinc
> > -D_XOPEN_SOURCE=700 ....
Everything in /opt/musl is built against a fairly current musl...
pcc was built against my 'fixes' (really ought to be "hacks" ;) ) 
branch, which is current enough that this morning, 
git pull origin master 
said it was up-to-date.
pcc & pcc-libs are version 20120516.
I used -D_BSD_SOURCE and maybe also -D_GNU_SOURCE, though.




  parent reply	other threads:[~2012-05-17  0:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 22:12 Szabolcs Nagy
2012-05-16 23:05 ` Isaac Dunham
2012-05-16 23:11   ` Szabolcs Nagy
2012-05-16 23:21     ` Szabolcs Nagy
2012-05-17  0:06     ` Isaac Dunham [this message]
2012-05-17  0:14 ` Rich Felker
2012-05-17  3:49   ` Isaac Dunham
2012-05-17  6:53   ` Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120516170633.1ff91240@newbook \
    --to=idunham@lavabit.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).