|
Boost-Build : |
Subject: Re: [Boost-build] Very slow Visual Studio 2012 builds
From: kasty (kasty.jose_at_[hidden])
Date: 2014-03-19 19:30:11
Hi Juraj,
your patch is pretty good, but it gives me this problem when linking:
"-manifest" unknown as internal or external command, executable or batch
file
if exist
"bin\msvc-12.0\debug\link-
static\threading-multi\main.exe.manifest" (
-manifest
"bin\msvc-12.0\debug\link-static\threading-multi\main.exe.manifest"
"-outputresource:bin\msvc-12.0\debug\link-static\threading-multi\main.exe;1=
"
)
...failed msvc.manifest
bin\msvc-12.0\debug\link-static\threading-multi\main.exe
bin\msvc-12.0\debug\link-static\threading-multi\main.pdb
bin\msvc-12.0\debug\link-static\threading-multi\main.pdb...
...removing bin\msvc-12.0\debug\link-static\threading-multi\main.exe
...removing bin\msvc-12.0\debug\link-static\threading-multi\main.pdb
...skipped <p.>main.exe for lack of
<pbin\msvc-12.0\debug\link-static\threading-multi>main.exe...
Looking at msvc.jam, it looks like .MT is not set. With the original
unpatched version I don't have this problem. Any clue of why would it
happen?
This is the full output of -d+2 at link stage:
file bin\msvc-12.0\debug\link-static\threading-multi\main.exe.rsp
"C:\XXXXXXXX\XXXXXXXX\trunk\src\libMisc\bin\msvc-12.0\debug\link-static\thr=
eading-multi\libMisc.lib"
"..\..\bin\msvc-12.0\debug\link-static\threading-multi\libWxCustom3.lib"
"C:\XXXXXXX\XXXXXXX\trunk\src\libZip\bin\msvc-12.0\debug\link-static\thread=
ing-multi\libZip.lib"
"bin\msvc-12.0\debug\link-static\threading-multi\main.obj"
"bin\msvc-12.0\debug\link-static\threading-multi\TestDlg.obj"
"zlib.x86.lib"
"libboost_thread-vc120-mt-gd-1_55.lib"
"libboost_iostreams-vc120-mt-gd-1_55.lib"
"libboost_filesystem-vc120-mt-gd-1_55.lib"
"libboost_system-vc120-mt-gd-1_55.lib"
"madCHook32.lib"
"Shell32.lib"
"User32.lib"
"psapi.lib"
"ws2_32.lib"
"ole32.lib"
"oleaut32.lib"
"Version.lib"
"Netapi32.lib"
"Iphlpapi.lib"
"DbgHelp.lib"
"ole32.lib"
"oleaut32.lib"
"ws2_32.lib"
msvc.link bin\msvc-12.0\debug\link-static\threading-multi\main.exe
SET DevEnvDir=3DC:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\IDE\
SET ExtensionSdkDir=3DC:\Program Files (x86)\Microsoft
SDKs\Windows\v8.1\ExtensionSDKs
SET Framework40Version=3Dv4.0
SET FrameworkDir=3DC:\Windows\Microsoft.NET\Framework\
SET FrameworkDIR32=3DC:\Windows\Microsoft.NET\Framework\
SET FrameworkVersion=3Dv4.0.30319
SET FrameworkVersion32=3Dv4.0.30319
SET FSHARPINSTALLDIR=3DC:\Program Files (x86)\Microsoft
SDKs\F#\3.1\Framework\v4.0\
SET INCLUDE=3DC:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows
Kits\8.1\include\shared;C:\Program Files (x86)\Windows
Kits\8.1\include\um;C:\Program Files (x86)\Windows
Kits\8.1\include\winrt;C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\INCLUDE;C:\Program Files\Microsoft SDKs\Windows\v7.1\Include;
SET LIB=3DC:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows
Kits\8.1\lib\winv6.3\um\x86;C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\LIB;C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib;
SET LIBPATH=3DC:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program File=
s
(x86)\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files (x86)\Microsoft
Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows
Kits\8.1\References\CommonConfiguration\Neutral;C:\Program Files
(x86)\Microsoft
SDKs\Windows\v8.1\ExtensionSDKs\Microsoft.VCLibs\12.0\References\CommonConf=
iguration\neutral;C:\Program
Files (x86)\Microsoft Visual Studio 9.0\VC\ATLMFC\LIB;C:\Program Files
(x86)\Microsoft Visual Studio 9.0\VC\LIB;
SET PATH=3DC:\Program Files (x86)\Microsoft Visual Studio
12.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files
(x86)\Microsoft SDKs\F#\3.1\Framework\v4.0\;C:\Program Files
(x86)\MSBuild\12.0\bin;C:\Program Files (x86)\MSBuild\12.0\bin;C:\Program
Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\;C:\Program Files
(x86)\Microsoft Visual Studio 12.0\VC\BIN;C:\Program Files (x86)\Microsoft
Visual Studio
12.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program
Files (x86)\Microsoft Visual Studio 12.0\VC\VCPackages;C:\Program Files
(x86)\HTML Help Workshop;C:\Program Files (x86)\HTML Help
Workshop;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team
Tools\Performance Tools;C:\Program Files (x86)\Windows
Kits\8.1\bin\x86;C:\Program Files (x86)\Microsoft
SDKs\Windows\v8.1A\bin\NETFX 4.5.1
Tools\;c:\MinGW\libexec\gcc\i686-pc-mingw32\4.5.1;c:\msys\1.0\bin;.;C:\msys=
\1.0\bin;C:\msys\1.0\local\lib;C;\Program
Files\Microsoft
SDKs\Windows\v7.1\bin;C;\WinDDK\7600.16385.1\bin\selfsign;C;\Program Files
(x86)\AutoIt3;.;C:\msys\1.0\local\bin;c:\MinGW\bin;C:\msys\1.0\bin;c:\Progr=
am
Files (x86)\HP SimplePass\;c:\Perl\site\bin;c:\Perl\bin;c:\Program Files
(x86)\Microchip\mplabc18\v3.40\mpasm;c:\Program Files
(x86)\Microchip\mplabc18\v3.40\bin;c:\Perl64\site\bin;c:\Perl64\bin;c:\Prog=
ram
Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS
Client\;c:\Program Files\Common Files\Microsoft Shared\Windows
Live;c:\Program Files (x86)\Common Files\Microsoft Shared\Windows
Live;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\Sys=
tem32\WindowsPowerShell\v1.0\;c:\Program
Files (x86)\Windows Live\Shared;c:\Program Files\Intel\Intel(R) Management
Engine Components\DAL;c:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;c:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;c:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;c:\Program Files (x86)\Intel\OpenCL
SDK\2.0\bin\x86;c:\Program Files (x86)\Intel\OpenCL
SDK\2.0\bin\x64;c:\Program Files\Microsoft Windows Performance
Toolkit\;c:\Program Files\TortoiseSVN\bin;c:\Program Files
(x86)\Microchip\MPLAB C32 Suite\bin;c:\Program Files (x86)\HI-TECH
Software\PICC\9.81\bin;c:\Python27;"C;C:\msys\1.0\Program Files\Microsoft
SDKs\Windows\v7.1\Bin";c:\MinGW\bin;C:\msys\1.0\bin;c:\Program Files
(x86)\QuickTime\QTSystem\;c:\Program Files (x86)\Calibre2\;c:\Program
Files\Microsoft\Web Platform Installer\;c:\Program Files (x86)\Microsoft
ASP.NET\ASP.NET Web Pages\v1.0\;c:\Program Files (x86)\Windows
Kits\8.0\Windows Performance Toolkit\;c:\Program Files\Microsoft SQL
Server\110\Tools\Binn\;c:\Program Files\Intel\WiFi\bin\;c:\Program
Files\Common
Files\Intel\WirelessCommon\;c:\Windows\system32;c:\Windows;c:\Windows\Syste=
m32\Wbem;c:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
Files\Microsoft Network Monitor 3\;c:\Python27\Scripts;c:\Program Files
(x86)\Windows Kits\8.1\Windows Performance Toolkit\;c:\Program Files
(x86)\Microchip\mplabc18\v3.40\mpasm;c:\Program Files
(x86)\Microchip\mplabc18\v3.40\bin;c:\Program Files (x86)\IDM Computer
Solutions\UltraEdit\;c:\Program Files\Intel\WiFi\bin\;c:\Program
Files\Common Files\Intel\WirelessCommon\;c:\Program Files (x86)\IDM
Computer Solutions\UltraCompare\;C;\Program Files (x86)\Microsoft Visual
Studio 9.0\VC\bin;C;\Program Files (x86)\Microsoft Visual Studio
9.0\Common7\IDE;C;\Program Files (x86)\Microsoft Visual Studio
9.0\Common7\Tools;C;\Program Files (x86)\Microsoft Visual Studio
9.0\VC\VCPackages;C;\Program Files\Microsoft SDKs\Windows\v7.1\bin
SET VCINSTALLDIR=3DC:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\
SET VisualStudioVersion=3D12.0
SET VSINSTALLDIR=3DC:\Program Files (x86)\Microsoft Visual Studio 12.0\
SET WindowsSdkDir=3DC:\Program Files (x86)\Windows Kits\8.1\
SET WindowsSDK_ExecutablePath_x64=3DC:\Program Files (x86)\Microsoft
SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\
SET WindowsSDK_ExecutablePath_x86=3DC:\Program Files (x86)\Microsoft
SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /MANIFEST
/subsystem:console
/out:"bin\msvc-12.0\debug\link-static\threading-multi\main.exe"
/LIBPATH:"C:\XXXXXXX\XXXXXXX\trunk\src\libHooks\win32"
/LIBPATH:"c:\msys\1.0\local\lib\boost-1.55d_vc120_x86"
/LIBPATH:"c:\msys\1.0\local\lib\zlib-1.2.5_vc90"
/LIBPATH:"C:\msys\1.0\local\lib\gettext_vc90_x86"
/LIBPATH:"C:\msys\1.0\local\lib\glib2_vc90_x86"
/LIBPATH:"C:\msys\1.0\local\lib\openssl-1.0.1c_vc90" /ignore:4098
/ignore:4099 /LIBPATH:"c:\msys\1.0\local\lib\boost-1.55d_vc120_x86"
/ignore:4006 /SUBSYSTEM:WINDOWS,5.01
-LIBPATH:"c:\msys\1.0\local\lib\wx-3.0.0d_vc120" wxmsw30ud_richtext.lib
wxmsw30ud_aui.lib wxmsw30ud_xrc.lib wxmsw30ud_qa.lib wxmsw30ud_html.lib
wxmsw30ud_adv.lib wxmsw30ud_core.lib wxbase30ud_xml.lib wxbase30ud_net.lib
wxbase30ud.lib wxzlibd.lib wxpngd.lib wxjpegd.lib rpcrt4.lib oleaut32.lib
ole32.lib uuid.lib winspool.lib winmm.lib shell32.lib comctl32.lib
comdlg32.lib advapi32.lib wsock32.lib gdi32.lib
@"bin\msvc-12.0\debug\link-static\threading-multi\main.exe.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
msvc.manifest bin\msvc-12.0\debug\link-static\threading-multi\main.exe
if exist
"bin\msvc-12.0\debug\link-static\threading-multi\main.exe.manifest" (
-manifest
"bin\msvc-12.0\debug\link-static\threading-multi\main.exe.manifest"
"-outputresource:bin\msvc-12.0\debug\link-static\threading-multi\main.exe;1=
"
)
2014-03-19 15:34 GMT+01:00 Juraj IvanÄiÄ [via Boost] <
ml-node+s2283326n4660462h68_at_[hidden]>:
> On 19.3.2014. 14:57, kasty wrote:
>
> > Any progress? This thread seems inactive. So far I tried all proposed
> patches
> > on boost-build packaged in Boost 1.55. All of them do a good job with
> fast
> > parallel compile. However they don't work when it comes to link the
> object
> > files.
>
> I created a pull request for boost-build on github [1], and it has been
> sitting there ever since. Perhaps you can try if that one works for you.
>
> > Juraj IvanÄiÄ latest patch seems to overwrite my link flags. For rules
> like
> > this:
> >
> > lib _mswsock : : <name>mswsock <search>/usr/local/lib : ;
> > alias mswsock : _mswsock : : : ;
> >
> > exe main : main.cpp mswsock ;
> >
> > a "bjam -d+2" clearly shows that /usr/local/lib is not passed to the
> linker.
>
> Not sure why this happens, just tried it and it works fine for me (with
> [1] applied).
>
> [1] https://github.com/boostorg/build/pull/6
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://boost.2283326.n4.nabble.com/Very-slow-Visual-Studio-2012-builds-tp4652045p4660462.html
> To unsubscribe from Very slow Visual Studio 2012 builds, click here<http://boost.2283326.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4652045&code=a2FzdHkuam9zZUBnbWFpbC5jb218NDY1MjA0NXwtMTQ2NDQ2MjEwNA==>
> .
> NAML<http://boost.2283326.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-- View this message in context: http://boost.2283326.n4.nabble.com/Very-slow-Visual-Studio-2012-builds-tp4652045p4660476.html Sent from the Boost - Build mailing list archive at Nabble.com.
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