kernel-testers.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Oberparleiter <peter.oberparleiter-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
To: Mariusz Kozlowski <m.kozlowski-NWF1p15JEu3VItvQsEIGlw@public.gmane.org>
Cc: Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: 2.6.27-rc1-mm1: unable to boot with gcov on x86_64
Date: Wed, 06 Aug 2008 09:23:41 +0200	[thread overview]
Message-ID: <4899517D.2050208@de.ibm.com> (raw)
In-Reply-To: <200808052226.36626.m.kozlowski-NWF1p15JEu3VItvQsEIGlw@public.gmane.org>

Mariusz Kozlowski wrote:
> 	I'm seeing similar GCOV problems as with 2.6.26-rc5-mm1 that you fixed.
> This is the same x86_64 box and again it was unable to boot with gcov enabled.
> A quick look revealed that arch/x86/tsc_64.c and arch/x86/tsc_32.c code was
> unified. Unfortunately simple change of
> 
> GCOV_tsc_32.o := n
> GCOV_tsc_64.o := n
> 
> to
> 
> GCOV_tsc.o := n
> 
> did not help. Given the amount of combinations of which set of files with GCOV
> might cause failures I was rather fortunate and after a few hours I was able
> to pinpoint exactly two files which need GCOV disabled to make my x86_64 boot.
> 
> If you want to try to figure out what is wrong with them please feel free to send
> me patches to test. If not then how about this patch? Compile and run tested.

Your patch looks good. I don't think I will be able to refine those
list of files to be excluded any better than you already did so this
should go into -mm with the other gcov patches.

For future reference, there are other object files which "stand out" in
the respective Makefile, namely rtc.o, hpet.o and paravirt.o. Just like
the two files that you identified as causing problems with gcov
profiling, these are explicitly excluded from either FTRACE profiling
or stack-protector checks or both. If there should be further run-time
problems, these are good candidates to check, though I'd like to refrain
from removing them at this point in time without them causing any
apparent problems.


Regards,
  Peter

      parent reply	other threads:[~2008-08-06  7:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080731000354.24b55d5b.akpm@linux-foundation.org>
     [not found] ` <20080731000354.24b55d5b.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-07-31 12:43   ` [BUILD-FAILURE] 2.6.27-rc1-mm1 - allyesconfig build fails on powerpc Kamalesh Babulal
     [not found]     ` <4891B370.5040208-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-08-01  5:29       ` Tony Breeds
     [not found]         ` <20080801052936.GZ20457-B47dsA4koDqXvyopL2yb9tBPR1lH4CV8@public.gmane.org>
2008-08-01  6:12           ` Andrew Morton
     [not found]             ` <20080731231206.80940fba.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-08-01 15:40               ` Peter 1 Oberparleiter
2008-08-01 16:45               ` Sam Ravnborg
2008-08-01 15:44           ` Peter 1 Oberparleiter
2008-08-01 16:16           ` Kamalesh Babulal
2008-08-02  9:23   ` 2.6.27-rc1-mm1: rmmod ide-cd_mod oops Mariusz Kozlowski
     [not found]     ` <200808021123.57952.m.kozlowski-NWF1p15JEu3VItvQsEIGlw@public.gmane.org>
2008-08-02 16:15       ` Bartlomiej Zolnierkiewicz
     [not found]         ` <200808021815.57573.bzolnier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-08-02 23:25           ` Mariusz Kozlowski
2008-08-03 14:41             ` Bartlomiej Zolnierkiewicz
2008-08-03 15:45               ` Mariusz Kozlowski
2008-08-02 15:17   ` 2.6.27-rc1-mm1: sparc64 BUG: using smp_processor_id() in preemptible code Mariusz Kozlowski
     [not found]     ` <200808021717.47971.m.kozlowski-NWF1p15JEu3VItvQsEIGlw@public.gmane.org>
2008-08-03  7:02       ` David Miller
2008-08-05 20:26   ` 2.6.27-rc1-mm1: unable to boot with gcov on x86_64 Mariusz Kozlowski
     [not found]     ` <200808052226.36626.m.kozlowski-NWF1p15JEu3VItvQsEIGlw@public.gmane.org>
2008-08-05 20:29       ` Mariusz Kozlowski
2008-08-06  7:23       ` Peter Oberparleiter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4899517D.2050208@de.ibm.com \
    --to=peter.oberparleiter-ta70fqpds9bqt0dzr+alfa@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=m.kozlowski-NWF1p15JEu3VItvQsEIGlw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).