Revision 12684 breaks build on Fedora 17

Bug #1495608 reported by Ralph Lange on 2015-09-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
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/ so try adding it to the linker command line
/lib64/ could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [dbStressTest] Error 1

Tags: db Edit Tag help
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
Ralph Lange (ralph-lange) wrote :

Fix committed at revision 12692

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

Other bug subscribers