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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080611170127.46b46d28.akpm@linux-foundation.org>
Date:	Wed, 11 Jun 2008 17:01:27 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Peter Oberparleiter <peter.oberparleiter@...ibm.com>
Cc:	linux-kernel@...r.kernel.org, ltp-coverage@...ts.sourceforge.net,
	oberparleiter@...glemail.com
Subject: Re: [PATCH 6/6] gcov: architecture specific compile flag
 adjustments

On Mon, 02 Jun 2008 15:34:47 +0200
Peter Oberparleiter <peter.oberparleiter@...ibm.com> wrote:

> Exclude code from profiling which is not linked to the main kernel or
> which is running in a context not compatible with the assumptions made
> by gcc's profiling code.

powerpc allmodconfig fails with

Error: External symbol '__gcov_init' referenced from prom_init.c
Error: External symbol '__gcov_merge_add' referenced from prom_init.c

This:

--- a/arch/powerpc/kernel/Makefile~a
+++ a/arch/powerpc/kernel/Makefile
@@ -12,6 +12,10 @@ CFLAGS_prom_init.o      += -fPIC
 CFLAGS_btext.o         += -fPIC
 endif
 
+ifdef CONFIG_GCOV_PROFILE
+CFLAGS_prom_init.o     += -fno-profile-arcs -fno-test-coverage
+endif
+

didn't fix it so I gave up.
--
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