Subject: Re: [Boost-build] 1.53.00 - masm ml options not honored??
From: Jeff Flinn (jeffrey.flinn_at_[hidden])
Date: 2013-10-03 13:38:34
On 10/3/2013 11:47 AM, Vladimir Prus wrote:
> On 03.10.2013 18:01, Jeff Flinn wrote:
>> Assembling: libs\context\src\asm\make_i386_ms_pe_masm.asm
>> libs\context\src\asm\make_i386_ms_pe_masm.asm(45) : warning
>> A4024:directive ignored without /safeseh switch
> msvc.compile.asm is standard assembler action, so it's not surprising it
> does not have /safeseh switch.
> Looking at Jamfile, I see this:
> alias asm_context_sources
> : asm/make_i386_ms_pe_masm.asm
> : <address-model>32
> which seems to be the most specific version of asm_context_sources when
> you use msvc toolset. Maybe you need
So in the boost context Jamfile.v2, Oliver has
(and I added the /safeseh argument)
ml /safeseh /c /Fo"$(<)" "$(>)"
: [ make asm/make_i386_ms_pe_masm.o : asm/make_i386_ms_pe_masm.asm :
[ make asm/jump_i386_ms_pe_masm.o : asm/jump_i386_ms_pe_masm.asm :
So are you saying this is not applicable when building with msvc because
the more specific ...<toolset>msvc takes precendence? Are the above
portions even useful?
> some <toolset>msvc:<asmflags>/safeseh somewhere in that Jamfile, like on
> top level?
Is this what you mean by "like on top level"?
: source-location ../src
Indeed /safeseh is being propagated. Unfortunately /safeseh should only
be used with 32bit builds and the above generates warnings for 64bit.
How can this be specified for 32bit msvc only?
> Regarding display of executed commands, if you run "b2 --help" you'll
> find the answer, under "Important Options"
Thanks for your help Volodya.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk