1 Sep 2011 02:14
Re: Linker stumbles over non-grouped .text/.rodata for a C++ function
Ian Lance Taylor <iant <at> google.com>
2011-09-01 00:14:44 GMT
2011-09-01 00:14:44 GMT
Stephan Bergmann <stephan.bergmann.secondary <at> googlemail.com> writes: >> That said, this message from the linker is a warning, and you can >> normally ignore it. > > Hm, for me it resulted in an ld exit code of 1, but maybe that was due to one of the additional command line switches apart from -shared when linking (but which did not otherwise affect the problem). Whoops, you're right, somebody has changed it to an error. That seems unfortunate, as it is often harmless. Sorry about that. In a pinch you could try -Wl,--noinhibit-exec. Ian
RSS Feed