Tip: CONFIG=Release broken (Not - probably compiler error)


#1

Hey

I happened to build Jucer tip with CONFIG=Release (JUCE v1.52.65) and it won’t run. Or, it runs but hangs forever before showing the main window. Last lines of strace until I killed it:

open("/etc/fonts/fonts.conf", O_RDONLY) = 7 lseek(7, 0, SEEK_SET) = 0 read(7, "<?xml version=\"1.0\"?>\n<!DOCTYPE "..., 8192) = 5341 ^C--- SIGINT (Interrupt) @ 0 (0) ---

No problem running CONFIG=Debug, and also no problem for me since that’s what I’ll be running anyway, just wanted to give you a heads up in case it means something is unintentionally broken.

– Johan


#2

The release build works perfectly in my Ubuntu installation… Sounds like a compiler bug to me, are you on the latest gcc?


#3

I’m on gcc (GCC) 4.3.2
Perhaps it’s a bug, I’ve never had anything like this happen ever before though.
Well well, no matter, just a heads up in case.


#4

I’m using 4.4. Could be a broken optimisation, but it’s quite hard to track that sort of thing down.


#5

Quite right, and unimportant atm. Thanks for your patience, I’ve edited the Subject not to be quite so accusatory… :oops: