From: Matt Benjamin <mbenjamin@redhat.com>
To: "Adam C. Emerson" <aemerson@redhat.com>
Cc: Yehuda Sadeh-Weinraub <ysadehwe@redhat.com>,
Sage Weil <sweil@redhat.com>, John Spray <jspray@redhat.com>,
Ceph Development <ceph-devel@vger.kernel.org>,
Mark Nelson <mnelson@redhat.com>
Subject: Re: assert
Date: Wed, 24 Aug 2016 13:22:32 -0400 (EDT) [thread overview]
Message-ID: <549678475.74238167.1472059352713.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20160824170959.GC22386@ultraspiritum.eng.arb.redhat.com>
Ok, that's fair, I guess. If a given C runtime lacks something compatible, do we then need to do for that environment exactly what we would otherwise do in general?
Matt
----- Original Message -----
> From: "Adam C. Emerson" <aemerson@redhat.com>
> To: "Yehuda Sadeh-Weinraub" <ysadehwe@redhat.com>
> Cc: "Sage Weil" <sweil@redhat.com>, "Matt Benjamin" <mbenjamin@redhat.com>, "John Spray" <jspray@redhat.com>, "Ceph
> Development" <ceph-devel@vger.kernel.org>, "Mark Nelson" <mnelson@redhat.com>
> Sent: Wednesday, August 24, 2016 1:10:00 PM
> Subject: Re: assert
>
> On 24/08/2016, Yehuda Sadeh-Weinraub wrote:
> > Will that work on any system we compile on?
>
> Yes and no. As given it will work on GNU libc. For FreeBSD we would
> need to change the name of the function we chunk in to __assert and
> the order of arguments is different. So, to do it portably, we'd need
> a shim for each C library we're ported to. There aren't /that/ many C
> libraries in the world so it's not a difficult thing to make work, but
> it is a bit fiddly.
>
> --
> Senior Software Engineer Red Hat Storage, Ann Arbor, MI, US
> IRC: Aemerson@{RedHat, OFTC, Freenode}
> 0x80F7544B90EDBFB9 E707 86BA 0C1B 62CC 152C 7C12 80F7 544B 90ED BFB9
>
--
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
http://www.redhat.com/en/technologies/storage
tel. 734-707-0660
fax. 734-769-8938
cel. 734-216-5309
next prev parent reply other threads:[~2016-08-24 17:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-27 16:16 assert Sage Weil
2016-06-27 16:20 ` assert Ramesh Chander
2016-06-27 16:39 ` assert John Spray
2016-06-27 16:45 ` assert Sage Weil
2016-06-27 16:52 ` assert Allen Samuels
2016-06-27 18:10 ` assert Somnath Roy
2016-08-24 14:34 ` assert Matt Benjamin
2016-08-24 15:45 ` assert Adam C. Emerson
2016-08-24 16:17 ` assert Casey Bodley
2016-08-24 16:26 ` assert Sage Weil
2016-08-24 16:23 ` assert Sage Weil
2016-08-24 16:26 ` assert Adam C. Emerson
2016-08-24 16:38 ` assert Yehuda Sadeh-Weinraub
2016-08-24 17:05 ` assert Matt Benjamin
2016-08-24 17:10 ` assert Adam C. Emerson
2016-08-24 17:22 ` Matt Benjamin [this message]
2016-08-24 17:26 ` assert Adam C. Emerson
2016-08-24 17:13 ` assert Willem Jan Withagen
2016-06-28 14:10 ` assert kefu chai
-- strict thread matches above, loose matches on Subject: below --
2013-09-25 13:18 assert Jon Grant
[not found] ` <CAGc9EvdE4Fd5QaJ_Rj+CsZkwvktTCPcnupJmSwNfM5SJRefAJA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-09-26 16:31 ` assert Michael Kerrisk (man-pages)
[not found] ` <5244617E.3000306-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-09-27 22:42 ` assert Jonny Grant
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=549678475.74238167.1472059352713.JavaMail.zimbra@redhat.com \
--to=mbenjamin@redhat.com \
--cc=aemerson@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=jspray@redhat.com \
--cc=mnelson@redhat.com \
--cc=sweil@redhat.com \
--cc=ysadehwe@redhat.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.