From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4517 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: dlopen'ing glibc linked libraries Date: Fri, 24 Jan 2014 14:41:42 +0100 Message-ID: <20140124134140.GO1685@port70.net> References: <52DE84BF.2090001@barfooze.de> <20140121181726.GL1685@port70.net> <20140123100755.GM1685@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1390570909 12448 80.91.229.3 (24 Jan 2014 13:41:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2014 13:41:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4521-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jan 24 14:41:56 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1W6h19-0008G8-D5 for gllmg-musl@plane.gmane.org; Fri, 24 Jan 2014 14:41:55 +0100 Original-Received: (qmail 22151 invoked by uid 550); 24 Jan 2014 13:41:54 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22143 invoked from network); 24 Jan 2014 13:41:54 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4517 Archived-At: * Justin Cormack [2014-01-24 10:07:47 +0000]: > On Thu, Jan 23, 2014 at 10:07 AM, Szabolcs Nagy wrote: > > - binaries compiled without _FILE_OFFSET_BITS=64 are not > > compatible with musl on i386 (on my debian stable system > > there are more than 200 binaries and libraries which use > > readdir, __[fl]xstat instead of readdir64, __[fl]xstat64) > > (this is probably the biggest obstacle for compatibility) > > It might be worth filing bugs for all these and see if we can get them > fixed. Will take a look. > the default toolchain on i386 does not use _FILE_OFFSET_BITS=64 i guess debian builds packages with that i don't know if changing the default can break things (i assume the debian developers had a reason not changing it) here is a list of packages affected on my system (most of these are probably harmless in practice: they only use stat to see if a file is there or only work with tiny files) acpi android-tools-adb android-tools-fastboot aptitude aspell at audacity bluez bsdmainutils ccache cron cvsps dbus dc debianutils dwarves e2fslibs exiftran exiv2 fakeroot fontconfig foomatic-db-engine gconf2 gdbserver geeqie gnuplot-x11 groff hplip iceweasel iproute isc-dhcp-common ispell kbd lesstif2 libaa1 libaacs0 libao4 libasound2 libaspell15 libaudit0 libbrlapi0.5 libc-bin libc-dev-bin libcap-ng0 libcdaudio1 libcdparanoia0 libcwidget3 libdbus-1-3 libdc1394-22 libdirectfb-1.2-9 libdirectfb-dev libdiscover2 libdrm2 libedit2 libenchant1c2a libept1.4.12 libevent-2.0-5 libexiv2-12 libflite1 libfltk1.1 libfontconfig1 libfreetype6 libgcrypt11 libgdbm3 libgeoip1 libgphoto2-port0 libgpm2 libgs9 libgssapi-krb5-2 libgutenprint2 libibverbs1 libice6 libicu48 libieee1284-3 libimlib2 libjack-jackd2-0 libk5crypto3 libkrb5-3 libkrb5support0 liblockfile-bin libltdl7 libmozjs17d libnetpbm10 libnewt0.52 libnfsidmap2 libnuma1 libopenal1 libopenmpi1.3 libp11-kit0 libpaper1 libpci3 libpciaccess0 libpcsclite1 libprocps0 libproxy0 libpth20 libraw1394-11 libreadline5 libsane libsasl2-2 libsdl1.2debian libsemanage1 libsensors4 libslv2-9 libssl1.0.0 libsvga1 libsvn1 libtorque2 libusb-0.1-4 libusb-1.0-0 libv4lconvert0 libva1 libvamp-hostsdk3 libvde0 libvdeplug2 libwildmidi1 libwmf0.2-7 libwrap0 libx11-6 libxau6 libxfont1 libxmlrpc-core-c3 libxpm4 libxslt1.1 libxt6 libzvbi0 mscompress netpbm openjdk-6-jre openssl optipng pkg-config plumb pngcrush pngtools printer-driver-foo2zjs printer-driver-min12xxw printer-driver-pnm2ppa procps recode sane-utils screen shared-mime-info sxiv tin ufraw-batch usbutils valgrind vde2 w3m whiptail x11-utils x11-xkb-utils xfonts-utils xscreensaver xscreensaver-data xsel xserver-xorg xserver-xorg-core xterm xulrunner-17.0 zgv