EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS Base 3.14.12.2-rc1 available for testing
From: "Pelaia II, Tom" <[email protected]>
To: "J. Lewis Muir" <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Wed, 30 Nov 2011 11:49:19 -0500
Okay, now I see what I did wrong. I missed one line to uncomment (the one for disregarding the GCC libraries).

thanks,
Tom

On Nov 30, 2011, at 11:47 AM, Pelaia II, Tom wrote:

> Hi Lewis,
> 
> When I try to build 3.14.12.2 on Lion using clang and clang++ by simply uncommenting those flags in CONFIG_SITE.Common.darwin-x86, I get the following error:
> 
> clang++ -o libCom.3.14.12.dylib -dynamiclib -flat_namespace -undefined suppress -install_name /Library/EPICS/Versions/3.14.12.2-rc1/lib/darwin-x86/libCom.3.14.12.dylib -compatibility_version 3.14 -current_version 3.14.12        -arch i386 -arch x86_64    -L/opt/local/lib/              bucketLib.o epicsRingPointer.o epicsRingBytes.o postfix.o calcPerform.o cvtFast.o resourceLib.o epicsOnce.o epicsSingletonMutex.o dbmf.o ellLib.o envSubr.o envData.o errlog.o errSymLib.o errSymTbl.o fdmgr.o fdManager.o freeListLib.o gpHashLib.o iocsh.o registry.o libComRegister.o iocLog.o logClient.o macCore.o macEnv.o macUtil.o aToIPAddr.o adjustment.o cantProceed.o epicsConvert.o epicsExit.o epicsStdlib.o epicsString.o truncateFile.o ipAddrToAsciiAsynchronous.o epicsUnitTest.o epicsThread.o epicsMutex.o epicsEvent.o epicsTime.o epicsMessageQueue.o epicsMath.o epicsGeneralTime.o osiClockTime.o osdSock.o osdSockAddrReuse.o osiSock.o systemCallIntMech.o epicsSocketConvertErrnoToString.o osdAss!
 ert.o osdFindSymbol.o osdInterrupt.o osdPoolStatus.o osdSignal.o osdEnv.o epicsReadline.o epicsTempFile.o epicsStdio.o osdStdio.o osdThread.o osdMutex.o osdEvent.o osdTime.o osdProcess.o osdNetIntf.o osdMessageQueue.o devLibVME.o devLibVMEOSD.o taskwd.o epicsTimer.o timer.o timerQueue.o timerQueueActive.o timerQueueActiveMgr.o timerQueuePassive.o tsDefs.o         -lreadline -lm -lgcc
> ld: library not found for -lgcc
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[3]: *** [libCom.3.14.12.dylib] Error 1
> make[2]: *** [install.darwin-x86] Error 2
> make[1]: *** [libCom.install] Error 2
> make: *** [src.install] Error 2
> 
> I notice in your log file that your build is not attempting to link against gcc. How did you configure the build to do that?
> 
> Thanks,
> Tom
> 
> 
> On Nov 29, 2011, at 3:51 PM, J. Lewis Muir wrote:
> 
>> On 11/28/11 4:58 PM, Andrew Johnson wrote:
>>> The first release candidate for the 3.14.12.2 version of Base is now available 
>>> on the website for general testing.  Links to the tarfile and Release Notes 
>>> can be found at hxxp://www.aps.anl.gov/epics/base/R3-14/12.php 
>>> 
>>> Please report any problems you find to tech-talk.  If no major issues are 
>>> discovered before December 12th we will release 3.14.12.2 on that date.
>> 
>> I was able to build successfully on Mac OS X 10.7.2 with
>> ARCH_CLASS = x86_64 using GCC and Clang.
>> 
>> Attached are the build logs for GCC and Clang, each of which
>> produced some warning messages.
>> 
>> Also attached are the "runtests" logs for the GCC and Clang
>> builds.  Both reported "All tests successful" but some test
>> cases printed messages that look abnormal.  For example:
>> 
>> epicsThreadOnceTest.t ...... 1/11 Recursive epicsThreadOnce()
>> initialization Thread recurse (0x7fd642e00000) can't proceed,
>> suspending.
>> 
>> And:
>> 
>> macEnvExpandTest.t ......... 1/71 macLib: macro FOO is
>> undefined (expanding string ${FOO})
>> 
>> And:
>> 
>> taskwdTest.t ............... 3/8 Thread testTask2
>> (0x7fdc8c000000) suspended
>> 
>> Lewis
>> <base-3.14.12.2-rc1-clang.txt.gz><base-3.14.12.2-rc1-gcc.txt.gz><base-3.14.12.2-rc1-tests-clang.txt.gz><base-3.14.12.2-rc1-tests-gcc.txt.gz>
> 



References:
EPICS Base 3.14.12.2-rc1 available for testing Andrew Johnson
Re: EPICS Base 3.14.12.2-rc1 available for testing J. Lewis Muir
Re: EPICS Base 3.14.12.2-rc1 available for testing Pelaia II, Tom

Navigate by Date:
Prev: Re: EPICS Base 3.14.12.2-rc1 available for testing Pelaia II, Tom
Next: EPICS BACnet driver v.1 ready soon! Webb, Steven B.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS Base 3.14.12.2-rc1 available for testing Pelaia II, Tom
Next: Re: EPICS Base 3.14.12.2-rc1 available for testing Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·