Boost logo

Boost-Build :

Subject: Re: [Boost-build] msvc 64-bit test targets vs. maifest files
From: Mat Marcus (mat-lists_at_[hidden])
Date: 2008-10-25 16:33:35


On Sat, Oct 25, 2008 at 10:31 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Monday 13 October 2008 22:04:26 Mat Marcus wrote:
>> On Sun, Oct 12, 2008 at 10:26 PM, Vladimir Prus
>> <vladimir_at_[hidden]> wrote:
>> > Mat Marcus wrote:
>> [snip]
>> >>> Do you know the location of the CRT library found at link time?
>> >>
>> >> Some research reveals that one copy is located at:
>> >>
>> >> C:\Program Files (x86)\Microsoft Visual Studio
>> >> 9.0\VC\Debug_NonRedist\amd64\Mcirosoft.VC90.DebugCRT
>> >>
>> >> (For completeness, the path to the 32-bit one replace amd64 with x86)
>> >
>> > OK.
>> >
>> >>
>> >>> It probably has a .manifest file giving
>> >>> the names of actual .dll files. Are those .dll founds located in directory in PATH?
>> >
>> > What are the answers to these questions?
>> >
>> The names of the actual DLLs in the manifest are:
>> msvcr90d.dll
>> msvcp90d.dll
>> msvcm90d.dll
>>
>> These don't appear to be located in my PATH. They live in the
>> nonredistributable dir, under the Dev Studio hierarchy, and they also
>> seem to reside under:
>>
>> C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2
>
> Then, can you show the actual output from that tracing tool? I want to know if dynamic
> linker just does not look in winsxs folder, or looks for a wrong file.
>
> - Volodya

As requested: here's typical sxstrace output for a test built using
the run rule (amd64):

=================
Begin Activation Context Generation.
Input Parameter:
        Flags = 0
        ProcessorArchitecture = AMD64
        CultureFallBacks = en-US;en
        ManifestPath =
C:\asl\staff\mmarcus\sandbox\built_artifacts\test\closed_hash\main.test\msvc-9.0\debug\address-model-64\architecture-x86\asl-dev\link-static\threading-multi\main.exe
        AssemblyDirectory =
C:\asl\staff\mmarcus\sandbox\built_artifacts\test\closed_hash\main.test\msvc-9.0\debug\address-model-64\architecture-x86\asl-dev\link-static\threading-multi\
        Application Config File =
-----------------
INFO: Parsing Manifest File
C:\asl\staff\mmarcus\sandbox\built_artifacts\test\closed_hash\main.test\msvc-9.0\debug\address-model-64\architecture-x86\asl-dev\link-static\threading-multi\main.exe.
        INFO: Manifest Definition Identity is (null).
        INFO: Reference:
Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference
Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
        INFO: Resolving reference for ProcessorArchitecture amd64.
                INFO: Resolving reference for culture Neutral.
                        INFO: Applying Binding Policy.
                                INFO: No publisher policy found.
                                INFO: No binding policy redirect found.
                        INFO: Begin assembly probing.
                                INFO: Did not find the assembly in WinSxS.
                                INFO: Attempt to probe manifest at
C:\Windows\assembly\GAC_64\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
                                INFO: Attempt to probe manifest at
C:\asl\staff\mmarcus\sandbox\built_artifacts\test\closed_hash\main.test\msvc-9.0\debug\address-model-64\architecture-x86\asl-dev\link-static\threading-multi\Microsoft.VC90.DebugCRT.DLL.
                                INFO: Attempt to probe manifest at
C:\asl\staff\mmarcus\sandbox\built_artifacts\test\closed_hash\main.test\msvc-9.0\debug\address-model-64\architecture-x86\asl-dev\link-static\threading-multi\Microsoft.VC90.DebugCRT.MANIFEST.
                                INFO: Attempt to probe manifest at
C:\asl\staff\mmarcus\sandbox\built_artifacts\test\closed_hash\main.test\msvc-9.0\debug\address-model-64\architecture-x86\asl-dev\link-static\threading-multi\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.
                                INFO: Attempt to probe manifest at
C:\asl\staff\mmarcus\sandbox\built_artifacts\test\closed_hash\main.test\msvc-9.0\debug\address-model-64\architecture-x86\asl-dev\link-static\threading-multi\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.
                                INFO: Did not find manifest for culture Neutral.
                        INFO: End assembly probing.
        ERROR: Cannot resolve reference
Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

 - Mat


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