From: Helge Deller <deller@gmx.de>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: linux-parisc@vger.kernel.org, kyle@mcmartin.ca
Subject: Re: [PATCH] parisc: add ftrace (function and graph tracer) functionality
Date: Tue, 10 Feb 2009 21:56:03 +0100 [thread overview]
Message-ID: <4991E9E3.2040404@gmx.de> (raw)
In-Reply-To: <20090210021101.2118F4EDA@hiauly1.hia.nrc.ca>
John David Anglin wrote:
>> It will currently only work with 64bit kernels, because the gcc options -pg
>> and -ffunction-sections can't be enabled at the same time and -ffunction-sections
>> is still needed to be able to link 32bit kernels.
>
> I have done some testing. As far as I can tell, -pg works with
> -ffunction-sections on hppa-unknown-linux-gnu and hppa64-hp-hpux11.
That's great!
Which gcc version did you tested?
For me, (cross-compiler) hppa-linux-gcc 3.3.4 didn't linked without -ffunction-sections.
> hppa2.0w-hp-hpux11 doesn't support -ffunction-sections. So, I think
> we should propose that the code that disables -ffunction-sections
> with -pg be removed.
In principle no objections from my side. Nevertheless we really need to make sure.
E.g. we'd need to increase the minimal required compiler version for kernel on 32bit.
Did you tested modules (on 32bit) as well, e.g. the xfs module which had the
relocation problems?
Best regards,
Helge
next prev parent reply other threads:[~2009-02-10 20:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-08 23:43 [PATCH] parisc: add ftrace (function and graph tracer) functionality Helge Deller
2009-02-10 2:10 ` John David Anglin
2009-02-10 2:24 ` Randolph Chung
2009-02-10 2:48 ` John David Anglin
2009-02-10 20:56 ` Helge Deller [this message]
2009-02-11 2:43 ` John David Anglin
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=4991E9E3.2040404@gmx.de \
--to=deller@gmx.de \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=kyle@mcmartin.ca \
--cc=linux-parisc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.