[bf1942] Linkage changes once again

Steven Hartland killing at barrysworld.com
Fri Nov 21 06:34:40 EST 2003


99% sure this will cause problems as libstdc++.so.5 is not in the stable
stream yet and crashes a number of other games servers when used
( u need to upgrade glibc to get it ).

    Steve / K
----- Original Message ----- 
From: "Andreas Fredriksson" <andreas.fredriksson at dice.se>
To: <BF1942 at icculus.org>
Sent: 21 November 2003 09:22
Subject: [bf1942] Linkage changes once again


> 
> Hi guys,
> 
> for 1.6 I'm going to have to remove the completely static binary due to a
> reason
> I can't go into here (it doesn't have anything to do with legal issues
> though).
> 
> What I've been doing instead is to link dynamically with everything except
> the
> c++ runtime library and the gcc support libraries. The ldd output of the two
> binaries looks like this:
> 
> bf1942_lnxded.dynamic:
> libdl.so.2 => /lib/libdl.so.2 (0x40021000)
> libncurses.so.5 => /lib/libncurses.so.5 (0x40025000)
> libstdc++.so.5 =>
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.so.5 (0x40065000)
> libm.so.6 => /lib/libm.so.6 (0x40116000)
> libgcc_s.so.1 =>
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libgcc_s.so.1 (0x40139000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x40142000)
> libc.so.6 => /lib/libc.so.6 (0x40192000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> bf1942_lnxded.static:
> libdl.so.2 => /lib/libdl.so.2 (0x40021000)
> libm.so.6 => /lib/libm.so.6 (0x40024000)
> libncurses.so.5 => /lib/libncurses.so.5 (0x40048000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x40088000)
> libc.so.6 => /lib/libc.so.6 (0x400d8000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> Can people with better knowledge than me of the FreeBSD compat layer give
> feedback on how this will work?
> 
> Mvh,
> Andreas Fredriksson
> ==============================
> Programmer
> Digital Illusions CE Sthlm AB
> Maria Skolgata 83, 5tr
> S-118 53 Stockholm
> Sweden
> Phone: +46 8 658 78 28
> Fax: +46-8-545 18 497
> andreas.fredriksson at dice.se 
> 



More information about the Bf1942 mailing list