-O3 ?
Christian MICHON
christian.michon at gmail.com
Sun May 10 07:23:40 UTC 2009
On Sun, May 10, 2009 at 2:40 AM, Kyle Sallee <kyle.sallee at gmail.com> wrote:
> I tried compiling p7zip with CFLAGS and CXXFLAGS -O3,
> yet it segfaulted when ran.
> However, when compiling it with -Os it works fine.
> I used to expect that problems with optimizations not work
> were the fault of a bug in gcc.
> But is it?
> The problem does not occur when I compile p7zip -O3
> and statically link it with glibc instead.
> I am almost tempted to try to compile it with -O3 and -g
> and run gdb on it.
> But is -O3 optimized code debuggable?
>
> For now I will use -Os,
> but I wondered if anyone had any information about why -O3
> might be problematic with programs linked with uClibc, please.
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>
gcc version ?
uclibc version ?
architecture ?
native or cross compiling ?
;-)
--
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !
More information about the uClibc
mailing list