mailing list of musl libc
 help / color / mirror / code / Atom feed
From: John Spencer <maillist-musl@barfooze.de>
To: musl@lists.openwall.com
Subject: Re: musl and gcc-4.8 (sabotage)
Date: Fri, 29 Mar 2013 00:32:03 +0100	[thread overview]
Message-ID: <5154D2F3.3080709@barfooze.de> (raw)
In-Reply-To: <CAPLrYERQ2F4PDVvT6dA7AMVHRwWTrY0i=fNsBL5TLiXLh7wD8A@mail.gmail.com>

On 03/28/2013 09:38 PM, Daniel Cegiełka wrote:
> Hi,
> Is anyone able to compile gcc-4.8 with musl? I try to prepare patch
> based on the work of Gregor Richards... but without success. I wonder
> if the error isn't in gcc.
>
>
> make[3]: Entering directory
> `/var/tmp/ports/gcc/work/gcc-4.8-20130321/x86_64-pc-linux-musl/libstdc++-v3/include'
> echo timestamp>  stamp-pb
> make[3]: *** No rule to make target
> `/var/tmp/ports/gcc/work/gcc-4.8-20130321/libstdc++-v3/config//ctype_base.h',
> needed by `stamp-host'.  Stop.

as you can see, the string os/generic is missing after config/

this section in your patch should make it pick that:

+    # check for musl by target
+    case "${host_os} in
+      *-musl*)
+        os_include_dir="os/generic"
+        ;;
+      *)
+


i'd try adding some debug code into that configure script and see what 
the actual values are and why that path is not taken.

>
> This header file is located in (ls)
> /var/tmp/ports/gcc/work/gcc-4.8-20130321/libstdc++-v3/config/os/generic/



  reply	other threads:[~2013-03-28 23:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-28 20:38 Daniel Cegiełka
2013-03-28 23:32 ` John Spencer [this message]
2013-03-28 23:46   ` Daniel Cegiełka
2013-03-28 23:58     ` Daniel Cegiełka
2013-03-29  0:07       ` Rich Felker
2013-03-29  9:42         ` Szabolcs Nagy
2013-03-29  0:35       ` John Spencer
2013-03-29  1:39         ` Daniel Cegiełka
2013-03-29  1:56           ` Rich Felker
2013-03-29 11:07             ` Daniel Cegiełka
2013-03-29 11:25               ` Szabolcs Nagy
2013-03-29 14:13                 ` Daniel Cegiełka
2013-03-29 15:19                   ` Szabolcs Nagy
2013-03-29 15:38                     ` Daniel Cegiełka
2013-03-30  9:51                     ` Daniel Cegiełka
2013-03-29  2:10           ` John Spencer

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=5154D2F3.3080709@barfooze.de \
    --to=maillist-musl@barfooze.de \
    --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).