All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860
Date: Fri, 08 Dec 2006 13:43:13 +0100	[thread overview]
Message-ID: <45795DE1.70000@domain.hid> (raw)
In-Reply-To: <45795D28.8010606@domain.hid>


[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --]

Wolfgang Grandegger wrote:
> Hi Niklaus,
> 
> I just compiled my Linux 2.4 kernel for TQM860L with the latest revision
> of Xenomai and I cannot reproduce your problem. In you linker path there
> are no Xenomai objects. How does it come? Do you use --arch=ppc with
> prepare_kernel (--arch=powerpc is not valid any more for the ppc tree).
> 

The problem pops up with CONFIG_XENO_OPT_SCALABLE_SCHED.

The definition of xnlogerr is not visible to queue.h, namely to the
inline function getmlq. Here is possible solution at XENO_ASSERT level.

Jan

[-- Attachment #1.2: assert-with-xnarch_logerr.patch --]
[-- Type: text/plain, Size: 628 bytes --]

Index: include/nucleus/assert.h
===================================================================
--- include/nucleus/assert.h	(revision 1930)
+++ include/nucleus/assert.h	(working copy)
@@ -27,7 +27,7 @@
 #define XENO_ASSERT(subsystem,cond,action)  do { \
     if (unlikely(CONFIG_XENO_OPT_DEBUG_##subsystem > 0 && !(cond))) { \
         xnarch_trace_panic_freeze(); \
-        xnlogerr("assertion failed at %s:%d (%s)\n", __FILE__, __LINE__, (#cond)); \
+        xnarch_logerr("assertion failed at %s:%d (%s)\n", __FILE__, __LINE__, (#cond)); \
         xnarch_trace_panic_dump(); \
         action; \
     } \

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-12-08 12:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 12:09 [Xenomai-core] Buildbot: Failure building Xenomai kernel for TQM860 Niklaus Giger
2006-12-08 12:40 ` Wolfgang Grandegger
2006-12-08 12:43   ` Jan Kiszka [this message]
2006-12-08 14:30     ` Niklaus Giger
2006-12-15 20:30     ` Niklaus Giger
2006-12-15 23:36       ` Philippe Gerum
2006-12-08 14:10   ` Niklaus Giger

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=45795DE1.70000@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=wg@domain.hid \
    --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.