[chuck-dev] segfaults galore

Matthew Shanley mshanley at alum.rpi.edu
Thu Jul 29 08:49:37 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I got the same results, working with -01 but not -02 or -03, for the
gain ugen segfault reported earlier. I'm using gcc 3.3.3

matt

smoerk wrote:
| 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 at lists.cs.princeton.edu
|> https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
|>
|
| _______________________________________________
| chuck-dev mailing list
| chuck-dev at lists.cs.princeton.edu
| https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
| .
|

- --
Matthew Shanley
E-mail: mshanley at alum.rpi.edu

GnuPG Public Key ID : 0x5D3C2489
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBCPJg2B97+F08JIkRAv6tAJ9F1MPvC7gl8PJgR2WnoJFIiCNRxQCfZk8u
XWRwYhkuHOhLe5/nHm5dAOI=
=2HLn
-----END PGP SIGNATURE-----


More information about the chuck-dev mailing list