From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] pv: support ccache builds
Date: Sun, 17 Nov 2013 08:37:24 +0100 [thread overview]
Message-ID: <87iovrzdfv.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20131115202856.GA13944@gmail.com> (Andrew Ruder's message of "Fri, 15 Nov 2013 14:28:56 -0600")
>>>>> "Andrew" == Andrew Ruder <andrew.ruder@elecsyscorp.com> writes:
> When using ccache TARGET_CC is something like
> ccache gcc
> This causes problems in the pv build which attempts to
> override LD because the command ends up being
> make [...] LD=/tools/ccache /tools/gcc LDFLAGS="[...]
> As a result, during the build phase it attempts to build
> /tools/gcc which succeeds by doing nothing:
> make[1]: Nothing to be done for `/tools/gcc'.
> and during the install phase you get the real build which
> errors out on the LD error this snippet was attempting to
> fix:
> ld -r -o src/library.o src/library/getopt.o \
> src/library/gettext.o
> ld: src/library/gettext.o: Relocations in generic ELF \
> (EM: 40)
> src/library/gettext.o: error adding symbols: File in \
> wrong format
> Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Committed, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2013-11-17 7:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-15 20:28 [Buildroot] [PATCH] pv: support ccache builds Andrew Ruder
2013-11-15 20:58 ` Yann E. MORIN
2013-11-17 7:37 ` Peter Korsgaard [this message]
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=87iovrzdfv.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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