My application has some portability issues when compiled with the -O flag. I would like to find out which flag exactly triggers the problem, yet I am still unsuccessful.. I used all flags found in
gcc -c -Q -O --help=optimizers
but I still cannot reproduce the problem. Is it possible that the -O enables also additional flags?
Btw, the error I am getting is the following:
[Hein@Heinrich]$ ./parscons
./parscons: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./parscons)
./parscons: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by ./parscons)