All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Perrine Martignoni <perrmart@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai with µClibc
Date: Thu, 31 May 2007 15:58:13 +0200	[thread overview]
Message-ID: <465ED475.30700@domain.hid> (raw)
In-Reply-To: <7289437c0705310645w5e8bf8dfg6ed75d777d5b5ed9@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]

Perrine Martignoni wrote:
> All compile fine.
> But now I have a problem when I launch my application on my board :
> 
> can't resolve symbol '__real_sem_init'
> I don't see the reason.
> 

Same program as you posted earlier?

I compiled it here with

#> arm-linux-gcc `.../xeno-config --posix-cflags --posix-ldflags` \
-o posix-demo posix-demo.c

The generated binary shows no trace of __real_whatever:

#> objdump -R posix-demo

posix-demo:     file format elf32-littlearm

DYNAMIC RELOCATION RECORDS
OFFSET   TYPE              VALUE
00011274 R_ARM_COPY        stderr
000111fc R_ARM_JUMP_SLOT   __wrap_pthread_mutex_unlock
00011200 R_ARM_JUMP_SLOT   printf
00011204 R_ARM_JUMP_SLOT   sigemptyset
00011208 R_ARM_JUMP_SLOT   strerror
0001120c R_ARM_JUMP_SLOT   pthread_attr_init
00011210 R_ARM_JUMP_SLOT   pthread_exit
00011214 R_ARM_JUMP_SLOT   puts
00011218 R_ARM_JUMP_SLOT   sleep
0001121c R_ARM_JUMP_SLOT   sigaddset
00011220 R_ARM_JUMP_SLOT   abort
00011224 R_ARM_JUMP_SLOT   __wrap_pthread_setschedparam
00011228 R_ARM_JUMP_SLOT   __wrap_pthread_mutex_lock
0001122c R_ARM_JUMP_SLOT   fprintf
00011230 R_ARM_JUMP_SLOT   pthread_attr_setinheritsched
00011234 R_ARM_JUMP_SLOT   signal
00011238 R_ARM_JUMP_SLOT   pthread_attr_setstacksize
0001123c R_ARM_JUMP_SLOT   pthread_sigmask
00011240 R_ARM_JUMP_SLOT   __wrap_pthread_mutex_init
00011244 R_ARM_JUMP_SLOT   __wrap_pthread_create
00011248 R_ARM_JUMP_SLOT   pthread_self
0001124c R_ARM_JUMP_SLOT   pthread_attr_setschedpolicy
00011250 R_ARM_JUMP_SLOT   __uClibc_start_main
00011254 R_ARM_JUMP_SLOT   pthread_attr_setschedparam
00011258 R_ARM_JUMP_SLOT   pthread_attr_setdetachstate
0001125c R_ARM_JUMP_SLOT   pthread_join
00011260 R_ARM_JUMP_SLOT   mlockall
00011264 R_ARM_JUMP_SLOT   __wrap_pthread_mutex_destroy

Can you confirm the issue with this procedure? Also make sure that your
rebuild and re-installed the Xenomai user space part cleanly ("make
clean; make install").

Jan


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

  reply	other threads:[~2007-05-31 13:58 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28 13:15 [Xenomai-help] Xenomai with µClibc Fillod Stephane
2007-05-28 13:38 ` Gilles Chanteperdrix
2007-05-28 13:51   ` Philippe Gerum
2007-05-29  8:30     ` Perrine Martignoni
2007-05-29  8:42       ` Gilles Chanteperdrix
2007-05-29 10:47         ` Perrine Martignoni
2007-05-29 16:58           ` Gilles Chanteperdrix
2007-05-29 17:27           ` Jan Kiszka
2007-05-29 18:18             ` Gilles Chanteperdrix
2007-05-30  5:57               ` Perrine Martignoni
2007-05-30  7:51                 ` Perrine Martignoni
2007-05-30  8:05                   ` Jan Kiszka
2007-05-30  9:10                     ` Perrine Martignoni
2007-05-30  9:21                       ` Daniel Schnell
2007-05-30  9:28                         ` Gilles Chanteperdrix
2007-05-30  9:40                           ` Daniel Schnell
2007-05-30  9:43                             ` Gilles Chanteperdrix
2007-05-31  9:08                       ` Gilles Chanteperdrix
2007-05-30 11:55                   ` Jan Kiszka
2007-05-31  9:04                     ` Jan Kiszka
2007-05-31 10:40                       ` Daniel Schnell
2007-05-31 12:58                         ` Perrine Martignoni
2007-05-31 13:04                           ` Jan Kiszka
2007-05-31 13:14                             ` Perrine Martignoni
2007-05-31 13:30                             ` Wolfgang Grandegger
2007-05-31 13:38                               ` Jan Kiszka
2007-05-31 13:45                                 ` Perrine Martignoni
2007-05-31 13:58                                   ` Jan Kiszka [this message]
2007-05-31 14:13                                 ` Wolfgang Grandegger
2007-05-31 14:58                                   ` Perrine Martignoni
2007-05-31 15:03                                     ` Gilles Chanteperdrix
2007-05-31 15:33                                       ` Perrine Martignoni
     [not found]                                         ` <465EEDC3.6040309@domain.hid>
2007-06-01  7:17                                           ` Perrine Martignoni
2007-06-01  7:30                                             ` Gilles Chanteperdrix
2007-06-01  8:26                                 ` Wolfgang Grandegger
2007-06-01  8:48                                   ` Jan Kiszka
2007-06-01  9:09                                     ` Wolfgang Grandegger
2007-06-01  9:11                                       ` Jan Kiszka
2007-06-01 14:46                                         ` Wolfgang Grandegger
2007-06-01 14:45                                           ` Jan Kiszka
2007-06-01  9:11                                       ` Perrine Martignoni
2007-05-31 13:04                           ` Gilles Chanteperdrix
2007-05-31 13:05                           ` Perrine Martignoni
  -- strict thread matches above, loose matches on Subject: below --
2007-05-28  7:43 Perrine Martignoni
2007-05-28  8:49 ` Philippe Gerum
2007-05-28  9:03   ` Gilles Chanteperdrix
2007-05-28  9:12     ` Philippe Gerum
2007-05-28 12:57       ` Perrine Martignoni
2007-05-28 13:17         ` Philippe Gerum
2007-05-28 13:21         ` Gilles Chanteperdrix

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=465ED475.30700@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=perrmart@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.