>  TIL that we have a twenty-year-old libstdc++ in the tree.

Maybe we should mask it?
It is supossed to work with gcc <3.4 and the oldest we have is 8.5.0, which is 
masked already.


-------- Original Message --------
On 9/10/24 02:50, Michael Orlitzky <m...@gentoo.org> wrote:

>  On Mon, 2024-09-09 at 21:33 -0300, João Matos wrote:
>  > Dear list,
>  >
>  > I'm trying to install the Checkpoint client for linux (cshell_install). It
>  > requires sys-libs/libstdc++-v3, 32 bits. I couldn't compile it and found
>  > this bug: https://bugs.gentoo.org/919184
>  
>  TIL that we have a twenty-year-old libstdc++ in the tree.
>  
>  
>  > Do you know any way of work around this? Maybe copying the binary file from
>  > another distro or try to use another gcc version?
>  
>  It's running a test program to find the glibc minor version:
>  
>    #include <features.h>
>    main(argc, argv)
>         int argc;
>         char *argv[];
>    {
>      printf("%d\n", __GLIBC_MINOR__);
>      return 0;
>    }
>  
>  But this test program, having been written 20+ years ago, is crap. It's
>  missing <stdio.h> and a correct signature for "main" at least. Newer
>  GCCs (like the one that you're using) will refuse to compile it. So the
>  test fails unexpectedly, and the build stops. You might be able to
>  trick it by disabling -Wimplicit-int, -Wimplicit-function-declaration,
>  and whatever other warnings that program raises... but then you have to
>  actually compile the rest of it with a new GCC. Good luck :)
>  
>  
>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to