18 Jul 09:45
GCC 4.2 & apgcc
From: Gabriele Greco <gabrielegreco@...>
Subject: GCC 4.2 & apgcc
Newsgroups: gmane.comp.autopackage.devel
Date: 2008-07-18 07:48:25 GMT
Subject: GCC 4.2 & apgcc
Newsgroups: gmane.comp.autopackage.devel
Date: 2008-07-18 07:48:25 GMT
It seems apgcc doesn't work correctly with gcc 4.2.1, at least for c++.
It used to work perfectly to produce binaries with low requirements as glibc and libstdc++, now if I try to use a binary compiled in ubuntu 8.04 and provide the libstdc++.so.6 distributed with autopackage I get the following error:
gabry <at> nevada:~/projects/spectator/bin$ ldd garm
./garm: /amd/mars/root/home/gabry/spectator/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./garm)
linux-gate.so.1 => (0xb7f97000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f6d000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7f4d000)
libstdc++.so.6 => /amd/mars/root/home/gabry/spectator/bin/../lib/libstdc++.so.6 (0xb7e64000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e3f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e34000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7ce5000)
/lib/ld-linux.so.2 (0xb7f98000)
So I think we'll need at least to recompile the libstdc++ of gcc 4.2.x with apgcc and provide that version as libstdc++.so.6 with low glibc requirements...
--
Bye,
Gabry
It used to work perfectly to produce binaries with low requirements as glibc and libstdc++, now if I try to use a binary compiled in ubuntu 8.04 and provide the libstdc++.so.6 distributed with autopackage I get the following error:
gabry <at> nevada:~/projects/spectator/bin$ ldd garm
./garm: /amd/mars/root/home/gabry/spectator/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./garm)
linux-gate.so.1 => (0xb7f97000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f6d000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7f4d000)
libstdc++.so.6 => /amd/mars/root/home/gabry/spectator/bin/../lib/libstdc++.so.6 (0xb7e64000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e3f000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e34000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7ce5000)
/lib/ld-linux.so.2 (0xb7f98000)
So I think we'll need at least to recompile the libstdc++ of gcc 4.2.x with apgcc and provide that version as libstdc++.so.6 with low glibc requirements...
--
Bye,
Gabry
RSS Feed