错误如下提示:
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
{standard input}: Assembler messages:
{standard input}:20764: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20825: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20826: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:20888: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21068: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21069: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21157: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21158: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21229: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21364: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21379: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21486: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
{standard input}:21499: Error: internal_relocation (type 265) not fixed up (OFFSET_IMM)
make[1]: *** [.obj/release-shared-emb-arm/qscriptcontext_p.o] Error 1
make[1]: Leaving directory `/home/gfpeak/qt4.5.3/qt-embedded-linux-opensource-src-4.5.3-arm/src/script'
make: *** [sub-script-make_default-ordered] Error 2
错误原因是交叉编译器的原因,把交叉编译器换成arm-linux-gcc3.4.1,一切OK!
解决GCC内部重定位错误
本文记录了一次解决使用特定版本交叉编译器时遇到的GCC内部重定位错误的过程,并给出了更换交叉编译器版本后的解决方案。
1358

被折叠的 条评论
为什么被折叠?



