Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271415 - dev-libs/openssl could just link directly to zlib
Summary: dev-libs/openssl could just link directly to zlib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 14:47 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-06-19 23:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-27 14:47:06 UTC
Right now the zlib USE flag enables zlib-dynamic rather than just zlib; which means that about all the OpenSSL-using processes gets to use dlopen() to load libz.so. Pretty much a waste of time given how present libz is in the system already. Would be nice to actually just link to it. Would also reduce the amount of data that valgrind spews out when memchecking something that uses SSL.
Comment 1 SpanKY gentoo-dev 2009-05-27 20:03:21 UTC
it wasnt done that way on purpose (from the ebuild perspective).  forcing linking against zlib is fine.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-29 21:34:19 UTC
In 0.9.8k-r1 .. feel free to blame me if something breaks.
Comment 3 Maciej Mrozowski gentoo-dev 2009-06-19 23:37:14 UTC
Not sure whether it's related to this or to openssl not providing .la file (anymore?), but now it's not possible to emerge wget with USE="static" despite libssl.a is present. This may be related to bug 246556 (I don't use kerberos though)

Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64)         
=================================================================                                        
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.1          
Timestamp of tree: Fri, 19 Jun 2009 16:15:02 +0000                                                       
ccache version 2.4 [enabled]                                                                             
app-shells/bash:     4.0_p24                                                                             
dev-java/java-config: 2.1.8-r1                                                                           
dev-lang/python:     2.5.4-r3, 2.6.2-r1                                                                  
dev-util/ccache:     2.4-r8                                                                              
dev-util/cmake:      2.6.4                                                                               
sys-apps/baselayout: 2.0.1                                                                               
sys-apps/openrc:     0.4.3-r3                                                                            
sys-apps/sandbox:    2.0                                                                                 
sys-devel/autoconf:  2.63-r1                                                                             
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11                                                    
sys-devel/binutils:  2.19.1-r1                                                                           
sys-devel/gcc-config: 1.4.1                                                                              
sys-devel/libtool:   2.2.6a                                                                              
virtual/os-headers:  2.6.27-r2                                                                           
ACCEPT_KEYWORDS="x86 ~x86"                                                                               
CBUILD="i686-pc-linux-gnu"                                                                               
CFLAGS="-march=prescott -O2 -pipe -msse3 -mfpmath=sse -ftree-vectorize"                                  
CHOST="i686-pc-linux-gnu"                                                                                
CONFIG_PROTECT="/etc /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                             
CXXFLAGS="-march=prescott -O2 -pipe -msse3 -mfpmath=sse -ftree-vectorize"                                       
DISTDIR="/usr/portage/distfiles"                                                                                
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unmerge-orphans userfetch userpriv usersandbox"                 
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo"        
LANG="en_US.utf8"                                                                                               
LC_ALL="en_US.utf8"                                                                                             
LDFLAGS="-Wl,--as-needed"                                                                                       
MAKEOPTS="-j3"                                                                                                  
PKGDIR="/usr/portage/packages"                                                                                  
PORTAGE_CONFIGROOT="/"                                                                                          
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/kde-testing /usr/local/portage/qting-edge /usr/local/portage/new-gcj-overlay /usr/local/portage/kde-crazy /usr/local/portage/reavertm"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac accessibility ace acpi additions alsa archive autoipd bash-completion bittorrent branding bzip2 cdaudio cddb chm cli clucene colordiff cracklib crypt cups curl dbus designer-plugin dirac divx dri dv dvd dvdr dvdread dynamic exif exiv2 ffmpeg flac fontconfig ftp gadu gd gif glibc-omitfp gnokii gphoto2 history iconv inotify isdnlog java6 javascript jpeg kde kdeenablefinal kdehiddenvisibility kdeprefix kdexdeltas kickoff libgadu lm_sensors lzma lzo mad mbox midi mng mp3 mudflap ncurses no-net2 nolvm1 nonfsv4 nptl nptlonly ogg openmp pam pch pcre pdf pg-intdatetime plasma png policykit pppd qt-copy qt3support quicktime rar rdesktop readline reiserfs rtc session sha512 sms sockets spell spl srt sse sse2 sse3 ssl svg symlink sysfs theora threads threadsonly tiff toolkit-scroll-bars truetype unicode urandom usb utempter vhosts vnc vorbis webkit x264 x86 xattr xcomposite xorg xpm xscreensaver xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd     authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile     authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd     deflate dir disk_cache env expires ext_filter file_cache filter headers ident     imagemap include info log_config logio mem_cache mime mime_magic negotiation     proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so     speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-19 23:57:10 UTC
Please report such bugs distinctly; the problem is likely that wget's configure checks for ssl without using pkg-config as it should.