Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 289726

Summary: dev-util/git-1.6.5.1 fails with gold linker
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: [OLD] UnspecifiedAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal CC: ricmm, robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: build.log

Description Priit Laes (IRC: plaes) 2009-10-19 14:04:14 UTC
Platform: amd64
sys-devel/binutils-2.20  USE="gold nls -multislot -multitarget -test -vanilla"
sys-devel/gcc-4.4.2  USE="fortran gtk mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite (-hardened) -ip28 -ip32r10k (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla"

[snip]
    LINK test-chmtime
    LINK test-ctype
    LINK test-date
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: imap-send.o: in function ssl_socket_perror:imap-send.c:241: error: undefined reference to 'ERR_get_error'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: imap-send.o: in function ssl_socket_perror:imap-send.c:241: error: undefined reference to 'ERR_error_string'
collect2: ld returned 1 exit status
make: *** [git-imap-send] Error 1
make: *** Waiting for unfinished jobs....
[/snip]
Comment 1 Priit Laes (IRC: plaes) 2009-10-19 14:05:58 UTC
Created attachment 207553 [details]
build.log
Comment 2 Lóránt Farkas 2009-10-29 00:48:40 UTC
compiles clean if you change in Makefile the line

BASIC_LDFLAGS =

to

BASIC_LDFLAGS = -lgnutls-openssl
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-11-17 21:57:12 UTC
Please provide your emerge --info, as well as compile output with V=1 enabled.
I don't see why you need libgnutls-openssl, it should be linking against openssl's libssl.