From: Jeff Webb <jeff.webb@nta-inc.net>
To: xenomai@xenomai.org
Subject: Re: [Xenomai] Kernel compilation error due to Adeos patch error in 'io_apic.c'
Date: Fri, 28 Dec 2012 10:49:10 -0600 [thread overview]
Message-ID: <50DDCD86.302@nta-inc.net> (raw)
In-Reply-To: <50DCC0DD.6030105@xenomai.org>
On 12/27/2012 03:42 PM, Gilles Chanteperdrix wrote:
> On 12/27/2012 10:38 PM, Wim Meeussen wrote:
>
>>>> I can confirm that this problem still exists with yesterday's
>>>> stable Xenomai release 2.6.2, ipipe-core-3.2.21-x86-2.patch, a vanilla 3.2.21
>>>> kernel, ang gcc 4.6.3 on Ubuntu 12.04.
>>
>>> Ok, do you have the issue with I-pipe core 3.4 and 3.5 ?
>>
>>
>> With Xenomai 2.6.2, ipipe-core-3.5.3-x86-2.patch, linux 3.5.3 and gcc
>> 4.6.3, I have a different problem, which I haven't been able to solve
>> yet (that's why I started using the older 3.2.21 kernel, and ran into
>> the problem described above).
>>
>> Running "make CONFIG_DEBUG_SECTION_MISMATCH=y -j4" on the 3.5.3 kernel
>> sources gives me the result below. The
>> "CONFIG_DEBUG_SECTION_MISMATCH" parameter was suggested by the
>> previous build that failed, to get more information on the failure.
>>
>>
>> WARNING: drivers/scsi/fcoe/libfcoe.o(.init.text+0x1e): Section
>> mismatch in reference from the function init_module() to the function
>> .exit.text:fcoe_transport_exit()
>> The function __init init_module() references
>> a function __exit fcoe_transport_exit().
>> This is often seen when error handling in the init function
>> uses functionality in the exit path.
>> The fix is often to remove the __exit annotation of
>> fcoe_transport_exit() so it may be used outside an exit section.
>>
>
>
> Are you sure this error is related to xenomai?
>
For what it's worth, I would guess no. I had similar problems when compiling a 3.4 series kernel under Ubuntu 12.04. I solved the problem by disabling the modules that CONFIG_DEBUG_SECTION_MISMATCH was complaining about. This all had nothing to do with Xenomai.
-Jeff
next prev parent reply other threads:[~2012-12-28 16:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-08 11:00 [Xenomai] Kernel compilation error due to Adeos patch error in 'io_apic.c' Stephen Bryant
2012-12-27 19:06 ` Wim
2012-12-27 19:35 ` Gilles Chanteperdrix
2012-12-27 20:15 ` Philippe Gerum
[not found] ` <CAAq7VdD_rrspRMqE8MVfLLnwPi+wOj87QedkdiSAto5YBG76Kw@mail.gmail.com>
2012-12-27 21:42 ` Gilles Chanteperdrix
2012-12-28 16:49 ` Jeff Webb [this message]
2012-12-28 18:32 ` Wim Meeussen
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=50DDCD86.302@nta-inc.net \
--to=jeff.webb@nta-inc.net \
--cc=xenomai@xenomai.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.