Re: GCC 4.2 & apgcc

"Taj Morton" <[email protected]> Fri, 18 Jul 2008 08:14:31 -0700
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Fri, Jul 18, 2008 at 12:48 AM, Gabriele Greco
<[email protected]> wrote:
> 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:
Not sure if this is what's causing it, but when there's a few version
of glibc with new symbols, you need to create a new list for apbuild
to blacklist. To do this, edit and run the buildlist script in
apbuild/. This might help...I'm not sure.

- Taj

>
> 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
>
>



-- 
Taj

Peace cannot be kept by force; it
can only be achieved by understanding.
 -- A. Einstein

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]