Summary: | dev-vcs/git-2.1.3 USE=subversion - ../../libgit.a(trace.o): In function `print_command_performance_atexit': trace.c:(.text+0x834): undefined reference to `clock_gettime' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philip Taffner <sabel> |
Component: | [OLD] Development | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | jlee, polynomial-c |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info |
Created attachment 389836 [details]
emerge --info
Might be related to bug 466178 I believe this ticket is obsolete, if the problem persists, please reopen |
Created attachment 389834 [details] build.log I can't build git with subversion support. If I disable the subversion USE flag, everything works. The error indicates that "-lrt" is missing make[1]: Leaving directory '/var/tmp/portage/dev-vcs/git-2.1.3/work/git-2.1.3' x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -o svn-fe svn-fe.o \ -Wl,-O1 -Wl,--as-needed ../../vcs-svn/lib.a ../../libgit.a -lz -lssl /var/tmp/portage/dev-vcs/git-2.1.3/work/git-2.1.3/xdiff/lib.a -lpthread -lpcre ../../libgit.a(trace.o): In function `print_command_performance_atexit': trace.c:(.text+0x834): undefined reference to `clock_gettime' trace.c:(.text+0x891): undefined reference to `clock_gettime' ../../libgit.a(trace.o): In function `getnanotime': trace.c:(.text+0xaa8): undefined reference to `clock_gettime' trace.c:(.text+0xae1): undefined reference to `clock_gettime' ../../libgit.a(trace.o): In function `trace_command_performance': trace.c:(.text+0xbef): undefined reference to `clock_gettime' ../../libgit.a(trace.o):trace.c:(.text+0xc31): more undefined references to `clock_gettime' follow collect2: error: ld returned 1 exit status Makefile:37: recipe for target 'svn-fe' failed make: *** [svn-fe] Error 1