Re: Build error of gnutls on mips undefined reference to symbol '_gp'
Andreas Metzler <ametzler@downhill.at.eu.org> wrote:
[...]
> /usr/bin/ld: /usr/lib/gcc/mips-linux-gnu/4.6/../../../mips-linux-gnu/crt1.o: undefined reference to symbol '_gp'
[...]
> 2013-05-21 17:13:03 upgrade libc6-dev:mips 2.13-38 2.17-3
[...]
Could this actually be breakage in libc6-dev? If I compare objdump -t
output of the file ld warns about (crt1.o) I find this:
------------------------------------------------
--- objdump_-t_libc6-dev_2.13-38 2013-05-25 18:23:07.644387231 +0200
+++ objdump_-t_libc6-dev_2.17-3 2013-05-25 18:23:11.420387174 +0200
@@ -2,7 +2,7 @@
xx/usr/lib/mips-linux-gnu/crt1.o: file format elf32-big
SYMBOL TABLE:
-00000058 l .text 00000000 hlt
+00000048 l .text 00000000 hlt
00000000 l d .note.ABI-tag 00000000 .note.ABI-tag
00000000 l d .reginfo 00000000 .reginfo
00000000 l d .text 00000000 .text
@@ -13,7 +13,7 @@ SYMBOL TABLE:
00000000 l d .gnu.attributes 00000000 .gnu.attributes
00000000 l d .mdebug.abi32 00000000 .mdebug.abi32
00000000 l d .gnu_debuglink 00000000 .gnu_debuglink
-00000000 O *UND* 00000000 __gnu_local_gp
+00000000 *UND* 00000000 _gp
00000000 *UND* 00000000 __libc_csu_fini
00000000 g F .text 00000000 __start
00000000 *UND* 00000000 __libc_csu_init
------------------------------------------------
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
Reply to: