All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Building with hard float: cannot open shared object file libpthread_rt.so.1
@ 2015-03-17 16:19 Steve B
  2015-03-17 18:06 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 32+ messages in thread
From: Steve B @ 2015-03-17 16:19 UTC (permalink / raw)
  To: Xenomai

Hello all,

It has come to my attention that when compiling with arm-linux-gnueabi-gcc
my application is using a libm that seems to be doing soft floating point
routines when I really want to be using hard float.
I built a simple test application for now that does just one math operation
and measures the amount of time taken.

Switching my compiler to arm-linux-gnueabihf and adding the -mhard-float
flag, I get this error immediately at runtime:
error while loading shared libraries: libpthread_rt.so.1: cannot open
shared object file: No such file or directory

If I take away the -mhard-float flag, the program runs but the one math
operation (with a corner case argument that I found to take a long time to
compute) takes about 3000 microseconds to run.
If I put the -mhard-float flag back in and take away Xenomai and run as a
regular Linux application, the same operation takes around 60 microseconds.

I also tried building the Xenomai on my target system with the
arm-linux-gnueabihf compiler and the -mhard-float flag at configure time,
but this didn't fix the problem.
Has anybody run across this before?

Thanks,

Steve

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2015-03-20 13:58 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 16:19 [Xenomai] Building with hard float: cannot open shared object file libpthread_rt.so.1 Steve B
2015-03-17 18:06 ` Gilles Chanteperdrix
2015-03-17 18:33   ` Steve B
2015-03-17 18:38     ` Gilles Chanteperdrix
     [not found]       ` <CAEMXjGzZn3JWCsxAkC+dFL0tLWk_FZpsNzB=YkSHYzCS2QEKmA@mail.gmail.com>
2015-03-17 19:18         ` Gilles Chanteperdrix
2015-03-17 19:24     ` Lennart Sorensen
2015-03-17 19:57       ` Steve B
2015-03-17 20:02         ` Gilles Chanteperdrix
2015-03-17 21:34         ` Lennart Sorensen
2015-03-19  0:42           ` Steve B
2015-03-19 14:07             ` Lennart Sorensen
2015-03-19 14:40               ` Gilles Chanteperdrix
2015-03-19 15:59                 ` Lennart Sorensen
2015-03-19 16:04                   ` Gilles Chanteperdrix
2015-03-19 16:43                     ` Lennart Sorensen
2015-03-19 16:48                       ` Gilles Chanteperdrix
2015-03-19 17:26                         ` Lennart Sorensen
2015-03-19 20:06                           ` Gilles Chanteperdrix
2015-03-19 20:32                             ` Lennart Sorensen
2015-03-19 16:49                       ` Steve B
2015-03-19 16:54                         ` Gilles Chanteperdrix
2015-03-19 18:00                           ` Steve B
2015-03-19 18:05                             ` Lennart Sorensen
2015-03-19 19:00                               ` Lennart Sorensen
2015-03-19 19:12                                 ` Steve B
2015-03-19 19:24                                   ` Lennart Sorensen
2015-03-19 20:33                                     ` Lennart Sorensen
2015-03-20 13:58                                       ` Lennart Sorensen
2015-03-19 20:03                             ` Gilles Chanteperdrix
2015-03-19 21:22                               ` Gilles Chanteperdrix
2015-03-19 21:29                                 ` Gilles Chanteperdrix
2015-03-19 17:48                         ` Lennart Sorensen

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.