From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv2 4/4] toolchain: instrument external toolchain wrapper
Date: Fri, 19 Jul 2013 23:30:31 +0200 [thread overview]
Message-ID: <877ggmutjc.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20130719161315.GA3751@free.fr> (Yann E. MORIN's message of "Fri, 19 Jul 2013 18:13:15 +0200")
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
Hi,
>> That's still not really the code style used elsewhere in this file.
Yann> Doh. What happenned? I've just looked at my tree here, adn the style
Yann> fixes are applied.
Yann> OK. All sorted. I did 'git commit --amend'. I should forgot to pass '-a'
Yann> also (or run 'git add' first).
Yann> Doh, too bad. Sorry for the inconvenience... :-(
No problem ;)
>> You could argue that this feature isn't really needed as you can just
>> run 'strace -s 1000 -e execve <wrapper>' for basically the same
>> information, but OK - This is perhaps a bit more user friendly.
Yann> My use-case was to see how the kernel build-system was calling the
Yann> wrapper. So I just ran:
Yann> BR_DEBUG_WRAPPER=1 make
Yann> in my Buildroot build dir.
So you are only interested in the arguments to the wrapper, or do you
want to see the final arguments to the real compiler?
>> With that in mind, I think a more sensible output format is something
>> you can directly cut'n'paste and execute in the shell (after perhaps
>> tweaking something), so I've changed it to simply print the args space
>> seperated like this:
Yann> Yet, one of the motivation behind the \n-separated args was to easily
Yann> see the args, without having to 'parse' the command line with the eyes.
Yann> The Linux kernel is passing something like 40+ args to the wrapper, so
Yann> the line is getting rather long, and difficult to grok visually, while
Yann> the one-arg per line output made it very easy.
Ok, but a kernel build with 40+ lines per gcc invocation is presumably
also quite overwhelming?
Yann> Again, sorry for the inconvenience. :-(
Yann> I already owed you one ${BEVERAGE} in Edimburgh; you can make
Yann> that two, now! ;-)
heh, sounds good ;)
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2013-07-19 21:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-18 21:24 [Buildroot] [pull request] Pull request for branch yem-misc-updates Yann E. MORIN
2013-07-18 21:24 ` [Buildroot] [PATCH 1/4] defconfig/rpi: bump kernel for misc fixes Yann E. MORIN
2013-07-18 22:33 ` Peter Korsgaard
2013-07-18 21:24 ` [Buildroot] [PATCH 2/4] package/nss-mdns: fix avahi socket location Yann E. MORIN
2013-07-18 22:34 ` Peter Korsgaard
2013-07-18 21:24 ` [Buildroot] [PATCH 3/4] package/nss-mdns: do not overwrite user's nsswitch.conf Yann E. MORIN
2013-07-18 22:39 ` Peter Korsgaard
2013-07-18 21:24 ` [Buildroot] [PATCH 4/4] toolchain: instrument external toolchain wrapper Yann E. MORIN
2013-07-18 21:32 ` Thomas Petazzoni
2013-07-18 21:39 ` Yann E. MORIN
2013-07-18 21:54 ` [Buildroot] [PATCHv2 " Yann E. MORIN
2013-07-19 6:33 ` Peter Korsgaard
2013-07-19 16:13 ` Yann E. MORIN
2013-07-19 21:30 ` Peter Korsgaard [this message]
2013-07-19 21:39 ` Yann E. MORIN
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=877ggmutjc.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