From: Adrian Bunk <bunk@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>,
linux-kernel@vger.kernel.org, ltp-coverage@lists.sourceforge.net,
Sam Ravnborg <sam@ravnborg.org>,
Peter Oberparleiter <oberparleiter@googlemail.com>
Subject: Re: [PATCH 6/7] kbuild: make source and include paths absolute
Date: Fri, 23 May 2008 20:18:40 +0300 [thread overview]
Message-ID: <20080523171840.GD28257@cs181133002.pp.htv.fi> (raw)
In-Reply-To: <20080522201724.cf4bd471.akpm@linux-foundation.org>
On Thu, May 22, 2008 at 08:17:24PM -0700, Andrew Morton wrote:
> On Mon, 19 May 2008 10:44:56 +0200 Peter Oberparleiter <peter.oberparleiter@de.ibm.com> wrote:
>
> > From: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
> >
> > Change all source and include paths to absolute form when
> > CONFIG_GCOV_PROFILE is enabled.
> >
> > Example:
> >
> > gcc -Idir1 -c a.c -o a.o
> >
> > will become
> >
> > gcc -I/path/to/dir1 -c /path/to/a.c -o a.o
> >
> > Required by the gcov profiling infrastructure: when compiling with
> > option -fprofile-arcs, gcc stores file names inside object files.
> > Relative paths prevent the gcov tool from finding corresponding source
> > files.
>
> I don't like this. It converts the compiler error messages from
> relative paths to absolute paths which is rather obnoxious when
> all kernel developent is (or should be) base-directory-agnostic.
The compiler error messages are already absolute paths when using O=
(see e.g. all error messages sent by me in recent years).
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2008-05-23 17:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 8:44 Peter Oberparleiter
2008-05-19 13:45 ` Jan Blunck
2008-05-23 3:17 ` Andrew Morton
2008-05-23 17:18 ` Adrian Bunk [this message]
2008-05-23 18:17 ` Andrew Morton
2008-05-23 19:09 ` Sam Ravnborg
2008-05-23 19:42 ` Vegard Nossum
2008-05-23 19:52 ` Sam Ravnborg
2008-05-27 9:16 ` Peter Oberparleiter
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=20080523171840.GD28257@cs181133002.pp.htv.fi \
--to=bunk@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ltp-coverage@lists.sourceforge.net \
--cc=oberparleiter@googlemail.com \
--cc=peter.oberparleiter@de.ibm.com \
--cc=sam@ravnborg.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
all inboxes | Powered by JetHome®