You are not logged in.
I know somewhere around here you can dl an older "-v2" compatible libs for some of the commercial stuff linked against them. However, while trying to get the commercial "aim" package working, I decided to go ahead and make the whole suite, so I can do some kernel compiling with 2.95.
Here's my pkgbuild:
pkgname=gcc-v295
pkgver=2.95.3
pkgrel=1
pkgdesc="GNU GCC 2.95.3 compiler and older c++-v2 compatible libs."
depends=('gcc' 'glibc')
url="http://www.gnu.org/software/gcc/gcc-2.95/"
source=(ftp://ftp.gnu.org/gnu/gcc/gcc-$pkgver.tar.gz)
md5sums=('f3ad4f32c2296fad758ed051b5ac8e28')
build() {
src_root=$startdir/src/gcc-$pkgver
pkg_root=$startdir/pkg
# compile/install
cd $src_root
mkdir ../gcc-build
cd ../gcc-build
../gcc-2.95.3/configure --prefix=$pkg_root/opt/gcc-2.95.3 --enable-shared
--enable-languages=c,c++ --enable-threads=posix
make bootstrap || return 1
make install
libv2=`find $pkg_root/opt/gcc-2.95.3/lib -name "*libstdc++*.so" -type f`
ilibv2=`basename $libv2`
# copy C++-v2 compatible libraries to standard lib directory
mkdir -p $pkg_root/usr/lib
cd $pkg_root/usr/lib
cp $libv2 .
# make commercial symlinks
ln -s $ilibv2 libstdc++-libc6.1-1.so.2
ln -s $ilibv2 libstdc++-libc6.2-2.so.3
ln -s $ilibv2 libstdc++-libc6.3-2.so.3
# remove the compiler
# rm -rf $pkg_root/opt
}
* The main thing is that I have the following libs/symlinks on my system now:
-r-xr-xr-x 1 root root 373196 2005-01-07 00:21 libstdc++-3-libc6.3-2-2.10.0.so
lrwxrwxrwx 1 root root 31 2005-01-07 00:21 libstdc++-libc6.1-1.so.2 -> libstdc++-3-libc6.3-2-2.10.0.so
lrwxrwxrwx 1 root root 31 2005-01-07 00:21 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.3-2-2.10.0.so
lrwxrwxrwx 1 root root 31 2005-01-07 00:21 libstdc++-libc6.3-2.so.3 -> libstdc++-3-libc6.3-2-2.10.0.so
If you just want those compatible libs (and not the 2.95-3 compiler), you could just uncomment that last line in the PKGBUILD.
Offline
about the compiling kernel part: you know gcc 2.95.x creates broken TLS code that causes NPTL glibc to stop working? Don't create kernels with it for your arch box
Offline
about the compiling kernel part: you know gcc 2.95.x creates broken TLS code that causes NPTL glibc to stop working? Don't create kernels with it for your arch box
I was not aware that our glibc package was built using the "--enable-add-ons=nptl" and "--with-tls" switches. But, indeed:
/lib/tls/libc.so.6
[...]
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
[...]
I wasn't aware of that issue with 2.95.3 either. I've always built my kernels with this version. And, even in the Linux 2.6.10 'README':
[...]
COMPILING the kernel:
- Make sure you have gcc 2.95.3 available.
[...]
Thanks for the information.
Offline