lkml.org 
[lkml]   [2008]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 6/7] kbuild: make source and include paths absolute
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



\
 
 \ /
  Last update: 2008-05-23 19:23    [W:0.054 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site