Experimental Physics and Industrial Control System
|
Before I start to fight this battle, I was wondering if anyone else has already
fought this and won....
I'm building R3.14.2 on a linux RH8.0 box. The iocSh example runs just
fine build with shared libraries [STATIC_BUILD=NO]. But I'd like to build
static binaries so they can be simply copied to a pc104 card w/o chasing
down all the shared libraries. With STATIC_BUILD=YES the iocSh example seg.
faults upon iocInit.....gdb dump follows.
epics> iocInit()
Program received signal SIG32, Real-time event 32.
0x081667e6 in sigsuspend ()
(gdb) where
#0 0x081667e6 in sigsuspend ()
#1 0x080fff91 in __pthread_wait_for_restart_signal ()
#2 0x080ffdb7 in pthread_create ()
#3 0x080f4e45 in epicsThreadCreate (name=0x81e06c9 "errlog", priority=10,
stackSize=0, funptr=0x80e91d4 <errlogThread>, parm=0x0)
at ../../../src/libCom/osi/os/posix/osdThread.c:363
#4 0x080e9035 in errlogInitPvt (arg=0xbffff210) at ../../../src/libCom/error/errlog.c:322
#5 0x080f4d09 in epicsThreadOnceOsd (id=0x820668c, func=0x80e8ed0 <errlogInitPvt>,
arg=0xbffff210) at ../../../src/libCom/osi/os/posix/osdThread.c:344
#6 0x080e9086 in errlogInit (bufsize=0) at ../../../src/libCom/error/errlog.c:334
#7 0x080e8869 in errlogPrintf (pFormat=0x81cf021 "Starting iocInit\n") at
.../../../src/libCom/error/errlog.c:107
#8 0x0806eccd in iocInit () at ../iocInit.c:82
#9 0x0806eb8c in iocInitCallFunc (args=0x826dbc8) at ../dbAccessRegister.c:68
#10 0x0806d1c0 in iocsh (pathname=0x0) at ../iocsh.cpp:431
#11 0x0804879c in main (argc=1, argv=0xbffff394) at ../casa-apf1Main.cpp:19
#12 0x0815f8a6 in __libc_start_main ()
Other details:
RH8.0 linux
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
If anyone needs more information let me know.....
THANKS!
arne
---
Arne Freyberger
Jefferson Lab Phone: (757) 269-6268
12000 Jefferson Avenue Pager: (757) 680-8884 [email protected]
Newport News, VA 23606 Phax: (757) 269-5800 http://casa.jlab.org
- Replies:
- Re: Static binaries R3.14.2 linux RH8.0 Arne Freyberger
- Navigate by Date:
- Prev:
Re: File selection tools Tim Mooney
- Next:
channel archiver on 3.14 Steven Hunt
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: File selection tools Tim Mooney
- Next:
Re: Static binaries R3.14.2 linux RH8.0 Arne Freyberger
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
<2003>
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|