Qt-4.8.4 : does not allow automatic multiple TOCs
-
Hello everybody,
I am trying to compile qt-4.8.4 needed for salome 7.2.0 but I have this problem :
qt-4.8.4_SRC/src/gui
/scinet/p7/compilers/gcc-4.6.1/bin/ld: .obj/release-shared/qgraphicsscenebsptreeindex.o(.text+0x628): sibling call optimization to
QList<int>::clear()' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make
QList<int>::clear()' extern
/scinet/p7/compilers/gcc-4.6.1/bin/ld: .obj/release-shared/qgraphicsscenebsptreeindex.o(.text+0x6d8): sibling call optimization toQList<int>::append(int const&)' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make
QList<int>::append(int const&)' extern
/scinet/p7/compilers/gcc-4.6.1/bin/ld: .obj/release-shared/qgraphicsscenebsptreeindex.o(.text+0x734): sibling call optimization toQHash<QGraphicsItem*, QHashDummyValue>::detach_helper()' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make
QHash<QGraphicsItem*, QHashDummyValue>::detach_helper()' externI tried to add the options -mminimal-toc or -fno-optimize-sibling-calls in the Makefile without success.
What should I do ?
I am using Red Hat Enterprise Linux Server release 6.3 with gcc (GCC) 4.6.1 .
Thank you for your help,
Cheers,
Bertrand