mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <idunham@lavabit.com>
To: musl@lists.openwall.com
Cc: Rich Felker <dalias@aerifal.cx>
Subject: Re: Is "memory.h" wanted?
Date: Tue, 23 Aug 2011 00:06:37 -0700	[thread overview]
Message-ID: <20110823000637.813c40f2.idunham@lavabit.com> (raw)
In-Reply-To: <20110823014433.GC132@brightrain.aerifal.cx>

On Mon, 22 Aug 2011 21:44:33 -0400
Rich Felker <dalias@aerifal.cx> wrote:

> On Mon, Aug 22, 2011 at 06:37:10PM -0700, Isaac Dunham wrote:
> > I recently tried building OpenSSL, and it failed to build due to a
> > missing "memory.h".
<snip>
> > Which, IIRC, means a BSD-flavored/other legacy string.h
> > Is this header desired for compatability, or should code using it be considered 
> > non-conformant and patched?
> 
> Probably both, i.e. we should add it and OpenSSL should be patched. In
> the long term I'm thinking about adding #warning to all of the
> nonsensical legacy headers and wrong-location headers (missing sys/-
> prefix or incorrect sys/- prefix) to help track down and correct such
> errors in programs.
I had assumed the header wanted was a libc header; however, when I looked up memory.h, 
the recommended header to use was a *private* kernel header (not one of the cleaned headers). There was talk about removing the include from OpenSSL (which certainly should happen, considering the hackishness of this).
IIRC, sys/ is part of the linux-libc headers
> 
> > Also, have any SSL libraries (besides openssh internal) have been
> > verified to work with musl?
> 
> I have bitlbee and irssi both linked with OpenSSL and haven't had any
> problems with them, but I haven't tried all the features that depend
> on SSL. 
Since that means you built openssl, I'll try it again--once I've built a self-hosting system (bootstrap-linux, in this case)

-- 
Isaac Dunham <idunham@lavabit.com>



  reply	other threads:[~2011-08-23  7:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23  1:37 Isaac Dunham
2011-08-23  1:44 ` Rich Felker
2011-08-23  7:06   ` Isaac Dunham [this message]
2011-08-23 12:17     ` Rich Felker
2011-08-25  6:37       ` Isaac Dunham
2011-08-25 11:34         ` Szabolcs Nagy
2011-08-25 12:42         ` Rich Felker
2011-08-23 14:26   ` 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=20110823000637.813c40f2.idunham@lavabit.com \
    --to=idunham@lavabit.com \
    --cc=dalias@aerifal.cx \
    --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).