[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


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 
    relocation truncated to fit: R_MIPS_CALL16 against `operator new(unsigned 

[ 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.


[1] https://buildd.debian.org/status/fetch.php?

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

Reply to: