Boost logo

Boost-Build :

Subject: Re: [Boost-build] 1.53.00 - masm ml options not honored??
From: Vladimir Prus (ghost_at_[hidden])
Date: 2013-10-03 11:47:01


On 03.10.2013 18:01, Jeff Flinn wrote:
> msvc.compile.asm bin.v2\libs\context\build\msvc-10.0\release\link-static\runtime-link-static\threading-multi\asm\make_i3
> 86_ms_pe_masm.obj
> 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
      asm/jump_i386_ms_pe_masm.asm
      dummy.cpp
    : <address-model>32
      <architecture>x86
      <binary-format>pe
      <target-os>windows
      <toolset>msvc
    ;

which seems to be the most specific version of asm_context_sources when you use msvc toolset. Maybe you need
some <toolset>msvc:<asmflags>/safeseh somewhere in that Jamfile, like on top level?

Regarding display of executed commands, if you run "b2 --help" you'll find the answer, under "Important Options"
header.

HTH,
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