Subject: |
[Bug 1853168] Re: undefined reference to `clock_gettime' |
From: |
Andrew Johnson via Core-talk <[email protected]> |
To: |
[email protected] |
Date: |
Thu, 21 Nov 2019 21:10:30 -0000 |
In #13 above I said that MinGW dynamic builds have worked fine for me
locally since the 3.14.12.6 and 3.15.5 releases. The Travis-CI builds of
Base have also been compiling successfully with WINE=32 TEST=NO
STATIC=NO since April 2017. Note that these are configured for
dist:trusty.
Dirk's failure is happening while .ci/travis/prepare.sh is building Base as a pre-requisite of his StreamDevice job, for dist:xenial. I just tried building the 3.15 branch of epics-base with dist:xenial and it failed exactly the same way:
https://travis-ci.org/anjohnson/epics-base/jobs/615249472#L834
Thus this cross-build failure seems to have started with the Xenial distro on Travis. The newer Bionic distro also fails with the same error.
A work-around would thus be to use trusty for building against the older
Base branches. We also need to back-port the
78b6312f493bbe02a37cc6f5fdcff38683d51236 commit to the 3.15 branch.
--
You received this bug notification because you are a member of EPICS
Core Developers, which is subscribed to EPICS Base.
Matching subscriptions: epics-core-list-subscription
https://bugs.launchpad.net/bugs/1853168
Title:
undefined reference to `clock_gettime'
Status in EPICS Base:
New
Bug description:
I'm getting this linker error when building Base 3.15.6 with mingw:
/usr/bin/x86_64-w64-mingw32-g++ -o Com.dll -shared -Wl,--out-
implib,libCom.dll.a
-L/home/travis/.cache/base-R3.15.6/lib/windows-x64-mingw -m64
-static-libgcc -static-libstdc++ asLib.obj asTrapWrite.obj
bucketLib.obj postfix.obj calcPerform.obj cvtFast.obj resourceLib.obj
epicsOnce.obj epicsSingletonMutex.obj dbmf.obj ellLib.obj ellSort.obj
envSubr.obj envData.obj errlog.obj errSymLib.obj errSymTbl.obj
fdmgr.obj fdManager.obj freeListLib.obj gpHashLib.obj iocsh.obj
registry.obj libComRegister.obj iocLog.obj logClient.obj macCore.obj
macEnv.obj macUtil.obj alarmString.obj aToIPAddr.obj adjustment.obj
cantProceed.obj epicsConvert.obj epicsExit.obj epicsStdlib.obj
epicsString.obj truncateFile.obj ipAddrToAsciiAsynchronous.obj
epicsUnitTest.obj epicsThread.obj epicsMutex.obj epicsEvent.obj
epicsTime.obj epicsMessageQueue.obj epicsMath.obj epicsAtomicOSD.obj
epicsGeneralTime.obj osiClockTime.obj osdSock.obj osdSockAddrReuse.obj
osiSock.obj systemCallIntMech.obj epicsSocketConvertErrnoToString.obj
osdAssert.obj osdFindSymbol.obj osdInterrupt.obj osdPoolStatus.obj
osdSignal.obj osdEnv.obj epicsReadline.obj epicsTempFile.obj
epicsStdio.obj osdStdio.obj osdThread.obj osdThreadExtra.obj
osdThreadHooks.obj osdMutex.obj osdSpin.obj osdEvent.obj osdTime.obj
osdProcess.obj osdNetIntf.obj osdMessageQueue.obj devLibVME.obj
devLibVMEOSD.obj epicsStackTrace.obj osdBackTrace.obj osdFindAddr.obj
poolJob.obj threadPool.obj epicsRingPointer.obj epicsRingBytes.obj
taskwd.obj epicsTimer.obj timer.obj timerQueue.obj
timerQueueActive.obj timerQueueActiveMgr.obj timerQueuePassive.obj
yajl.obj yajl_alloc.obj yajl_buf.obj yajl_encode.obj yajl_gen.obj
yajl_lex.obj yajl_parser.obj epicsGetopt.obj setThreadName.obj
forceBadAllocException.obj Com.coff -lws2_32 -ladvapi32 -luser32
-lws2_32
osiClockTime.obj:osiClockTime.c:(.text+0xb4): undefined reference to
`clock_gettime'
osiClockTime.obj:osiClockTime.c:(.text+0x33b): undefined reference to
`clock_gettime'
collect2: error: ld returned 1 exit status
To manage notifications about this bug go to:
https://bugs.launchpad.net/epics-base/+bug/1853168/+subscriptions
- References:
- [Bug 1853168] [NEW] undefined reference to `clock_gettime' Dirk Zimoch via Core-talk
- Navigate by Date:
- Prev:
Build failed: epics-base base-test-mingw-5 AppVeyor via Core-talk
- Next:
[Bug 1853168] Re: undefined reference to `clock_gettime' Andrew Johnson via Core-talk
- Index:
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:
[Bug 1853168] Re: undefined reference to `clock_gettime' Dirk Zimoch via Core-talk
- Next:
[Bug 1853168] Re: undefined reference to `clock_gettime' Andrew Johnson via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|