From: gprabhunath@gmail.com (Prabhu nath)
To: kernelnewbies@lists.kernelnewbies.org
Subject: debugging enabled? (was Re: KGDB command line options not working for kernel 2.6.32)
Date: Tue, 28 Jun 2011 11:55:00 +0530 [thread overview]
Message-ID: <BANLkTineCVLz-3+a98b9iT490u4RG6Satg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=B5BpS226h3P-Jm=Vqj=VMjWcq+w@mail.gmail.com>
Hi Mulyadi/Spiro,
Can you please help me in partially enabling/disabling
optimizations, because I was consistently hitting at the below problem when
building the kernel after disabling the optimization
ERROR: "intel_gmbus_is_forced_bit" [drivers/gpu/drm/i915/i915.ko] undefined!
ERROR: "__udivdi3" [drivers/gpu/drm/i915/i915.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [sub-make] Error 2
Can I enable optimization for this i915 driver, so that I can contine with
my kernel building ?
Thanks,
Prabhu
On Tue, Jun 28, 2011 at 7:21 AM, Mulyadi Santosa
<mulyadi.santosa@gmail.com>wrote:
> Hi Spiro
>
> On Tue, Jun 28, 2011 at 01:40, Spiro Trikaliotis
> <ml-kernelnewbies@spiro.trikaliotis.net> wrote:
> >
> > On the other hand: With optimisations disabled, the kernel behaves
> > differently than it would with optimisations. That's why many people
> > prefer to keep them switched on, and only disable them partially if
> > really, really needed.
>
> I agree...even I still have mixed conclusion whether to go or no go
> with -O when dealing with -O and debugging. I guess one of the biggest
> offenders are: inlining, dead code (and symbols) elimination,
> substitution with specific machine specific opcode (not really sure,
> is -march has relationship with -O)...
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110628/28ef85d4/attachment.html
next prev parent reply other threads:[~2011-06-28 6:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 14:51 debugging enabled? (was Re: KGDB command line options not working for kernel 2.6.32) Mulyadi Santosa
2011-06-27 18:40 ` Spiro Trikaliotis
2011-06-28 1:51 ` Mulyadi Santosa
2011-06-28 6:25 ` Prabhu nath [this message]
2011-06-28 10:11 ` Mulyadi Santosa
2011-06-28 17:41 ` Dave Hylands
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=BANLkTineCVLz-3+a98b9iT490u4RG6Satg@mail.gmail.com \
--to=gprabhunath@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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).