<value optimized out> even with gcc -g -O0

Gianluca Sforna giallu at gmail.com
Mon Feb 1 08:34:19 UTC 2010


On Mon, Feb 1, 2010 at 7:18 AM, Chuck Anderson <cra at wpi.edu> wrote:
>
> Program received signal SIGSEGV, Segmentation fault.
> playmonoi16 (dst=0x76ddc0, len=<value optimized out>,
>    ch=<value optimized out>) at mixasm.c:1746

Sorry for asking the obvious, but this hit me several times... is this
mixasm.c file part of the sources you are compiling with -g -O0? if
it's in a library your code is using, you also need to recompile that
one with -O0.


-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://www.linkedin.com/in/gianlucasforna


More information about the devel mailing list