From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Khem Raj <raj.khem@gmail.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCHv3 3/6] gcc: Statically link in support libraries e.g. libmpfr libgmp etc.
Date: Mon, 14 Mar 2011 18:01:06 +0000 [thread overview]
Message-ID: <1300125666.30423.354.camel@rex> (raw)
In-Reply-To: <AANLkTimM2W1XiRcSJxrXYQDDRd2Hyxg3YAqq_kBVheWK@mail.gmail.com>
On Mon, 2011-03-14 at 10:52 -0700, Khem Raj wrote:
> On Sat, Mar 12, 2011 at 4:50 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > If you look at the way the SDK toolchain works in Poky, it automatically
> > ships the versions of these libraries that it needs so we don't actually
> > have this problem.
> >
>
> Yes thats one way of doing it and if you got it working this is fine
> but there were issues when referencing
> due to ORIGIN mucking. So this was better and cleaner than we link in
> this libs into binary itself.
The $ORIGIN stuff should be working just fine, have you checked this?
> From
> my POV even this solution can be improved by adding the support libs
> to gcc build itself as sources
> then we dont need to muck with gcc build configury at all. I have been
> doing that for non OE related
> SDKs and has been best so far.
As I mention above, I do think we have a solution for this which is
working...
> > Also, looking at the patch again, was the first LDFLAGS change meant to
> > be in there, is that related or different to the shared/static
> > mpfr/mpc/gmp issue?
>
> LDFLAGS are modified to get the LDFLAGS into gcc itself otherwise it
> would not honour
> the modified LDFLAGS to pass -static option.
Hmm, I'll look at the patch again as that didn't seem to be the only
LDFLAGS change but I could be wrong.
Cheers,
Richard
next prev parent reply other threads:[~2011-03-14 18:03 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 6:52 [PATCH V2 0/6] Fixes to get oe-core building Khem Raj
2011-03-03 6:52 ` [PATCHv3 1/6] sqlite3: Update version 3.7.3 -> 3.7.5 Khem Raj
2011-03-03 6:52 ` [PATCHv3 2/6] distro_tracking_fields.inc: Use 2.6.37.2 instead of 2.6.36 for linux-libc-headers Khem Raj
2011-03-08 6:39 ` Khem Raj
2011-03-08 18:51 ` Richard Purdie
2011-03-03 6:52 ` [PATCHv3 3/6] gcc: Statically link in support libraries e.g. libmpfr libgmp etc Khem Raj
2011-03-08 6:38 ` Khem Raj
2011-03-08 18:53 ` Richard Purdie
2011-03-08 19:04 ` Khem Raj
2011-03-12 12:50 ` Richard Purdie
2011-03-14 16:50 ` Tom Rini
2011-03-14 19:54 ` Richard Purdie
2011-03-15 17:33 ` Tom Rini
2011-03-16 13:27 ` Richard Purdie
2011-03-16 17:17 ` Tom Rini
2011-03-14 17:52 ` Khem Raj
2011-03-14 18:01 ` Richard Purdie [this message]
2011-03-14 18:42 ` Khem Raj
2011-03-03 6:52 ` [PATCHv3 4/6] sanity.bbclass: Check for /proc/sys/vm/mmap_min_addr to be >= 65536 Khem Raj
2011-03-03 7:15 ` Martin Jansa
2011-03-03 12:13 ` Richard Purdie
2011-03-03 15:48 ` Khem Raj
2011-03-03 6:52 ` [PATCHv3 5/6] poky-default.inc: Change LINUXLIBCVERSION "2.6.36" -> "2.6.37.2" Khem Raj
2011-03-08 6:39 ` Khem Raj
2011-03-08 18:48 ` Richard Purdie
2011-03-03 6:52 ` [PATCHv3 6/6] rpm: Fix linking error encountered in rpm-native Khem Raj
2011-03-03 12:07 ` Richard Purdie
2011-03-03 12:43 ` Koen Kooi
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=1300125666.30423.354.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=raj.khem@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox