Go: runtime/cgo: unrecognized relocation (0x2a) in section `.init'

Created on 18 Dec 2015  ·  2Comments  ·  Source: golang/go

On tip (d446ba99a4e2b147de3afc29ff8d6ddfa4041203).

$ uname -a
Linux gauss 4.2.0-1-amd64 #1 SMP Debian 4.2.6-3 (2015-12-06) x86_64 GNU/Linux
$ ld --version
GNU ld (GNU Binutils for Debian) 2.25.1

all.bash results in

# runtime/cgo
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o: unrecognized relocation (0x2a) in section `.init'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
FrozenDueToAge

Most helpful comment

It appears to be a libc bug. Sorry for the noise.

All 2 comments

It appears to be a libc bug. Sorry for the noise.

at least this noise saved me time ! upgraded packages binutils and libc6 and no more error. thx.

Was this page helpful?
0 / 5 - 0 ratings