GCC 4.2 & apgcc
"Gabriele Greco" <[email protected]> Fri, 18 Jul 2008 09:48:25 +0200
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
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@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