[cfe-dev] -O2 requires GLIBCXX_3.4.9?
Mohamed Bana
mohamed at bana.org.uk
Fri Sep 14 04:07:09 PDT 2012
Konstantin, hi,
So why can't I run it on a system with an older version of glibc? This
very confusing. Clearly, -O2 wants a newer version of glibc.
—Mohamed
On 14 September 2012 11:17, Konstantin Tokarev <annulen at yandex.ru> wrote:
>
>
> 14.09.2012, 12:42, "Mohamed Bana" <mohamed at bana.org.uk>:
> > Nikos Chantziaras <realnc at ...> writes:
> >
> >> glibc is generally not backwards compatible. You cannot build on a new
> >> version and have a guarantee that it runs on older ones. If you want
> >> that, you should build against an older glibc.
> >
> > Does anyone know how to solve this issue? I just need to it use the
> same glibc
> > that is being used when -O0 is specified.
>
> You are using the same glibc in both cases actually. Just with different
> internal defines.
>
> --
> Regards,
> Konstantin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120914/e46a659f/attachment.html>
More information about the cfe-dev
mailing list