[C++-sig] Re: code generation problems
dave at boost-consulting.com
Fri Dec 17 01:58:40 CET 2004
David Abrahams wrote:
> David Abrahams wrote:
>> Yes, but unless you have a good reason to think this is BPL-related, you
>> should take your problem elsewhere. It's not that I'm unsympathetic,
>> but I don't think there's anything I can do to help you.
> Except, of course, to Cc: a microsoft compiler engineer, who came back with:
> There is a linker optimization that we do that describes some of the
> behavior he is describing. He could try passing -opt:noref to the
> link.exe and see if the problem goes away.
> So add "-sBUILD=<linkflags>-opt:noref" to the beginning of your bjam
> command-line and see what happens.
And then he said:
"Whoops, I told you the wrong option, it should have been -opt:noicf.
icf is short for identical comdat folding."
So add "-sBUILD=<linkflags>-opt:noicf"
More information about the Cplusplus-sig