login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
23
Re: [PATCH 6/7] kbuild: make source and include paths absolute
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Andrew Morton <akpm@...>
Cc: Adrian Bunk <bunk@...>, <peter.oberparleiter@...>, <linux-kernel@...>, <ltp-coverage@...>, <oberparleiter@...>
Subject:
Re: [PATCH 6/7] kbuild: make source and include paths absolute
Date: Friday, May 23, 2008 - 3:09 pm
On Fri, May 23, 2008 at 11:17:07AM -0700, Andrew Morton wrote:
quoted text
> On Fri, 23 May 2008 20:18:40 +0300 > Adrian Bunk <bunk@kernel.org> wrote: > > > 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). > > > > Well I guess that's understandable with O=. > > But I find it rather nasty. (I guess it'd be less nasty if I were to > get off my butt and work out how to teach rxvt that "/" is a word > separator). > > What do others think?
That the gcov tool has a bug if it insist on using absolute paths. And thus we should fix gcov and not workaround it in the kernel. Sam --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 6/7] kbuild: make source and include paths absolute
, Peter Oberparleiter
, (Mon May 19, 4:44 am)
Re: [PATCH 6/7] kbuild: make source and include paths absolute
, Andrew Morton
, (Thu May 22, 11:17 pm)
Re: [PATCH 6/7] kbuild: make source and include paths absolute
, Adrian Bunk
, (Fri May 23, 1:18 pm)
Re: [PATCH 6/7] kbuild: make source and include paths absolute
, Andrew Morton
, (Fri May 23, 2:17 pm)
Re: [PATCH 6/7] kbuild: make source and include paths absolute
, Sam Ravnborg
, (Fri May 23, 3:09 pm)
Re: [PATCH 6/7] kbuild: make source and include paths absolute
, Peter Oberparleiter
, (Tue May 27, 5:16 am)
Re: [PATCH 6/7] kbuild: make source and include paths absolute
, Vegard Nossum
, (Fri May 23, 3:42 pm)
Re: [PATCH 6/7] kbuild: make source and include paths absolute
, Sam Ravnborg
, (Fri May 23, 3:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Amit K. Arora
[RFC] Heads up on sys_fallocate()
Linus Torvalds
Linux 2.6.23-rc9 and a heads-up for the 2.6.24 series..
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Linus Torvalds
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [klibc] [patch] import socket defines
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
638 guests
online.
Online users
Nelson
genesiscoom
Syndicate