Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI had a similar problem and yes it looks like strange behaviour of the gcc compiler. If you have G0, G1 or G2 in the compilation options, this tells the compiler to use far pointers in some cases. If this option is combined with some optimization level ( for instance O1 ), then the application does not work. I have googled the issue and I found your post. Then I also added -fno-omit-frame-pointers to my compilation flags and it was like some "white magic". Everything worked with the option. I am using altera 7.2 and the coming with it gcc compiler : 3.2. But the issue happened also on altera 9.1.