lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 19 May 2008 13:45:29 +0000 (UTC)
From:	Jan Blunck <jblunck@...e.de>
To:	linux-kernel@...r.kernel.org
Subject:  Re: [PATCH 6/7] kbuild: make source and include paths absolute

On Mon, 19 May 2008 10:44:56 +0200, Peter Oberparleiter wrote:

> From: Peter Oberparleiter <peter.oberparleiter@...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 think it would be good to fix this in the gcov tool. When I think
of distribution kernels the source usually ends up in a different
place in the packages than the kernel was originally compiled. So
it would be good to extend gcov here or let it search in well known
locations first (/usr/src/linux, /usr/src/debug/...).

Cheers,
Jan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ