Please explain this linking error: referenced in section .rodata

后端 未结 2 1167
南笙
南笙 2021-01-05 20:32

I am doing a build on a 32bit SLES10 machine. Using GCC 3.4.2

Here is a sample error

`.L8245\' referenced in section `.rodata\' of CMakeFiles/myproj.         


        
2条回答
  •  攒了一身酷
    2021-01-05 21:21

    This may be due to using a newer version of binutils. binutils version 2.15 treated this as a non-fatal error, but later versions of binutils changed and so the link started failing. See https://bugzilla.redhat.com/show_bug.cgi?id=191618 for a similar report.

    In my case, I was able to get things to link once more by explicitly using binutils 2.16.1, instead of binutils 2.17.

提交回复
热议问题