News for hackers. Stuff that matters.
Re:Make your STDERR red by derleth on Wednesday December 14, 2011 @04:52AM (#3351270)
Maybe? What's maybe about it? I can build (using -m32) and run 32-bit x86 binaries on an x86-64 platform.
Re:Make your STDERR red by sickill on Thursday December 15, 2011 @05:40AM (#3355646)
I didn't mean that you can't run 32-bit binaries on 64-bit OS, what I meant was that AFAIK you can't install 32-bit deb packages together with 64-bit ones on 64-bit Ubuntu. Correct me if I'm wrong.
Re:Make your STDERR red by obtu on Thursday December 15, 2011 @12:24PM (#3356999)
You can install both. The new multiarch support builds blahblah:i386 and blahblah (implicitly blahblah:amd64) debs for source packages that have it enabled. Before that, packages that wanted to provide i386 binaries on amd64 wrote their own extra build support, and added a suffix to the binary package names to avoid collisions.

Here's what I found on how to support LD_PRELOAD without a $LIB dynamic string token:

Looking at this: http://lists.debian.org/debian-devel/2011/12/msg00300.html it seems you could put a relative path in LD_PRELOAD and count on the linker to use architecture-dependent search paths. I'll also link these two threads for context, though they didn't provide answers: http://comments.gmane.org/gmane.comp.lib.glibc.user/974 (chatting) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372626 (concatenating the two libs in LD_PRELOAD works, but is noisy).

Re:Make your STDERR red by derleth on Thursday December 15, 2011 @10:10PM (#3359225)
OK, we got our signals crossed there.