From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2018-12-16
Date: Tue, 18 Dec 2018 08:50:28 +0100 [thread overview]
Message-ID: <20181218085028.14f371be@windsurf> (raw)
In-Reply-To: <e74aed1a-dec1-7774-2739-7d7c7f2ed999@mind.be>
Hello,
On Tue, 18 Dec 2018 00:43:07 +0100, Arnout Vandecappelle wrote:
> > >> /bin/sh: /home/naourr/work/instance-0/output/host/bin/aarch64-linux-gnu-cc: No such file or directory
> > >>
> > >> swupdate uses $CROSS-cc and not $CROSS-gcc, which not all external
> > >> toolchain have. I think it makes sense to add a cc -> gcc symlink for
> > >> external toolchains we download if not present. We cannot really do it
> > >> for pre-installed external toolchains as we might not have write access
> > >> to them.
>
> So the symlink is then not a good solution IMO.
Yeah, I also find that the symlink approach is not good if it leaves on
the side the pre-installed external toolchains.
> > echo 'int main(void) { return 0; }' > test.c
> > make test
> > cc test.c -o test
> >
> > So I think it makes sense to add the symlink for compatibility.
>
> I disagree. We should always override CC, so the default 'cc' should never be used.
>
> The problem here is that we forget to pass TARGET_CONFIGURE_OPTS in the
> environment of swupdate.
Agreed :-)
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2018-12-18 7:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-17 7:00 [Buildroot] [autobuild.buildroot.net] Build results for 2018-12-16 Thomas Petazzoni
2018-12-17 8:06 ` Peter Korsgaard
2018-12-17 8:08 ` Thomas Petazzoni
2018-12-17 8:25 ` Peter Korsgaard
2018-12-17 23:43 ` Arnout Vandecappelle
2018-12-18 7:50 ` Thomas Petazzoni [this message]
2018-12-18 8:27 ` Peter Korsgaard
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=20181218085028.14f371be@windsurf \
--to=thomas.petazzoni@bootlin.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.