Problem when make Qt4.8.4 with option as -flto -fPIC
-
The error apprend when i complied Qt4.8.4 with gcc4.7.2 options as -flto and -fPIC.
The errors are:
/tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x4): undefined reference to$L1' /tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x8): undefined reference to
$L2'
/tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0xc): undefined reference to$L3' /tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x10): undefined reference to
$L4'
/tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x14): undefined reference to$L5' /tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x18): undefined reference to
$L6'
/tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x1c): undefined reference to$L7' /tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x20): undefined reference to
$L8'
/tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x24): undefined reference to$L9' ……………… /tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x1dc): undefined reference to
$L119'
/tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x1e0): undefined reference to$L120' /tmp/ccrZeSD9.ltrans0.ltrans.o:(.data.rel.local+0x1e4): undefined reference to
$L121'I'v don't have ideal about this problem ,is anyone had seen it before or have suggestions?