libogg's configure script passes -O20 as a CFLAG. This is causing problems when using non-gcc compilers, such as clang (see http://tinyurl.com/7zl5bka). O20 seems like an odd optimization level. Is there a reason for it? I've never seen this before. For example, libspeex (another xiph project) just uses -O2. Thanks, aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20120221/53cb84de/attachment.htm
On 21 February 2012 11:23, Simmons, Aaron <asimmons at rosettastone.com> wrote:> libogg?s configure script passes -O20 as a CFLAG.? This is causing problems > when using non-gcc compilers, such as clangI think the idea was just to cover all the bases. Have you filed a clang bug? It would be sad to lose what little whimsy is left in the world Otherwise, I suppose we should check whether the compiler supports the options we're passing. -r -- Ralph Giles Xiph.org Foundation for open multimedia
Indeed, it was merely whimsy from long ago. It had originally been -O18, but everyone knows 20 is two better. Monty On Tue, Feb 21, 2012 at 2:53 PM, Ralph Giles <giles at xiph.org> wrote:> On 21 February 2012 11:23, Simmons, Aaron <asimmons at rosettastone.com> wrote: > >> libogg?s configure script passes -O20 as a CFLAG.? This is causing problems >> when using non-gcc compilers, such as clang > > I think the idea was just to cover all the bases. > > Have you filed a clang bug? It would be sad to lose what little whimsy > is left in the world > > Otherwise, I suppose we should check whether the compiler supports the > options we're passing. > > ?-r > > -- > Ralph Giles > Xiph.org Foundation for open multimedia > _______________________________________________ > ogg-dev mailing list > ogg-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/ogg-dev