Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: ml@communistcode.co.uk
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: ld problems with relocated toolchain
Date: Fri, 21 Sep 2012 15:08:36 +0100	[thread overview]
Message-ID: <1348236516.10108.79.camel@ted> (raw)
In-Reply-To: <505C7402.4060604@communistcode.co.uk>

On Fri, 2012-09-21 at 15:04 +0100, Jack Mitchell wrote:
> I am currently having issues building my application with the latest 
> toolchain.
> 
> I have used the new capabilities of it being relocatable to place it 
> somewhere sensible and I think this may be what is breaking it. My old 
> toolchain in /opt still works perfectly.
> 
> The error I receive is:
> 
> /home/jack/Projects/R0005-SDK-210912/sysroots/x86_64-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/../../libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/ld: 
> cannot find crtbegin.o: No such file or directory
> collect2: error: ld returned 1 exit status
> make: *** [R0005] Error 1
> 
> However, crtbeign.o is at the path:
> 
>     [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ pwd
> /home/jack/Projects/R0005-SDK-210912/sysroots/armv7a-vfp-neon-poky-linux-gnueabi
>     [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ find . -name
>     crtbegin.o
>     ./usr/lib/arm-poky-linux-gnueabi/4.7.2/crtbegin.o
>     [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ ls usr/lib
>     lib/     libexec/
>     [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$ ls usr/libexec/
>     pt_chown
>     [jack@archHP armv7a-vfp-neon-poky-linux-gnueabi]$
> 
> 
> Does anyone have an idea what is the issue here? Why can't it find the 
> object file?

Did you have the patches that just merged to master applied? There are a
number of relocation issues those just addressed.

Cheers,

Richard




  reply	other threads:[~2012-09-21 14:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 14:04 ld problems with relocated toolchain Jack Mitchell
2012-09-21 14:08 ` Richard Purdie [this message]
2012-09-21 14:23   ` Jack Mitchell
2012-09-21 14:27     ` Zhang, Jessica
2012-09-21 14:35       ` Jack Mitchell
2012-09-21 14:52 ` Laurentiu Palcu
2012-09-21 15:17   ` Jack Mitchell
2012-09-24  2:17     ` Khem Raj
2012-09-24  8:37       ` Jack Mitchell
2012-09-24  8:44         ` Laurentiu Palcu
2012-09-24  8:54           ` Jack Mitchell
2012-09-24 15:28             ` Khem Raj
2012-09-25  8:29               ` Jack Mitchell
2012-09-25 13:41                 ` Khem Raj
2012-09-25 13:58                   ` Jack Mitchell

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=1348236516.10108.79.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=ml@communistcode.co.uk \
    --cc=openembedded-core@lists.openembedded.org \
    /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