From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] this commit breaks x86_64 toolchain builds
Date: Tue, 11 Sep 2007 20:35:33 +0200 [thread overview]
Message-ID: <20070911183533.GD20058@aon.at> (raw)
In-Reply-To: <e83232070709101445l7db6927dx8a166ef8e9db8572@mail.gmail.com>
On Tue, Sep 11, 2007 at 07:45:09AM +1000, Roderick Taylor wrote:
>On 07/09/2007, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
>> On Thu, Sep 06, 2007 at 10:59:56PM +1000, Roderick Taylor wrote:
>> >x86_64, by default uses the lib64 directory to hold 64-bit libraries.
>> >not the lib directory as assumed by this commit.
>>
>> I don't see how the patch mentioned below is the culprit?
>
>the "-" infront of the cp means ignore errors. When you build for
>x86_64, buildroot puts libgcc_s* etc. in $(REAL_GNU_TARGET_NAME)/lib64
>not in lib. so this line will produce an error, and because the patch
>stops make from ignoring this, the build stops.
>
>- -cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s*
>$(TARGET_DIR)/lib/
>+ cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s*
>
>
>> Isn't there a target_gcc_lib_dir we should rather use?
>>
>
>I don't know. I know we can either modify the gcc build to install
>into lib instead of lib64 but I haven't tried it.
If the cp errors are ignored, you'd have no libgcc on the target, is
that assumption correct? If so, the we have to handle lib64 in a better
way. Please verify and let me know..
TIA,
next prev parent reply other threads:[~2007-09-11 18:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 12:59 [Buildroot] this commit breaks x86_64 toolchain builds Roderick Taylor
2007-09-07 13:14 ` Bernhard Fischer
2007-09-10 21:45 ` Roderick Taylor
2007-09-11 18:35 ` Bernhard Fischer [this message]
2007-09-12 12:54 ` Roderick Taylor
2007-09-21 9:31 ` Bernhard Fischer
2007-09-23 2:37 ` Roderick Taylor
2007-09-23 3:30 ` Roderick Taylor
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=20070911183533.GD20058@aon.at \
--to=rep.dot.nop@gmail.com \
--cc=buildroot@busybox.net \
/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