[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help: build failure due to relocation truncated to fit: R_MIPS_GOT16 and others



Hi,

I'd appreciate some help solving a MIPS-only build failure in googletest.  It 
fails for arch mips [1], mipsel, and mips64el.  A sample of the error output:

    relocation truncated to fit: R_MIPS_GOT16 against 
`__stack_chk_guard@@GLIBC_2.4'
    relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned 
int)@@GLIBCXX_3.4'

[ and many similar]

I'm kind of googling blind here .   I've found a smattering of similar 
questions with answers that point to using '-Gn' or '-mxgot'.  But I haven't a 
solid grounding to understand what the implications are.  

I would appreciate some guidance from knowledgeable folks.

Thanks,
-Steve

[1] https://buildd.debian.org/status/fetch.php?
pkg=googletest&arch=mips&ver=1.8.0-2&stamp=1479619898

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: