Revision 12684 breaks build on Fedora 17

Bug #1495608 reported by Ralph Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Released
High
Ralph Lange

Bug Description

Since revision 12684 the build on Fedora 17 (standard Jenkins executor on DEV@CloudBees) is broken:

RevisionState revno:12684 revid:<email address hidden>

[...]
/usr/bin/g++ -o dbStressTest -L/scratch/jenkins/workspace/Base-3.16.DEV_Build/lib/linux-x86_64 -L/scratch/jenkins/workspace/Base-3.16.DEV_Build/src/ioc/db/test/O.linux-x86_64 -Wl,-rpath,/scratch/jenkins/workspace/Base-3.16.DEV_Build/lib/linux-x86_64 -Wl,-rpath,/scratch/jenkins/workspace/Base-3.16.DEV_Build/src/ioc/db/test/O.linux-x86_64 -rdynamic -m64 dbStressLock.o dbTestIoc_registerRecordDeviceDriver.o -ldbTestIoc -ldbCore -lca -lCom
/usr/bin/ld: dbStressLock.o: undefined reference to symbol 'clock_gettime@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
/lib64/librt.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [dbStressTest] Error 1

Tags: db
Revision history for this message
Ralph Lange (ralph-lange) wrote :

man clock_gettime says:
Link with -lrt (only for glibc versions before 2.17).

Changed in epics-base:
status: New → In Progress
assignee: nobody → Ralph Lange (ralph-lange)
importance: Undecided → High
status: In Progress → Fix Committed
Revision history for this message
Ralph Lange (ralph-lange) wrote :

Fix committed at revision 12692

Andrew Johnson (anj)
Changed in epics-base:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.