it's the same with gcc 3.3.4. I have segfaults with -O2 and -O3, but it works with -O1. Niklas Werner wrote:
On Wed, 28 Jul 2004 10:57, Ge Wang wrote:
I think this is related to the earlier gain paramater crash. it suggested there was a compiler gcc bug in the -O3 or that chuck may be trashing memory.
try:
take out the -O3 flag in the make file
OK, some of the optimisations in -O2 are the culprits... -O1 works...
choose freely:
-O2 turns on all optimization flags specified by -O. It also turns on the following optimization flags: -fforce-mem -foptimize-sibling-calls -fstrength-reduce -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse -fgcse-lm -fgcse-sm -fgcse-las -fdelete-null-pointer-checks -fexpensive-optimizations -fregmove -fschedule-insns -fschedule-insns2 -fsched-interblock -fsched-spec -fcaller-saves -fpeephole2 -freorder-blocks -freorder-functions -fstrict-aliasing -funit-at-a-time -falign-functions -falign-jumps -falign-loops -falign-labels -fcrossjumping
make clean make linux-alsa
please also post your gcc version (gcc --version).
gcc (GCC) 3.4.1 (Gentoo Linux 3.4.1-r1, ssp-3.4-2, pie-8.7.6.3)
Cheers,
Niklas -- Computer Music PhD-student University of Waikato Hamilton New Zealand _______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev