mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Samuel Holland <samuel@sholland.net>
To: musl@lists.openwall.com
Subject: Re: libgcc errors
Date: Fri, 10 Oct 2014 21:30:15 +0000	[thread overview]
Message-ID: <D8F37455-43E7-40CF-88C0-B47E46DC7542@sholland.net> (raw)
In-Reply-To: <CAA7aPHhQir-XE=604_Y+MF3BPCWP=foCPbu5K9wKKujhA1YjdA@mail.gmail.com>

On October 10, 2014 4:01:10 PM CDT, stephen Turner <stephen.n.turner@gmail.com> wrote:
>As previously mentioned I wiped and installed a clean debian. I did a
>absolute minimum default install no desktop etc compiled the latest
>stable
>musl, m4, gmp, mpfr, mpc, and downloaded gcc 4.7.3 with
>gregorr/musl-cross
>patch to match.

I'm assuming you're using musl-gcc to compile m4, gmp, mpfr, mpc, binutils(!), and gcc.

>Its having a problem finding/using libmpc.so.3 but the paths appear to
>point to the directory which it is located. to be sure i even specified
>using the --with-mpc flag.

You're almost there! All you have to do is tell musl where to find shared libraries. From the documentation:

../etc/ld-musl-$(ARCH).path, taken relative to the location of the "program interpreter" specified in the program's headers - if present, this will be processed as a text file containing the shared library search path, with components delimited by newlines or colons. If absent, a default path of"/lib:/usr/local/lib:/usr/lib" will be used. Not used by static-linked programs.

You need make that file and put /root/cross/i686-linux-musl/lib in there. You compiled gcc fine, but the new gcc's backend isn't running because it can't find the shared libraries you compiled earlier because they aren't in a standard path.

-- 
Regards,
Samuel Holland <samuel@sholland.net>


  parent reply	other threads:[~2014-10-10 21:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07 18:54 stephen Turner
2014-10-07 19:51 ` Szabolcs Nagy
2014-10-07 21:32   ` stephen Turner
2014-10-07 22:59     ` Samuel Holland
2014-10-09 12:13       ` Andrew Bradford
2014-10-09 14:46         ` stephen Turner
2014-10-09 15:49           ` stephen Turner
2014-10-09 19:38         ` Samuel Holland
2014-10-09 21:08           ` stephen Turner
2014-10-09 21:43             ` Samuel Holland
2014-10-09 21:55               ` stephen Turner
2014-10-09 22:17                 ` stephen Turner
2014-10-10 21:01                   ` stephen Turner
2014-10-10 21:21                     ` Rich Felker
2014-10-10 21:28                       ` Samuel Holland
2014-10-10 21:30                     ` Samuel Holland [this message]
2014-10-16 17:35                       ` stephen Turner
2014-10-09 22:04               ` writeonce

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=D8F37455-43E7-40CF-88C0-B47E46DC7542@sholland.net \
    --to=samuel@sholland.net \
    --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).