mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Wrapper scripts and Open64
Date: Thu, 3 May 2012 19:58:24 -0400	[thread overview]
Message-ID: <20120503235824.GU14673@brightrain.aerifal.cx> (raw)
In-Reply-To: <20120503132048.f4a26b72.idunham@lavabit.com>

On Thu, May 03, 2012 at 01:20:48PM -0700, Isaac Dunham wrote:
> I was curious, and started playing with Open64...
> Open64 is at least as troublesome as gcc, but it doesn't work with
> specfiles.
> So if I use kopencc (the GCC-style wrapper that Open64 uses) instead
> of gcc, the specfile version doesn't work...but the version from
> commit 02eb568 does work.

I'm surprised it works, since it was partly specfile based too. Are
you sure everything at the linking stage was working (including
inhibiting search of non-musl paths), and not just the compiler?

> Open64 doesn't have stack-protector AFAIK.

That shouldn't be a problem.

> Open64 does require C++ to compile...as do most C++ compilers that 
> I've tried.
> So how exactly do you bootstrap a C++ environment under musl?

Building gcc 4.6.2 with C++ support and libstdc++ should work fine as
long as you replace libstdc++/config/os/gnu-linux with generic to
eliminate the poking at glibc locale internals. Once you have it
working you should (in theory) be able to build other compilers
written in C++...

Rich


      reply	other threads:[~2012-05-03 23:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03 20:20 Isaac Dunham
2012-05-03 23:58 ` Rich Felker [this message]

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=20120503235824.GU14673@brightrain.aerifal.cx \
    --to=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).