From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761334AbYEWDTJ (ORCPT ); Thu, 22 May 2008 23:19:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759083AbYEWDSW (ORCPT ); Thu, 22 May 2008 23:18:22 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:41926 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755986AbYEWDSU (ORCPT ); Thu, 22 May 2008 23:18:20 -0400 Date: Thu, 22 May 2008 20:17:24 -0700 From: Andrew Morton To: Peter Oberparleiter Cc: linux-kernel@vger.kernel.org, ltp-coverage@lists.sourceforge.net, Sam Ravnborg , Peter Oberparleiter Subject: Re: [PATCH 6/7] kbuild: make source and include paths absolute Message-Id: <20080522201724.cf4bd471.akpm@linux-foundation.org> In-Reply-To: <48313E08.8070904@de.ibm.com> References: <48313E08.8070904@de.ibm.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 May 2008 10:44:56 +0200 Peter Oberparleiter wrote: > From: Peter Oberparleiter > > 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.