hercules-390 / hyperion

Hercules 390
Other
246 stars 69 forks source link

1Stop fails to build on Windows 10 with VC 15 (version.c won't compile). There is also an issue with the UNIX build. #206

Closed ivan-w closed 7 years ago

ivan-w commented 7 years ago

Here is the complete log :

E:\hercules\src>git clone https://github.com/hercules-390/hyperion.git Cloning into 'hyperion'... remote: Counting objects: 43844, done. remote: Compressing objects: 100% (35/35), done. remote: Total 43844 (delta 9), reused 0 (delta 0), pack-reused 43809 Receiving objects: 100% (43844/43844), 21.00 MiB | 9.16 MiB/s, done. Resolving deltas: 100% (34104/34104), done. Checking connectivity... done. Checking out files: 100% (976/976), done.

E:\hercules\src>cd hyperion

E:\hercules\src\hyperion>1Stop Hercules will be build with command/parameters 'makefile.bat RETAIL-X64 makefile.msvc 64 ' Hercules cloned from [remote "origin"] url = https://github.com/hercules-390/hyperion.git Cloning into 'SoftFloat-3a'... remote: Counting objects: 924, done. remote: Total 924 (delta 0), reused 0 (delta 0), pack-reused 924R Receiving objects: 100% (924/924), 450.63 KiB | 0 bytes/s, done. Resolving deltas: 100% (791/791), done. Checking connectivity... done. ** MakeDirs.cmd: Creating Directories Creating directories in AMD64 under 'E:\hercules\src'. 'AMD64\' exists. Created 'AMD64\s3fh'. 'AMD64\s3fh.release' exists. Created 'AMD64\s3fh.debug'. ** BuildMe.cmd: Configuring and Building SoftFloat 3a Building for release in '....\AMD64\s3fh.release'. @@ Local build @@ Configuration Types: Debug;Release -- The C compiler identification is MSVC 19.0.24213.1 -- The CXX compiler identification is MSVC 19.0.24213.1 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.9.3.windows.1") @@ Building SoftFloat revision 39-[935cc59264db] -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Configuring done -- Generating done -- Build files have been written to: E:/hercules/src/AMD64/s3fh.release Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 3/13/2017 11:08:04 AM. Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.sln" on node 1 (Clean target(s)). ValidateSolutionConfiguration: Building solution configuration "Release|x64". ValidateProjects: The project "INSTALL" is not selected for building in solution configuration "Release|x64". The project "PACKAGE" is not selected for building in solution configuration "Release|x64". Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.sln" (1) is building "E:\hercules\src\AMD64\s3fh.release\SoftFloa t.vcxproj.metaproj" (2) on node 1 (Clean target(s)). Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.vcxproj.metaproj" (2) is building "E:\hercules\src\AMD64\s3fh.rel ease\ZERO_CHECK.vcxproj" (3) on node 1 (Clean target(s)). CoreClean: Creating directory "x64\Release\ZERO_CHECK\". Done Building Project "E:\hercules\src\AMD64\s3fh.release\ZERO_CHECK.vcxproj" (Clean target(s)).

Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.vcxproj.metaproj" (2) is building "E:\hercules\src\AMD64\s3fh.rel ease\SoftFloat.vcxproj" (4) on node 1 (Clean target(s)). CoreClean: Creating directory "SoftFloat.dir\Release\". Done Building Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.vcxproj" (Clean target(s)).

Done Building Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.vcxproj.metaproj" (Clean target(s)).

Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.sln" (1) is building "E:\hercules\src\AMD64\s3fh.release\ALL_BUIL D.vcxproj.metaproj" (5) on node 1 (Clean target(s)). Project "E:\hercules\src\AMD64\s3fh.release\ALL_BUILD.vcxproj.metaproj" (5) is building "E:\hercules\src\AMD64\s3fh.rel ease\ALL_BUILD.vcxproj" (6) on node 1 (Clean target(s)). CoreClean: Creating directory "x64\Release\ALL_BUILD\". Done Building Project "E:\hercules\src\AMD64\s3fh.release\ALL_BUILD.vcxproj" (Clean target(s)).

Done Building Project "E:\hercules\src\AMD64\s3fh.release\ALL_BUILD.vcxproj.metaproj" (Clean target(s)).

Done Building Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.sln" (Clean target(s)).

Build succeeded. 0 Warning(s) 0 Error(s)

Time Elapsed 00:00:00.26 Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved.

Build started 3/13/2017 11:08:04 AM. Project "E:\hercules\src\AMD64\s3fh.release\ALL_BUILD.vcxproj" on node 1 (default targets). Project "E:\hercules\src\AMD64\s3fh.release\ALL_BUILD.vcxproj" (1) is building "E:\hercules\src\AMD64\s3fh.release\ZERO _CHECK.vcxproj" (2) on node 1 (default targets). PrepareForBuild: Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\". InitializeBuildStatus: Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. CustomBuild: Checking Build System CMake does not need to re-run because E:/hercules/src/AMD64/s3fh.release/CMakeFiles/generate.stamp is up-to-date. FinalizeBuildStatus: Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild". Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate". Done Building Project "E:\hercules\src\AMD64\s3fh.release\ZERO_CHECK.vcxproj" (default targets).

Project "E:\hercules\src\AMD64\s3fh.release\ALL_BUILD.vcxproj" (1) is building "E:\hercules\src\AMD64\s3fh.release\Soft Float.vcxproj" (3) on node 1 (default targets). PrepareForBuild: Creating directory "E:\hercules\src\AMD64\s3fh.release\Release\". Creating directory "SoftFloat.dir\Release\SoftFloat.tlog\". InitializeBuildStatus: Creating "SoftFloat.dir\Release\SoftFloat.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. CustomBuild: Building Custom Rule E:/hercules/src/SoftFloat-3a/CMakeLists.txt CMake does not need to re-run because E:\hercules\src\AMD64\s3fh.release\CMakeFiles\generate.stamp is up-to-date. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /I"E:\hercules\src\SoftFloat-3a\source \include" /I"E:\hercules\src\SoftFloat-3a\source\8086-SSE" /IE:\hercules\src\AMD64\s3fh.release /nologo /W3 /WX- /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D HAVE_PLATFORM_H /D _NDEBUG /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"SoftFloat.dir\Release\" /Fd"SoftFloat.dir\Release\SoftFloat.pdb " /Gd /TC /errorReport:queue "E:\hercules\src\SoftFloat-3a\source\sadd128.c" "E:\hercules\src\SoftFloat-3a\source\s add256M.c" "E:\hercules\src\SoftFloat-3a\source\s_approxRecip32_1.c" "E:\hercules\src\SoftFloat-3a\source\s_approxRec ipSqrt32_1.c" "E:\hercules\src\SoftFloat-3a\source\s_countLeadingZeros32.c" "E:\hercules\src\SoftFloat-3a\source\s_co untLeadingZeros64.c" "E:\hercules\src\SoftFloat-3a\source\s_countLeadingZeros8.c" "E:\hercules\src\SoftFloat-3a\sourc e\s_eq128.c" "E:\hercules\src\SoftFloat-3a\source\s_le128.c" "E:\hercules\src\SoftFloat-3a\source\s_lt128.c" "E:\herc ules\src\SoftFloat-3a\source\s_mul128By32.c" "E:\hercules\src\SoftFloat-3a\source\s_mul128To256M.c" "E:\hercules\src\ SoftFloat-3a\source\s_mul64ByShifted32To128.c" "E:\hercules\src\SoftFloat-3a\source\s_mul64To128.c" "E:\hercules\src\ SoftFloat-3a\source\s_shiftRightJam128.c" "E:\hercules\src\SoftFloat-3a\source\s_shiftRightJam128Extra.c" "E:\hercule s\src\SoftFloat-3a\source\s_shiftRightJam256M.c" "E:\hercules\src\SoftFloat-3a\source\s_shiftRightJam32.c" "E:\hercul es\src\SoftFloat-3a\source\s_shiftRightJam64.c" "E:\hercules\src\SoftFloat-3a\source\s_shiftRightJam64Extra.c" "E:\he rcules\src\SoftFloat-3a\source\s_shortShiftLeft128.c" "E:\hercules\src\SoftFloat-3a\source\s_shortShiftRight128.c" "E :\hercules\src\SoftFloat-3a\source\s_shortShiftRightJam128.c" "E:\hercules\src\SoftFloat-3a\source\s_shortShiftRightJ am128Extra.c" "E:\hercules\src\SoftFloat-3a\source\s_shortShiftRightJam64.c" "E:\hercules\src\SoftFloat-3a\source\s_s hortShiftRightJam64Extra.c" "E:\hercules\src\SoftFloat-3a\source\s_sub128.c" "E:\hercules\src\SoftFloat-3a\source\s_s ub256M.c" "E:\hercules\src\SoftFloat-3a\hercsource\s_propagateNaNF128UI.c" "E:\hercules\src\SoftFloat-3a\hercsource\s _propagateNaNF32UI.c" "E:\hercules\src\SoftFloat-3a\hercsource\s_propagateNaNF64UI.c" "E:\hercules\src\SoftFloat-3a\s ource\8086-SSE\s_commonNaNToF128UI.c" "E:\hercules\src\SoftFloat-3a\source\8086-SSE\s_commonNaNToF32UI.c" "E:\hercule s\src\SoftFloat-3a\source\8086-SSE\s_commonNaNToF64UI.c" "E:\hercules\src\SoftFloat-3a\source\8086-SSE\s_f128UIToComm onNaN.c" "E:\hercules\src\SoftFloat-3a\source\8086-SSE\s_f32UIToCommonNaN.c" "E:\hercules\src\SoftFloat-3a\source\808 6-SSE\s_f64UIToCommonNaN.c" "E:\hercules\src\SoftFloat-3a\hercsource\f128_roundToInt.c" "E:\hercules\src\SoftFloat-3a \hercsource\f128_to_ui64.c" "E:\hercules\src\SoftFloat-3a\hercsource\f32_roundToInt.c" "E:\hercules\src\SoftFloat-3a\ hercsource\f32_to_ui64.c" "E:\hercules\src\SoftFloat-3a\hercsource\f64_roundToInt.c" "E:\hercules\src\SoftFloat-3a\he rcsource\f64_to_ui64.c" "E:\hercules\src\SoftFloat-3a\hercsource\s_addMagsF128.c" "E:\hercules\src\SoftFloat-3a\hercs ource\s_addMagsF32.c" "E:\hercules\src\SoftFloat-3a\hercsource\s_addMagsF64.c" "E:\hercules\src\SoftFloat-3a\hercsour ce\s_mulAddF32.c" "E:\hercules\src\SoftFloat-3a\hercsource\smulAddF64.c" "E:\hercules\src\SoftFloat-3a\hercsource\s roundPackToF128.c" "E:\hercules\src\SoftFloat-3a\hercsource\s_roundPackToF32.c" "E:\hercules\src\SoftFloat-3a\hercsou rce\s_roundPackToF64.c" "E:\hercules\src\SoftFloat-3a\hercsource\s_roundPackToI32.c" "E:\hercules\src\SoftFloat-3a\he rcsource\s_roundPackToI64.c" "E:\hercules\src\SoftFloat-3a\hercsource\s_roundPackToUI32.c" "E:\hercules\src\SoftFloat -3a\hercsource\s_roundPackToUI64.c" "E:\hercules\src\SoftFloat-3a\hercsource\softfloat_state.c" "E:\hercules\src\Soft Float-3a\source\f128_add.c" "E:\hercules\src\SoftFloat-3a\source\f128_div.c" "E:\hercules\src\SoftFloat-3a\source\f12 8_eq.c" "E:\hercules\src\SoftFloat-3a\source\f128_eq_signaling.c" "E:\hercules\src\SoftFloat-3a\source\f128_isSignali ngNaN.c" "E:\hercules\src\SoftFloat-3a\source\f128_le.c" "E:\hercules\src\SoftFloat-3a\source\f128_le_quiet.c" "E:\he rcules\src\SoftFloat-3a\source\f128_lt.c" "E:\hercules\src\SoftFloat-3a\source\f128_lt_quiet.c" "E:\hercules\src\Soft Float-3a\source\f128_mul.c" "E:\hercules\src\SoftFloat-3a\source\f128_mulAdd.c" "E:\hercules\src\SoftFloat-3a\source\ f128_rem.c" "E:\hercules\src\SoftFloat-3a\source\f128_sqrt.c" "E:\hercules\src\SoftFloat-3a\source\f128_sub.c" "E:\he rcules\src\SoftFloat-3a\source\f128_to_f32.c" "E:\hercules\src\SoftFloat-3a\source\f128_to_f64.c" "E:\hercules\src\So ftFloat-3a\source\f128_to_i32.c" "E:\hercules\src\SoftFloat-3a\source\f128_to_i32_r_minMag.c" "E:\hercules\src\SoftFl oat-3a\source\f128_to_i64.c" "E:\hercules\src\SoftFloat-3a\source\f128_to_i64_r_minMag.c" "E:\hercules\src\SoftFloat- 3a\source\f128_to_ui32.c" "E:\hercules\src\SoftFloat-3a\source\f128_to_ui32_r_minMag.c" "E:\hercules\src\SoftFloat-3a \source\f128_to_ui64_r_minMag.c" "E:\hercules\src\SoftFloat-3a\source\f32_add.c" "E:\hercules\src\SoftFloat-3a\source \f32_div.c" "E:\hercules\src\SoftFloat-3a\source\f32_eq.c" "E:\hercules\src\SoftFloat-3a\source\f32_eq_signaling.c" " E:\hercules\src\SoftFloat-3a\source\f32_isSignalingNaN.c" "E:\hercules\src\SoftFloat-3a\source\f32_le.c" "E:\hercules \src\SoftFloat-3a\source\f32_le_quiet.c" "E:\hercules\src\SoftFloat-3a\source\f32_lt.c" "E:\hercules\src\SoftFloat-3a \source\f32_lt_quiet.c" "E:\hercules\src\SoftFloat-3a\source\f32_mul.c" "E:\hercules\src\SoftFloat-3a\source\f32_mulA dd.c" "E:\hercules\src\SoftFloat-3a\source\f32_rem.c" "E:\hercules\src\SoftFloat-3a\source\f32_sqrt.c" "E:\hercules\s rc\SoftFloat-3a\source\f32_sub.c" "E:\hercules\src\SoftFloat-3a\source\f32_to_f128.c" "E:\hercules\src\SoftFloat-3a\s ource\f32_to_f64.c" "E:\hercules\src\SoftFloat-3a\source\f32_to_i32.c" "E:\hercules\src\SoftFloat-3a\source\f32_to_i3 2_r_minMag.c" "E:\hercules\src\SoftFloat-3a\source\f32_to_i64.c" "E:\hercules\src\SoftFloat-3a\source\f32_to_i64_r_mi nMag.c" "E:\hercules\src\SoftFloat-3a\source\f32_to_ui32.c" "E:\hercules\src\SoftFloat-3a\source\f32_to_ui32_r_minMag .c" "E:\hercules\src\SoftFloat-3a\source\f32_to_ui64_r_minMag.c" "E:\hercules\src\SoftFloat-3a\source\f64_add.c" "E:\ hercules\src\SoftFloat-3a\source\f64_div.c" "E:\hercules\src\SoftFloat-3a\source\f64_eq.c" "E:\hercules\src\SoftFloat -3a\source\f64_eq_signaling.c" "E:\hercules\src\SoftFloat-3a\source\f64_isSignalingNaN.c" "E:\hercules\src\SoftFloat- 3a\source\f64_le.c" "E:\hercules\src\SoftFloat-3a\source\f64_le_quiet.c" "E:\hercules\src\SoftFloat-3a\source\f64_lt. c" "E:\hercules\src\SoftFloat-3a\source\f64_lt_quiet.c" "E:\hercules\src\SoftFloat-3a\source\f64_mul.c" "E:\hercules\ src\SoftFloat-3a\source\f64_mulAdd.c" "E:\hercules\src\SoftFloat-3a\source\f64_rem.c" "E:\hercules\src\SoftFloat-3a\s ource\f64_sqrt.c" "E:\hercules\src\SoftFloat-3a\source\f64_sub.c" "E:\hercules\src\SoftFloat-3a\source\f64_to_f128.c" "E:\hercules\src\SoftFloat-3a\source\f64_to_f32.c" "E:\hercules\src\SoftFloat-3a\source\f64_to_i32.c" "E:\hercules\s rc\SoftFloat-3a\source\f64_to_i32_r_minMag.c" "E:\hercules\src\SoftFloat-3a\source\f64_to_i64.c" "E:\hercules\src\Sof tFloat-3a\source\f64_to_i64_r_minMag.c" "E:\hercules\src\SoftFloat-3a\source\f64_to_ui32.c" "E:\hercules\src\SoftFloa t-3a\source\f64_to_ui32_r_minMag.c" "E:\hercules\src\SoftFloat-3a\source\f64_to_ui64_r_minMag.c" "E:\hercules\src\Sof tFloat-3a\source\i32_to_f128.c" "E:\hercules\src\SoftFloat-3a\source\i32_to_f32.c" "E:\hercules\src\SoftFloat-3a\sour ce\i32_to_f64.c" "E:\hercules\src\SoftFloat-3a\source\i64_to_f128.c" "E:\hercules\src\SoftFloat-3a\source\i64_to_f32. c" "E:\hercules\src\SoftFloat-3a\source\i64_to_f64.c" "E:\hercules\src\SoftFloat-3a\source\s_mulAddF128.c" "E:\hercul es\src\SoftFloat-3a\source\s_normRoundPackToF128.c" "E:\hercules\src\SoftFloat-3a\source\s_normRoundPackToF32.c" "E:\ hercules\src\SoftFloat-3a\source\s_normRoundPackToF64.c" "E:\hercules\src\SoftFloat-3a\source\s_normSubnormalF128Sig. c" "E:\hercules\src\SoftFloat-3a\source\s_normSubnormalF32Sig.c" "E:\hercules\src\SoftFloat-3a\source\s_normSubnormal F64Sig.c" "E:\hercules\src\SoftFloat-3a\source\s_subMagsF128.c" "E:\hercules\src\SoftFloat-3a\source\s_subMagsF32.c" "E:\hercules\src\SoftFloat-3a\source\s_subMagsF64.c" "E:\hercules\src\SoftFloat-3a\source\ui32_to_f128.c" "E:\hercule s\src\SoftFloat-3a\source\ui32_to_f32.c" "E:\hercules\src\SoftFloat-3a\source\ui32_to_f64.c" "E:\hercules\src\SoftFlo at-3a\source\ui64_to_f128.c" "E:\hercules\src\SoftFloat-3a\source\ui64_to_f32.c" "E:\hercules\src\SoftFloat-3a\source \ui64_to_f64.c" "E:\hercules\src\SoftFloat-3a\hercsource\f128_scaledResult.c" "E:\hercules\src\SoftFloat-3a\hercsourc e\f32_scaledResult.c" "E:\hercules\src\SoftFloat-3a\hercsource\f64_scaledResult.c" s_add128.c s_add256M.c s_approxRecip32_1.c s_approxRecipSqrt32_1.c s_countLeadingZeros32.c s_countLeadingZeros64.c s_countLeadingZeros8.c s_eq128.c s_le128.c s_lt128.c s_mul128By32.c s_mul128To256M.c s_mul64ByShifted32To128.c s_mul64To128.c s_shiftRightJam128.c s_shiftRightJam128Extra.c s_shiftRightJam256M.c s_shiftRightJam32.c s_shiftRightJam64.c s_shiftRightJam64Extra.c Generating Code... Compiling... s_shortShiftLeft128.c s_shortShiftRight128.c s_shortShiftRightJam128.c s_shortShiftRightJam128Extra.c s_shortShiftRightJam64.c s_shortShiftRightJam64Extra.c s_sub128.c s_sub256M.c s_propagateNaNF128UI.c s_propagateNaNF32UI.c s_propagateNaNF64UI.c s_commonNaNToF128UI.c s_commonNaNToF32UI.c s_commonNaNToF64UI.c s_f128UIToCommonNaN.c s_f32UIToCommonNaN.c s_f64UIToCommonNaN.c f128_roundToInt.c f128_to_ui64.c f32_roundToInt.c Generating Code... Compiling... f32_to_ui64.c f64_roundToInt.c f64_to_ui64.c s_addMagsF128.c s_addMagsF32.c s_addMagsF64.c s_mulAddF32.c s_mulAddF64.c s_roundPackToF128.c s_roundPackToF32.c s_roundPackToF64.c s_roundPackToI32.c s_roundPackToI64.c s_roundPackToUI32.c s_roundPackToUI64.c softfloat_state.c f128_add.c f128_div.c f128_eq.c f128_eq_signaling.c Generating Code... Compiling... f128_isSignalingNaN.c f128_le.c f128_le_quiet.c f128_lt.c f128_lt_quiet.c f128_mul.c f128_mulAdd.c f128_rem.c f128_sqrt.c f128_sub.c f128_to_f32.c f128_to_f64.c f128_to_i32.c f128_to_i32_r_minMag.c f128_to_i64.c f128_to_i64_r_minMag.c f128_to_ui32.c f128_to_ui32_r_minMag.c f128_to_ui64_r_minMag.c f32_add.c Generating Code... Compiling... f32_div.c f32_eq.c f32_eq_signaling.c f32_isSignalingNaN.c f32_le.c f32_le_quiet.c f32_lt.c f32_lt_quiet.c f32_mul.c f32_mulAdd.c f32_rem.c f32_sqrt.c f32_sub.c f32_to_f128.c f32_to_f64.c f32_to_i32.c f32_to_i32_r_minMag.c f32_to_i64.c f32_to_i64_r_minMag.c f32_to_ui32.c Generating Code... Compiling... f32_to_ui32_r_minMag.c f32_to_ui64_r_minMag.c f64_add.c f64_div.c f64_eq.c f64_eq_signaling.c f64_isSignalingNaN.c f64_le.c f64_le_quiet.c f64_lt.c f64_lt_quiet.c f64_mul.c f64_mulAdd.c f64_rem.c f64_sqrt.c f64_sub.c f64_to_f128.c f64_to_f32.c f64_to_i32.c f64_to_i32_r_minMag.c Generating Code... Compiling... f64_to_i64.c f64_to_i64_r_minMag.c f64_to_ui32.c f64_to_ui32_r_minMag.c f64_to_ui64_r_minMag.c i32_to_f128.c i32_to_f32.c i32_to_f64.c i64_to_f128.c i64_to_f32.c i64_to_f64.c s_mulAddF128.c s_normRoundPackToF128.c s_normRoundPackToF32.c s_normRoundPackToF64.c s_normSubnormalF128Sig.c s_normSubnormalF32Sig.c s_normSubnormalF64Sig.c s_subMagsF128.c s_subMagsF32.c Generating Code... Compiling... s_subMagsF64.c ui32_to_f128.c ui32_to_f32.c ui32_to_f64.c ui64_to_f128.c ui64_to_f32.c ui64_to_f64.c f128_scaledResult.c f32_scaledResult.c f64_scaledResult.c Generating Code... Lib: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\Lib.exe /OUT:"E:\hercules\src\AMD64\s3fh.release \Release\SoftFloat.lib" /NOLOGO /MACHINE:X64 /machine:x64 SoftFloat.dir\Release\s_add128.obj SoftFloat.dir\Release\s_add256M.obj SoftFloat.dir\Release\s_approxRecip32_1.obj SoftFloat.dir\Release\s_approxRecipSqrt32_1.obj SoftFloat.dir\Release\s_countLeadingZeros32.obj SoftFloat.dir\Release\s_countLeadingZeros64.obj SoftFloat.dir\Release\s_countLeadingZeros8.obj SoftFloat.dir\Release\s_eq128.obj SoftFloat.dir\Release\s_le128.obj SoftFloat.dir\Release\s_lt128.obj SoftFloat.dir\Release\s_mul128By32.obj SoftFloat.dir\Release\s_mul128To256M.obj SoftFloat.dir\Release\s_mul64ByShifted32To128.obj SoftFloat.dir\Release\s_mul64To128.obj SoftFloat.dir\Release\s_shiftRightJam128.obj SoftFloat.dir\Release\s_shiftRightJam128Extra.obj SoftFloat.dir\Release\s_shiftRightJam256M.obj SoftFloat.dir\Release\s_shiftRightJam32.obj SoftFloat.dir\Release\s_shiftRightJam64.obj SoftFloat.dir\Release\s_shiftRightJam64Extra.obj SoftFloat.dir\Release\s_shortShiftLeft128.obj SoftFloat.dir\Release\s_shortShiftRight128.obj SoftFloat.dir\Release\s_shortShiftRightJam128.obj SoftFloat.dir\Release\s_shortShiftRightJam128Extra.obj SoftFloat.dir\Release\s_shortShiftRightJam64.obj SoftFloat.dir\Release\s_shortShiftRightJam64Extra.obj SoftFloat.dir\Release\s_sub128.obj SoftFloat.dir\Release\s_sub256M.obj SoftFloat.dir\Release\s_propagateNaNF128UI.obj SoftFloat.dir\Release\s_propagateNaNF32UI.obj SoftFloat.dir\Release\s_propagateNaNF64UI.obj SoftFloat.dir\Release\s_commonNaNToF128UI.obj SoftFloat.dir\Release\s_commonNaNToF32UI.obj SoftFloat.dir\Release\s_commonNaNToF64UI.obj SoftFloat.dir\Release\s_f128UIToCommonNaN.obj SoftFloat.dir\Release\s_f32UIToCommonNaN.obj SoftFloat.dir\Release\s_f64UIToCommonNaN.obj SoftFloat.dir\Release\f128_roundToInt.obj SoftFloat.dir\Release\f128_to_ui64.obj SoftFloat.dir\Release\f32_roundToInt.obj SoftFloat.dir\Release\f32_to_ui64.obj SoftFloat.dir\Release\f64_roundToInt.obj SoftFloat.dir\Release\f64_to_ui64.obj SoftFloat.dir\Release\s_addMagsF128.obj SoftFloat.dir\Release\s_addMagsF32.obj SoftFloat.dir\Release\s_addMagsF64.obj SoftFloat.dir\Release\s_mulAddF32.obj SoftFloat.dir\Release\s_mulAddF64.obj SoftFloat.dir\Release\s_roundPackToF128.obj SoftFloat.dir\Release\s_roundPackToF32.obj SoftFloat.dir\Release\s_roundPackToF64.obj SoftFloat.dir\Release\s_roundPackToI32.obj SoftFloat.dir\Release\s_roundPackToI64.obj SoftFloat.dir\Release\s_roundPackToUI32.obj SoftFloat.dir\Release\s_roundPackToUI64.obj SoftFloat.dir\Release\softfloat_state.obj SoftFloat.dir\Release\f128_add.obj SoftFloat.dir\Release\f128_div.obj SoftFloat.dir\Release\f128_eq.obj SoftFloat.dir\Release\f128_eq_signaling.obj SoftFloat.dir\Release\f128_isSignalingNaN.obj SoftFloat.dir\Release\f128_le.obj SoftFloat.dir\Release\f128_le_quiet.obj SoftFloat.dir\Release\f128_lt.obj SoftFloat.dir\Release\f128_lt_quiet.obj SoftFloat.dir\Release\f128_mul.obj SoftFloat.dir\Release\f128_mulAdd.obj SoftFloat.dir\Release\f128_rem.obj SoftFloat.dir\Release\f128_sqrt.obj SoftFloat.dir\Release\f128_sub.obj SoftFloat.dir\Release\f128_to_f32.obj SoftFloat.dir\Release\f128_to_f64.obj SoftFloat.dir\Release\f128_to_i32.obj SoftFloat.dir\Release\f128_to_i32_r_minMag.obj SoftFloat.dir\Release\f128_to_i64.obj SoftFloat.dir\Release\f128_to_i64_r_minMag.obj SoftFloat.dir\Release\f128_to_ui32.obj SoftFloat.dir\Release\f128_to_ui32_r_minMag.obj SoftFloat.dir\Release\f128_to_ui64_r_minMag.obj SoftFloat.dir\Release\f32_add.obj SoftFloat.dir\Release\f32_div.obj SoftFloat.dir\Release\f32_eq.obj SoftFloat.dir\Release\f32_eq_signaling.obj SoftFloat.dir\Release\f32_isSignalingNaN.obj SoftFloat.dir\Release\f32_le.obj SoftFloat.dir\Release\f32_le_quiet.obj SoftFloat.dir\Release\f32_lt.obj SoftFloat.dir\Release\f32_lt_quiet.obj SoftFloat.dir\Release\f32_mul.obj SoftFloat.dir\Release\f32_mulAdd.obj SoftFloat.dir\Release\f32_rem.obj SoftFloat.dir\Release\f32_sqrt.obj SoftFloat.dir\Release\f32_sub.obj SoftFloat.dir\Release\f32_to_f128.obj SoftFloat.dir\Release\f32_to_f64.obj SoftFloat.dir\Release\f32_to_i32.obj SoftFloat.dir\Release\f32_to_i32_r_minMag.obj SoftFloat.dir\Release\f32_to_i64.obj SoftFloat.dir\Release\f32_to_i64_r_minMag.obj SoftFloat.dir\Release\f32_to_ui32.obj SoftFloat.dir\Release\f32_to_ui32_r_minMag.obj SoftFloat.dir\Release\f32_to_ui64_r_minMag.obj SoftFloat.dir\Release\f64_add.obj SoftFloat.dir\Release\f64_div.obj SoftFloat.dir\Release\f64_eq.obj SoftFloat.dir\Release\f64_eq_signaling.obj SoftFloat.dir\Release\f64_isSignalingNaN.obj SoftFloat.dir\Release\f64_le.obj SoftFloat.dir\Release\f64_le_quiet.obj SoftFloat.dir\Release\f64_lt.obj SoftFloat.dir\Release\f64_lt_quiet.obj SoftFloat.dir\Release\f64_mul.obj SoftFloat.dir\Release\f64_mulAdd.obj SoftFloat.dir\Release\f64_rem.obj SoftFloat.dir\Release\f64_sqrt.obj SoftFloat.dir\Release\f64_sub.obj SoftFloat.dir\Release\f64_to_f128.obj SoftFloat.dir\Release\f64_to_f32.obj SoftFloat.dir\Release\f64_to_i32.obj SoftFloat.dir\Release\f64_to_i32_r_minMag.obj SoftFloat.dir\Release\f64_to_i64.obj SoftFloat.dir\Release\f64_to_i64_r_minMag.obj SoftFloat.dir\Release\f64_to_ui32.obj SoftFloat.dir\Release\f64_to_ui32_r_minMag.obj SoftFloat.dir\Release\f64_to_ui64_r_minMag.obj SoftFloat.dir\Release\i32_to_f128.obj SoftFloat.dir\Release\i32_to_f32.obj SoftFloat.dir\Release\i32_to_f64.obj SoftFloat.dir\Release\i64_to_f128.obj SoftFloat.dir\Release\i64_to_f32.obj SoftFloat.dir\Release\i64_to_f64.obj SoftFloat.dir\Release\s_mulAddF128.obj SoftFloat.dir\Release\s_normRoundPackToF128.obj SoftFloat.dir\Release\s_normRoundPackToF32.obj SoftFloat.dir\Release\s_normRoundPackToF64.obj SoftFloat.dir\Release\s_normSubnormalF128Sig.obj SoftFloat.dir\Release\s_normSubnormalF32Sig.obj SoftFloat.dir\Release\s_normSubnormalF64Sig.obj SoftFloat.dir\Release\s_subMagsF128.obj SoftFloat.dir\Release\s_subMagsF32.obj SoftFloat.dir\Release\s_subMagsF64.obj SoftFloat.dir\Release\ui32_to_f128.obj SoftFloat.dir\Release\ui32_to_f32.obj SoftFloat.dir\Release\ui32_to_f64.obj SoftFloat.dir\Release\ui64_to_f128.obj SoftFloat.dir\Release\ui64_to_f32.obj SoftFloat.dir\Release\ui64_to_f64.obj SoftFloat.dir\Release\f128_scaledResult.obj SoftFloat.dir\Release\f32_scaledResult.obj SoftFloat.dir\Release\f64_scaledResult.obj SoftFloat.vcxproj -> E:\hercules\src\AMD64\s3fh.release\Release\SoftFloat.lib FinalizeBuildStatus: Deleting file "SoftFloat.dir\Release\SoftFloat.tlog\unsuccessfulbuild". Touching "SoftFloat.dir\Release\SoftFloat.tlog\SoftFloat.lastbuildstate". Done Building Project "E:\hercules\src\AMD64\s3fh.release\SoftFloat.vcxproj" (default targets).

PrepareForBuild: Creating directory "x64\Release\ALL_BUILD\ALL_BUILD.tlog\". InitializeBuildStatus: Creating "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. CustomBuild: Building Custom Rule E:/hercules/src/SoftFloat-3a/CMakeLists.txt CMake does not need to re-run because E:\hercules\src\AMD64\s3fh.release\CMakeFiles\generate.stamp is up-to-date. FinalizeBuildStatus: Deleting file "x64\Release\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild". Touching "x64\Release\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate". Done Building Project "E:\hercules\src\AMD64\s3fh.release\ALL_BUILD.vcxproj" (default targets).

Build succeeded. 0 Warning(s) 0 Error(s)

Time Elapsed 00:00:06.85 ** InstallMe.cmd: Installing SoftFloat-3a Installing for release in '....\AMD64\s3fh.release'. -- Install configuration: "Release" -- Installing: E:/hercules/src/AMD64/s3fh/lib/pkgconfig/SoftFloat.pc -- Installing: E:/hercules/src/AMD64/s3fh/lib/SoftFloat.lib -- Installing: E:/hercules/src/AMD64/s3fh/include/softfloat.h -- Installing: E:/hercules/src/AMD64/s3fh/include/softfloat_types.h -- Installing: E:/hercules/src/AMD64/s3fh/./COPYING.txt -- Installing: E:/hercules/src/AMD64/s3fh/./README.txt -- Installing: E:/hercules/src/AMD64/s3fh/./README.md SoftFloat-3a built in '..\AMD64\s3fh' Visual Studio 2015 detected

--------------------------- ENVIRONMENT POOL ---------------------------

=1

@=64 ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\ivan\AppData\Roaming BLD=XP64 break=goto :break build_arch=AMD64 build_cmd=makefile.bat RETAIL-X64 makefile.msvc 64 build_env=vs140 build_type=RETAIL-X64 BZIP2_DIR=E:\hercules\packages\bzip2 CFG=RETAIL clone=https://github.com/hercules-390/SoftFloat-3a.git CommandPromptType=Native CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-CVMPQ4T ComSpec=C:\WINDOWS\system32\cmd.exe CPU=AMD64 def_obj=..\AMD64\s3fh exit=goto :exit ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs Framework40Version=v4.0 FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework64 FrameworkDIR64=C:\WINDOWS\Microsoft.NET\Framework64 FrameworkVersion=v4.0.30319 FrameworkVersion64=v4.0.30319 FSHARPINSTALLDIR=C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\ gitconf=.git\config HOMEDRIVE=C: HOMEPATH=\Users\ivan INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include insection=0 LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64; LIBPATH=C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References;C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References;C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral; LOCALAPPDATA=C:\Users\ivan\AppData\Local LOGONSERVER=\DESKTOP-CVMPQ4T makefile_name=makefile.msvc MAX_CPU_ENGINES=64 NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\ NUMBER_OF_PROCESSORS=8 num_cpus=64 obj=..\AMD64\s3fh OneDrive=C:\Users\ivan\OneDrive opt=64 OS=Windows_NT Path=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\PuTTY\;C:\Users\ivan.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Git\cmd;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\CMake\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\ivan\AppData\Local\Microsoft\WindowsApps; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PCRE_DIR=E:\hercules\packages\pcre pfx=https://github Platform=X64 PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=5e03 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public rc=0 return=goto :EOF rv=0 sectionfound=[remote "origin"] SESSIONNAME=Console sfdir=SoftFloat-3a SystemDrive=C: SystemRoot=C:\WINDOWS targ_arch=amd64 TEMP=C:\Users\ivan\AppData\Local\Temp TMP=C:\Users\ivan\AppData\Local\Temp TRACE=if defined DEBUG echo UCRTVersion=10.0.14393.0 UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\ url=https://github.com/hercules-390/hyperion.git USERDOMAIN=DESKTOP-CVMPQ4T USERDOMAIN_ROAMINGPROFILE=DESKTOP-CVMPQ4T USERNAME=ivan USERPROFILE=C:\Users\ivan VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ VisualStudioVersion=14.0 VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ vs2005=80 vs2008=90 vs2010=100 vs2012=110 vs2013=120 vs2015=140 VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\ vsname=2015 VSSDK140Install=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VSSDK\ VSTOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ vsver=140 windir=C:\WINDOWS WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\ WindowsSDKLibVersion=10.0.14393.0\ WindowsSDKVersion=10.0.14393.0\ WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ work=merge = refs/heads/master ZLIB_DIR=E:\hercules\packages\zlib _WIN64=1

-------------------------- PATH, LIB, INCLUDE --------------------------

PATH=

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow C:\Program Files (x86)\MSBuild\14.0\bin\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64 C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools C:\Program Files (x86)\HTML Help Workshop C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools C:\Program Files (x86)\Windows Kits\10\bin\x64 C:\Program Files (x86)\Windows Kits\10\bin\x86 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow C:\Program Files (x86)\MSBuild\14.0\bin\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64 C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools C:\Program Files (x86)\HTML Help Workshop C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools C:\Program Files (x86)\Windows Kits\10\bin\x64 C:\Program Files (x86)\Windows Kits\10\bin\x86 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ C:\Program Files (x86)\Intel\iCLS Client\ C:\Program Files\Intel\iCLS Client\ C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL C:\Program Files\Intel\Intel(R) Management Engine Components\DAL C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT C:\Program Files\Intel\Intel(R) Management Engine Components\IPT C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\PuTTY\ C:\Users\ivan.dnx\bin makefile.bat(1) : warning C9999 : Path does not exist on disk: "C:\Users\ivan.dnx\bin" C:\Program Files\Microsoft DNX\Dnvm\ C:\Program Files\Microsoft SQL Server\120\Tools\Binn\ C:\Program Files\Microsoft SQL Server\130\Tools\Binn\ C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\ C:\Program Files\Git\cmd C:\Program Files\Intel\WiFi\bin\ C:\Program Files\Common Files\Intel\WirelessCommon\ C:\Program Files\CMake\bin C:\Program Files\Intel\WiFi\bin\ C:\Program Files\Common Files\Intel\WirelessCommon\ C:\Users\ivan\AppData\Local\Microsoft\WindowsApps

LIB=

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64 C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64 C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64

INCLUDE=

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include

--------------------------------- MAKE ---------------------------------

Hercules VERSION = "4.0.0.8725-g8526724" (4.0.0.8725)

Makefile presuming VS2015 Community Edition (VS14 = _MSC_VER 1900) Target processor type is 64-bit AMD64 SoftFloat 3a install tree defaulted to "..\AMD64\s3fh" ZLIB support will be included from "E:\hercules\packages\zlib\x64" BZIP2 support will be included from "E:\hercules\packages\bzip2\x64" PCRE support will be included from "E:\hercules\packages\pcre\x64" IPV6 FLAGS /D ENABLE_IPV6 build_pch.c Target platform = _WIN32_WINNT 0x0502 dfp.c pfpo.c Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384 Copyright (C) Microsoft Corporation. All rights reserved.

hsys.c Creating library msvc.AMD64.obj\hsys.lib and object msvc.AMD64.obj\hsys.exp Generating code Finished generating code codepage.c fthreads.c getopt.c hdl.c hostinfo.c hscutl.c hexdumpe.c hscutl2.c logger.c logmsg.c memrchr.c parser.c hthreads.c pttrace.c version.c hsocket.c version.c(772): error C2065: 'COMMIT_COUNT': undeclared identifier version.c(775): error C2065: 'COMMIT_COUNT': undeclared identifier version.c(778): error C2065: 'COMMIT_COUNT': undeclared identifier version.c(794): error C2065: 'COMMIT_HASH': undeclared identifier version.c(794): warning C4047: 'function': 'const char ' differs in levels of indirection from 'int' version.c(794): warning C4024: 'strlen': different types for formal and actual parameter 1 version.c(798): error C2146: syntax error: missing ')' before identifier 'COMMIT_HASH' version.c(798): error C2059: syntax error: ')' version.c(800): error C2146: syntax error: missing ')' before identifier 'COMMIT_HASH' version.c(800): error C2059: syntax error: ')' version.c(802): error C2146: syntax error: missing ')' before identifier 'COMMIT_HASH' version.c(802): error C2059: syntax error: ')' version.c(807): error C2065: 'COMMIT_MODIFIED': undeclared identifier version.c(807): warning C4047: 'function': 'const char ' differs in levels of indirection from 'int' version.c(807): warning C4024: 'strlen': different types for formal and actual parameter 1 version.c(807): error C2146: syntax error: missing ')' before identifier 'COMMIT_UNTRACKED' version.c(807): error C2059: syntax error: ')' version.c(812): error C2181: illegal else without matching if version.c(813): error C2146: syntax error: missing ')' before identifier 'COMMIT_MODIFIED' version.c(813): error C2059: syntax error: ')' version.c(814): error C2181: illegal else without matching if version.c(815): error C2146: syntax error: missing ')' before identifier 'COMMIT_MODIFIED' version.c(815): error C2059: syntax error: ')' version.c(822): error C2059: syntax error: 'if' version.c(825): error C2059: syntax error: 'else' version.c(827): error C2059: syntax error: 'else' w32util.c version.c(830): error C2059: syntax error: '}' NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2' Stop.

E:\hercules\src\hyperion>

jphartmann commented 7 years ago

Ivan, would you be kind enough to append your commitinfo.h so that Steve has all the information he will need.

On UNIX it should have been created in the build directory; not sure where to look on Windows.

ivan-w commented 7 years ago

On 3/13/2017 12:47 PM, John P. Hartmann wrote:

Ivan, would you be kind enough to append your |commitinfo.h| so that Steve has all the information he will need.

On UNIX it should have been created in the build directory; not sure where to look on Windows.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286085521, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW9_2-y247glsajl3x_UsTX-1K7YDks5rlSzHgaJpZM4MbDu_.

John,

This is a windows only problem (I have no current issue with linux... well sort of.. but not that issue)

There is indeed a file named "commitinfo.h" in the "msvc.AMD64.inc" directory, but it's empty.

I think it doesn't have actually have anything to do with "1Stop" but rather an issue with "makefile.bat" (I filed it under 1Stop because it was the top command I issued).

Note : It shouldn't be a git version issue... I had an old git (2.9.xx) but now running 2.12.xx and the issue remains

Re-Note : I always start from clean slate. My "source" directory is clean... (1 basically use 1Stop to setup Softfloat - and s3fh builds fine)

Thank you John for looking into the issue. I will provide any help and assistance with this (My knowledge of the Windows build process is ... sketchy !)

--Ivan

jphartmann commented 7 years ago

Thank you, Ivan. But I have a couple of issues with commitinfo.h in the UNIX build.

  1. The commit message made before the last change is not what it should be though it may well not be displayed anywhere. Perhaps this message is displayed only when doing a clean build. When I removed commitinfo.h it seems to be OK now.
    /* Generated Thu Mar  9 12:52:45 UTC 2017 by /usr/data/src/hercules/hyperion/GetGitHash */
    #define COMMIT_COUNT 8724
    #define COMMIT_MESSAGE "Uplevel autoconf/missing"
    #define COMMIT_HASH "72f2d833e9814b50c2de77c88ae7e26e3768d752"
    #define COMMIT_UNTRACKED ""
    #define COMMIT_MODIFIED ""
  2. Line 28 of Makefile.am was commented out, so that commitinfo.h no longer gets built. The rule on line 1035 will be triggered only when the file does not exist.

GetGitHash must be called on all make invocations since there is nothing to trigger make into realising that we have a new commit level. It should be careful only to replace the file (that is, change its timestamp) when there is a change to the file other than the first line.

I made the assumption that the timestamp would be the same length in both files. That assumption does not necessarily hold, so GetGitHash should also get the length of the first line in the old file when invoking cmp.

Steve, I'll let you have the first shot at this; let me know if you need more.

jphartmann commented 7 years ago

Ivan, the error you report is due to a macro not being defined. It should be defined in commitinfo.h, but if the file is empty, it clearly is not.

ivan-w commented 7 years ago

Then we need to look as to why it is empty when it shouldn't be.

(This leaves open as to how a build can be made when the source isn't fetched from git)

--Ivan

jphartmann commented 7 years ago

Ah so! Yes, non-git systems came as a bit of a surprise. On a non-git build commitinfo.h should have a commit string that says that git is not installed.

You need to build the old-fashioned way (autogen, configure, make on UNIX). But even so, you need a commitinfo.h to compile version.c.

ivan-w commented 7 years ago

commitinfo.h should be generated when "make dist" is run to create a source tarball... but "make dist" no longer works either.

--Ivan

On 3/13/2017 2:08 PM, John P. Hartmann wrote:

Ah so! Yes, non-git systems came as a bit of a surprise. On a non-git build |commitinfo.h| should have a commit string that says that git is not installed.

You need to build the old-fashioned way (autogen, configure, make on UNIX). But even so, you need a |commitinfo.h| to compile |version.c|.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286101906, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW8ESLeuQDSwuBoaPl6Em_lNHuL9Fks5rlT_ggaJpZM4MbDu_.

jphartmann commented 7 years ago

Are you sure that is how github generates the tarball (zip) you can download?

I don't think it advisable to add the complexity of having a default commitinfo.h in the source directory. Were it so, the makefile would also need change not to build the file when the source is installed from a tarball.

ivan-w commented 7 years ago

John,

"make dist" generates the tarball (but it doesn't work anymore).

The "standard" procedure is :

The tarball is a 'frozen' version and does not require any external intervention of any autoconf/automake (it's all imbeded and autonomous)

This is how tens of thousands of projects work and what used to work until very recently with hercules.

The "commitinfo.h" should therefore be part of the "source tarball" (it indicates what version was pulled, but is not part of the repository, as it is generated at the time "make dist" or "make;make install" when make is done after a repository pull)

--Ivan

On 3/13/2017 2:26 PM, John P. Hartmann wrote:

Are you sure that is how github generates the tarball (zip) you can download?

I don't think it advisable to add the complexity of having a default |commitinfo.h| in the source directory. Were it so, the makefile would also need change not to build the file when the source is installed from a tarball.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286106059, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW7XsUT1V0vRQUCW1lXdGGtRVM6naks5rlUQSgaJpZM4MbDu_.

srorso commented 7 years ago

Hi Folks:

A fresh clone of Hercules/SoftFloat 3a For Hercules on my Win10/VS2015 from the command line gives different results. Commitinfo.h is generated.

[...]
qeth.c
   Creating library msvc.AMD64.obj\hdtqeth.lib and object msvc.AMD64.obj\hdtqeth.exp
Generating code
c:\common\github\hyperion-2\qeth.c(531) : error C4702: unreachable code
LINK : fatal error LNK1257: code generation failed
NMAKE : fatal error U1077: 'link' : return code '0x4e9'
Stop.

Ivan, would you please run the following version of GetGitHash.cmd on your system in the hyperioon source directory (rename to remove .txt suffix, required by github) and attach/post the output? The following should do the trick:

ren GetGitHash.cmd.txt GetGitHash.cmd
GetGitHash.cmd > GetGitHash.txt

John: I will address the regression on line 28 of makefile.am. Thanks for pointing out the need to *always" run GetGitHash.

Best Regards, Steve Orso

GetGitHash.cmd.txt

srorso commented 7 years ago

John:

In Makefile.am before I messed with it, I see:

-DYNAMIC_VERSION := $(shell $(top_srcdir)/GetGitHash $(top_srcdir))
 -varsion.lo: commitinfo.h

Note "varsion.lo," not version.lo. I presumed this was a typo and corrected the target. Would you confirm? As originally written, the target builds Hercules much less frequently than changes to commitinfo.h would normally trigger, and that was one of the goals of doing commitinfo.h. I fear that by "correcting" this, I may have returned to the state of rebuilding much of Hercules when a file is changed because commitinfo.h changed because the number of changed files changes.

Many thanks...

Best Regards, Steve Orso

ivan-w commented 7 years ago

That's my output...

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC>e:

E:>cd hercules

E:\hercules>cd src

E:\hercules\src>cd hyperion

E:\hercules\src\hyperion>notepad GetGitHash.cmd

E:\hercules\src\hyperion>.git

E:\hercules\src\hyperion>makefile RETAIL-X64 makefile-dllmod.msvc 64 Visual Studio 2015 detected

--------------------------- ENVIRONMENT POOL ---------------------------

=1

@=64 ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\ivan\AppData\Roaming BLD=XP64 break=goto :break build_env=vs140 build_type=RETAIL-X64 BZIP2_DIR=E:\hercules\packages\bzip2 CFG=RETAIL CommandPromptType=Native CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-CVMPQ4T ComSpec=C:\WINDOWS\system32\cmd.exe CPU=AMD64 exit=goto :exit ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs Framework40Version=v4.0 FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework64 FrameworkDIR64=C:\WINDOWS\Microsoft.NET\Framework64 FrameworkVersion=v4.0.30319 FrameworkVersion64=v4.0.30319 FSHARPINSTALLDIR=C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\ HOMEDRIVE=C: HOMEPATH=\Users\ivan INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt;C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include LIB=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64; LIBPATH=C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References;C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64;C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References;C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral; LOCALAPPDATA=C:\Users\ivan\AppData\Local LOGONSERVER=\DESKTOP-CVMPQ4T makefile_name=makefile-dllmod.msvc MAX_CPU_ENGINES=64 NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\ NUMBER_OF_PROCESSORS=8 num_cpus=64 OneDrive=C:\Users\ivan\OneDrive opt=64 OS=Windows_NT Path=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\PuTTY\;C:\Users\ivan.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\ivan\AppData\Local\Microsoft\WindowsApps; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PCRE_DIR=E:\hercules\packages\pcre Platform=X64 PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=5e03 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public rc=0 return=goto :EOF SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS targ_arch=amd64 TEMP=C:\Users\ivan\AppData\Local\Temp TMP=C:\Users\ivan\AppData\Local\Temp TRACE=if defined DEBUG echo UCRTVersion=10.0.14393.0 UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\ USERDOMAIN=DESKTOP-CVMPQ4T USERDOMAIN_ROAMINGPROFILE=DESKTOP-CVMPQ4T USERNAME=ivan USERPROFILE=C:\Users\ivan VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ VisualStudioVersion=14.0 VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ vs2005=80 vs2008=90 vs2010=100 vs2012=110 vs2013=120 vs2015=140 VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\ vsname=2015 VSSDK140Install=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VSSDK\ VSTOOLSDIR=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ vsver=140 windir=C:\WINDOWS WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata;C:\Program Files (x86)\Windows Kits\10\References WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\ WindowsSDKLibVersion=10.0.14393.0\ WindowsSDKVersion=10.0.14393.0\ WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ ZLIB_DIR=E:\hercules\packages\zlib _WIN64=1

-------------------------- PATH, LIB, INCLUDE --------------------------

PATH=

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow C:\Program Files (x86)\MSBuild\14.0\bin\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64 C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools C:\Program Files (x86)\HTML Help Workshop C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools C:\Program Files (x86)\Windows Kits\10\bin\x64 C:\Program Files (x86)\Windows Kits\10\bin\x86 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow C:\Program Files (x86)\MSBuild\14.0\bin\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64 C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools C:\Program Files (x86)\HTML Help Workshop C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools C:\Program Files (x86)\Windows Kits\10\bin\x64 C:\Program Files (x86)\Windows Kits\10\bin\x86 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ C:\Program Files (x86)\Intel\iCLS Client\ C:\Program Files\Intel\iCLS Client\ C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Windows\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL C:\Program Files\Intel\Intel(R) Management Engine Components\DAL C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT C:\Program Files\Intel\Intel(R) Management Engine Components\IPT C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\PuTTY\ C:\Users\ivan.dnx\bin makefile.bat(1) : warning C9999 : Path does not exist on disk: "C:\Users\ivan.dnx\bin" C:\Program Files\Microsoft DNX\Dnvm\ C:\Program Files\Microsoft SQL Server\120\Tools\Binn\ C:\Program Files\Microsoft SQL Server\130\Tools\Binn\ C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\ C:\Program Files\Intel\WiFi\bin\ C:\Program Files\Common Files\Intel\WirelessCommon\ C:\Program Files\CMake\bin C:\Program Files\Git\cmd C:\Program Files\Intel\WiFi\bin\ C:\Program Files\Common Files\Intel\WirelessCommon\ C:\Users\ivan\AppData\Local\Microsoft\WindowsApps

LIB=

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64 C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64 C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64

INCLUDE=

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include

--------------------------------- MAKE ---------------------------------

Hercules VERSION = "4.0.0.8725-g85267246-modified" (4.0.0.8725)

Makefile presuming VS2015 Community Edition (VS14 = _MSC_VER 1900) Target processor type is 64-bit AMD64 SoftFloat 3a install tree defaulted to "..\AMD64\s3fh" ZLIB support will be included from "E:\hercules\packages\zlib\x64" BZIP2 support will be included from "E:\hercules\packages\bzip2\x64" PCRE support will be included from "E:\hercules\packages\pcre\x64" IPV6 FLAGS /D ENABLE_IPV6

E:\hercules\src\hyperion\msvc.AMD64.inc>set "outfile=commitinfo.h"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "tempfile=temp.commitinfo.h"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "builddir=$PWD"

E:\hercules\src\hyperion\msvc.AMD64.inc>setlocal enabledelayedexpansion

E:\hercules\src\hyperion\msvc.AMD64.inc>set "for_query=wmic path win32_utctime get dayofweek,Day,Hour,Minute,Month,Second,Year /format:list"

E:\hercules\src\hyperion\msvc.AMD64.inc>for /F "delims=" %a in ('!for_query!') do (for /F "delims=" %d in ("%a") do set %d )

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("Day=13

E:\hercules\src\hyperion\msvc.AMD64.inc>set Day=13

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("DayOfWeek=1

E:\hercules\src\hyperion\msvc.AMD64.inc>set DayOfWeek=1

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("Hour=13

E:\hercules\src\hyperion\msvc.AMD64.inc>set Hour=13

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("Minute=51

E:\hercules\src\hyperion\msvc.AMD64.inc>set Minute=51

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("Month=3

E:\hercules\src\hyperion\msvc.AMD64.inc>set Month=3

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("Second=25

E:\hercules\src\hyperion\msvc.AMD64.inc>set Second=25

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("Year=2017

E:\hercules\src\hyperion\msvc.AMD64.inc>set Year=2017

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("

") do set %d ) \hyperion\msvc.AMD64.inc>(for /F "delims=" %d in ("

E:\hercules\src\hyperion\msvc.AMD64.inc>set "day= 13"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "day=13

E:\hercules\src\hyperion\msvc.AMD64.inc>set "hour=013"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "hour=13

E:\hercules\src\hyperion\msvc.AMD64.inc>set "minute=051"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "minute=51

E:\hercules\src\hyperion\msvc.AMD64.inc>set "second=025"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "second=25"

E:\hercules\src\hyperion\msvc.AMD64.inc>set /a "dayofweek+=1"

E:\hercules\src\hyperion\msvc.AMD64.inc>for /F "tokens=2" %a in ("Sun Mon Tue Wed Thu Fri Sat") do set "dayofweek=%a"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "dayofweek=Mon"

E:\hercules\src\hyperion\msvc.AMD64.inc>for /F "tokens=3" %a in ("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec") do set "month=%a"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "month=Mar"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "datestring=Mon Mar 13 13:51:25 2017

E:\hercules\src\hyperion\msvc.AMD64.inc>set "id=/ Generated Mon Mar 13 13:51:25 2017 by GetGitHash.cmd /"

E:\hercules\src\hyperion\msvc.AMD64.inc>if not exist commitinfo.h

E:\hercules\src\hyperion\msvc.AMD64.inc>( echo / Generated Mon Mar 13 13:51:25 2017 by GetGitHash.cmd / echo #define COMMIT_COUNT 0 echo #define COMMIT_MESSAGE "" echo #define COMMIT_HASH "" echo #define COMMIT_UNTRACKED "" echo #define COMMIT_MODIFIED "" ) 1>temp.commitinfo.h

E:\hercules\src\hyperion\msvc.AMD64.inc>git --version 1>nul

E:\hercules\src\hyperion\msvc.AMD64.inc>set "rv=0"

E:\hercules\src\hyperion\msvc.AMD64.inc>if not "0" == "0" ( if "0" == "9009" (echo Git for Windows is not installed ) else (echo git version return value 0 ) move /Y temp.commitinfo.h commitinfo.h 1>nul 2>&1 exit /b 0 )

E:\hercules\src\hyperion\msvc.AMD64.inc>pushd ..

E:\hercules\src\hyperion>set "CommitCount=0"

E:\hercules\src\hyperion>set "for_query=git log --pretty=format:"x""

E:\hercules\src\hyperion>set "for_query=git log -n 1 --pretty=format:"%H %h %ai""

E:\hercules\src\hyperion>for /F "tokens=1-5" %a in ('!for_query!') do ( set "commit=%a" set "short=%b" set "time=%c %d %e" )

E:\hercules\src\hyperion>( set "commit=85267246136a64b2fecdacd58e2e57a84fe6e4e2" set "short=85267246" set "time=2017-03-12 10:04:04 -0400" )

E:\hercules\src\hyperion>set "for_query=git log -n 1 --pretty=format:"%s""

E:\hercules\src\hyperion>for /F "tokens=*" %a in ('!for_query!') do ( set "msg=%a" set "msg=!msg:~0,70!" )

E:\hercules\src\hyperion>( set "msg=Enable builds on FreeBSD 10+, minor build changes. Enabled recognition of FreeBSD versions 10 and higher. Changed cmp invocation in GetGitHash to be GNU/BSD portable. Updated build targets for commitinfo.h and version.lo. Addresses issue #205." set "msg=!msg:~0,70!" )

E:\hercules\src\hyperion>set /a "changed=0"

E:\hercules\src\hyperion>set /a "new=0"

E:\hercules\src\hyperion>for /F "tokens=1" %a in ('git status --porcelain') do (if "%a" == "??" (set /a "new+=1" ) else (set /a "changed+=1" ) )

E:\hercules\src\hyperion>(if "M" == "??" (set /a "new+=1" ) else (set /a "changed+=1" ) )

E:\hercules\src\hyperion>popd

E:\hercules\src\hyperion\msvc.AMD64.inc>( echo / Generated Mon Mar 13 13:51:25 2017 by GetGitHash.cmd / echo #define COMMIT_COUNT 8725 echo #define COMMIT_MESSAGE "" echo #define COMMIT_HASH "85267246136a64b2fecdacd58e2e57a84fe6e4e2" if "0" == "0" (echo #define COMMIT_UNTRACKED "" ) else (echo #define COMMIT_UNTRACKED " 0 untracked files." ) if "1" == "0" (echo #define COMMIT_MODIFIED "" ) else (echo #define COMMIT_MODIFIED " 1 added/modified/deleted files." ) ) 1>temp.commitinfo.h

E:\hercules\src\hyperion\msvc.AMD64.inc>set /a "rv=0"

E:\hercules\src\hyperion\msvc.AMD64.inc>set "for_query=echo n|comp /l commitinfo.h temp.commitinfo.h 2>nul"

E:\hercules\src\hyperion\msvc.AMD64.inc>for /F "tokens=*" %a in ('!for_query!') do (if "%a" == "Files are different sizes." (set /a "rv=1" ) else (for /F "tokens=4-5" %b in ("%a") do (if "%b" == "LINE" if not "%c" == "1" set /a "rv=1" ) ) )

E:\hercules\src\hyperion\msvc.AMD64.inc>(if "Comparaison de commitinfo.h et temp.commitinfo.h..." == "Files are different sizes." (set /a "rv=1" ) else (for /F "tokens=4-5" %b in ("Comparaison de commitinfo.h et temp.commitinfo.h...") do (if "%b" == "LINE" if not "%c" == "1" set /a "rv=1" ) ) )

E:\hercules\src\hyperion\msvc.AMD64.inc>(if "et" == "LINE" if not "temp.commitinfo.h..." == "1" set /a "rv=1" )

E:\hercules\src\hyperion\msvc.AMD64.inc>(if "Les fichiers sont de taille différente." == "Files are different sizes." (set /a "rv=1" ) else (for /F "tokens=4-5" %b in ("Les fichiers sont de taille différente.") do (if "%b" == "LINE" if not "%c" == "1" set /a "rv=1" ) ) )

E:\hercules\src\hyperion\msvc.AMD64.inc>(if "de" == "LINE" if not "taille" == "1" set /a "rv=1" )

E:\hercules\src\hyperion\msvc.AMD64.inc>(if "n" == "Files are different sizes." (set /a "rv=1" ) else (for /F "tokens=4-5" %b in ("n") do (if "%b" == "LINE" if not "%c" == "1" set /a "rv=1" ) ) )

E:\hercules\src\hyperion\msvc.AMD64.inc>if "0" == "1" (copy /Y temp.commitinfo.h commitinfo.h 1>nul )

E:\hercules\src\hyperion\msvc.AMD64.inc>del -f temp.commitinfo.h version.c version.c(772): error C2065: 'COMMIT_COUNT': undeclared identifier version.c(775): error C2065: 'COMMIT_COUNT': undeclared identifier version.c(778): error C2065: 'COMMIT_COUNT': undeclared identifier version.c(794): error C2065: 'COMMIT_HASH': undeclared identifier version.c(794): warning C4047: 'function': 'const char ' differs in levels of indirection from 'int' version.c(794): warning C4024: 'strlen': different types for formal and actual parameter 1 version.c(798): error C2146: syntax error: missing ')' before identifier 'COMMIT_HASH' version.c(798): error C2059: syntax error: ')' version.c(800): error C2146: syntax error: missing ')' before identifier 'COMMIT_HASH' version.c(800): error C2059: syntax error: ')' version.c(802): error C2146: syntax error: missing ')' before identifier 'COMMIT_HASH' version.c(802): error C2059: syntax error: ')' version.c(807): error C2065: 'COMMIT_MODIFIED': undeclared identifier version.c(807): warning C4047: 'function': 'const char ' differs in levels of indirection from 'int' version.c(807): warning C4024: 'strlen': different types for formal and actual parameter 1 version.c(807): error C2146: syntax error: missing ')' before identifier 'COMMIT_UNTRACKED' version.c(807): error C2059: syntax error: ')' version.c(812): error C2181: illegal else without matching if version.c(813): error C2146: syntax error: missing ')' before identifier 'COMMIT_MODIFIED' version.c(813): error C2059: syntax error: ')' version.c(814): error C2181: illegal else without matching if version.c(815): error C2146: syntax error: missing ')' before identifier 'COMMIT_MODIFIED' version.c(815): error C2059: syntax error: ')' version.c(822): error C2059: syntax error: 'if' version.c(825): error C2059: syntax error: 'else' version.c(827): error C2059: syntax error: 'else' version.c(830): error C2059: syntax error: '}' NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2' Stop.

E:\hercules\src\hyperion> E:\hercules\src\hyperion>notepad GetGitHash.cmd

E:\hercules\src\hyperion>makefile RETAIL-X64 makefile-dllmod.msvc 64

E:\hercules\src\hyperion>

On 3/13/2017 2:43 PM, Stephen Orso wrote:

Hi Folks:

A fresh clone of Hercules/SoftFloat 3a For Hercules on my Win10/VS2015 from the command line gives different results. Commitinfo.h is generated.

|[...] qeth.c Creating library msvc.AMD64.obj\hdtqeth.lib and object msvc.AMD64.obj\hdtqeth.exp Generating code c:\common\github\hyperion-2\qeth.c(531) : error C4702: unreachable code LINK : fatal error LNK1257: code generation failed NMAKE : fatal error U1077: 'link' : return code '0x4e9' Stop. |

Ivan, would you please run the following version of GetGitHash.cmd on your system in the hyperioon source directory (rename to remove .txt suffix, required by github) and attach/post the output? The following should do the trick:

|ren GetGitHash.cmd.txt GetGitHash.cmd GetGitHash.cmd > GetGitHash.txt |

John: I will address the regression on line 28 of makefile.am. Thanks for pointing out the need to *always" run GetGitHash.

Best Regards, Steve Orso

GetGitHash.cmd.txt https://github.com/hercules-390/hyperion/files/838318/GetGitHash.cmd.txt

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286110271, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW8fFAmHy6pe8HmOKB7TF6Fyll5nxks5rlUgYgaJpZM4MbDu_.

srorso commented 7 years ago

Hi Ivan:

Thanks! And it appears the qeth.c diagnostic is caused by a remnant of development/diagnostic code in qeth.c register_mac() function. Removal of that code (a char declaration and an snprintf) enabled build and make check.

Best Regards, Steve Orso

srorso commented 7 years ago

Hi Ivan:

Perfect....Votre Windows 10 parle français, et GetGitHash.cmd est un laid américain, parlant seulement l'anglais.

This is an NLS issue. Nuts. (But thanks for reporting this.)

Best Regards, Steve Orso

ivan-w commented 7 years ago

Ah ah !

Hadn't expected this !

Is it "git" that is causing the issue or another component ? Is there a way to change the locale for a run (like setting LANG=C or LANG=En_US) in the script ?

--Ivan

On 3/13/2017 3:09 PM, Stephen Orso wrote:

Hi Ivan:

Perfect....Votre Windows 10 parle français, et GetGitHash.cmd est un laid américain, parlant seulement l'anglais.

This is an NLS issue. Nuts. (But thanks for reporting this.)

Best Regards, Steve Orso

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286117446, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW6m_Q35tfFnsrnJChmLTMX_vx5MEks5rlU4JgaJpZM4MbDu_.

jphartmann commented 7 years ago

Ivan, on UNIX you should be able to

LANG=C make

Please give it a try. If there is something in the makefile that scuppers it, we need to fix it.

srorso commented 7 years ago

Hi Ivan:

The GetGitHash.cmd is sensitive to the Windows base language because it is checking the text of messages issued by the comp command, a Windows-provided utility. I have several terms I use to describe the functionality of Windows file compare utilities, but none are appropriate for a public forum. Or even polite private conversation.

I will investigate set language, but failing that, I will have to re-architect the file comparison step in GetGitHash.cmd.

In the meantime, if you wish to change line 150 in the original GetGitHash.cmd from:

    if "%%a" == "Files are different sizes." (

to

    if "%%a" == "Les fichiers sont de taille différente." (

you should be able to complete your build.

And I am embarrassed to admit that I see this issue was reported in the Hercules-390 forum in February at topic-81327. Ironically, the reporter is named Yvan. Missed that in the noise of the general group. And that was a real shame, as Yvan did a very nice job of diagnosing and documenting.

Best Regards, Steve Orso

ivan-w commented 7 years ago

On 3/13/2017 3:46 PM, John P. Hartmann wrote:

Ivan, on UNIX you should be able to

|LANG=C make |

Please give it a try. If there is something in the makefile that scuppers it, we need to fix it.

John,

I have no issue on Linux (my linux install is En_US based...) It's only an issue on Windows.

--Ivan

jphartmann commented 7 years ago

Ivan, as for the tarball, I need to understand how you obtained it. I was assuming that you went to the github web page and clicked download zip. That is,

https://github.com/hercules-390/hyperion/archive/master.zip

If that is what you did, you got an object neither you nor I can create. It bears no relation to what make dist is assumed to do. I assume it is a tarball of the top source directory less the .git directory. I can find out exactly what it is if you feel that is important.

If someone (you, Roger) does make dist and then publishes whatever this process creates, it is of course a different kettle of fish.

srorso commented 7 years ago

Hi Folks:

Would it upset things if the comment line in commitinfo.h appeared at the end of the file rather than at the beginning. Normally I would object to this, but for a five line file I can be flexible.

Windows file comparison utilities do generate return codes, which would enable removal of the NLS dependency, but they do not allow skipping the first n (lines bytes bits whatever). Windows utilities do, however, allow for comparison of only the first n lines of the file. If the timestamp line is at the end, things get much simpler. A bit of a kludge....but perhaps clearer than the alternative possible kludges that might be used to fix this.

In the meantime, I have a draft changed GetGitHash.cmd that implements this kludge attached (rename as before).

Best Regards, Steve Orso

GetGitHash.cmd.txt

ivan-w commented 7 years ago

I am not saying I obtained a tarball..

I want to be able to build hercules from a non source repository dependent location.

the usual way is to do "make dist" which creates a source tarball that can then be transported, and only require a compiler and none of the dev tools or auto tools.

this USED to work up until very recently, and this is the convention used by countless projects.

Basically it is the stage after autogen.sh was run - but may not contain ALL files, stripping away dev only files and source control files (the list of source files in the distribution was controlled by configure.ac/makefile.am)"

"make dist" also makes some sanity checks (not as about the build environment - since the generated tarball is architecture/system independent) but as to the contents of the source directory.

--Ivan On 3/13/2017 3:57 PM, John P. Hartmann wrote:

Ivan, as for the tarball, I need to understand how you obtained it. I was assuming that you went to the github web page and clicked download zip. That is,

|https://github.com/hercules-390/hyperion/archive/master.zip |

If that is what you did, you got an object neither you nor I can create. It bears no relation to what |make dist| is assumed to do. I assume it is a tarball of the top source directory less the .git directory. I can find out exactly what it is if you feel that is important.

If someone (you, Roger) does |make dist| and then publishes whatever this process creates, it is of course a different kettle of fish.

This was the standard source release procedure up to 3.11.... (and possibly 3.12). —

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286132254, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW40vGxaJwniD1PLkyN6lMK9fHY5Qks5rlVlIgaJpZM4MbDu_.

mcisho commented 7 years ago

Oops, my apologies for leaving the char declaration and snprintf in the qeth.c register_mac() function. I had intended (still intend) to produce a message saying what MAC was being registered, but decided to do it another day, and didn't clean up properly.

Ian

ivan-w commented 7 years ago

Steve, John,

Why not use FC instead of COMP ? (FC's return code should suffice and shouldn't be NLS dependent)...

E:\hercules\src\hyperion>fc a.txt b.txt && echo 1 || echo 2 Comparaison des fichiers a.txt et B.TXT a.txt A B.TXT B A


2

E:\hercules\src\hyperion>

E:\hercules\src\hyperion>fc a.txt a.txt && echo 1 || echo 2 Comparaison des fichiers a.txt et A.TXT FC : aucune différence trouvée

1

E:\hercules\src\hyperion>

--Ivan

On 3/13/2017 3:50 PM, Stephen Orso wrote:

Hi Ivan:

The GetGitHash.cmd is sensitive to the Windows base language because it is checking the text of messages issued by the |comp| command, a Windows-provided utility. I have several terms I use to describe the functionality of Windows file compare utilities, but none are appropriate for a public forum. Or even polite private conversation.

I will investigate set language, but failing that, I will have to re-architect the file comparison step in GetGitHash.cmd.

In the meantime, if you wish to change line 150 in the original GetGitHash.cmd from:

|if "%%a" == "Files are different sizes." ( |

to

|if "%%a" == "Les fichiers sont de taille différente." ( |

you should be able to complete your build.

And I am embarrassed to admit that I see this issue was reported in the Hercules-390 forum in February at topic-81327 https://groups.yahoo.com/neo/groups/hercules-390/conversations/topics/81327. Ironically, the reporter is named Yvan. Missed that in the noise of the general group. And that was a real shame, as Yvan did a very nice job of diagnosing and documenting.

Best Regards, Steve Orso

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286130032, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW9na4N6_gw6tpFWB8CzfxQ09I_tfks5rlVemgaJpZM4MbDu_.

jphartmann commented 7 years ago

Steve, if the comment line is a problem, let us throw it away.

jphartmann commented 7 years ago

Ivan, how can we address your complaint about the tarball if we don't understand what it is?

And if you refuse to tell us how you built Hyperion, how can we approach whatever needs fixing in any sane way?

We understand the problems with 1Stop.

ivan-w commented 7 years ago

On 3/13/2017 5:03 PM, John P. Hartmann wrote:

Ivan, how can we address your complaint about the tarball if we don't understand what it is?

And if you refuse to tell us how you built Hyperion, how can we approach whatever needs fixing in any sane way?

We understand the problems with 1Stop.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286153772, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW2rB-OJiNTz71EI93Ku4y2toGz8Gks5rlWjAgaJpZM4MbDu_.

John,

I just explained....

Look at gcc, look at apache, look at about any project... look at hercules 3.12.. they ALL have a 'make dist' option which allows creating a source only/repository independent source distribution tar file.

google 'make dist'...

But then again, this is beyond the scope of the issue opened. I will eventually open a new issue regarding the loss of capability in the build system. (It is a low impact issue).

As far as the current issue is concerned, I do have a working, viable, NLS independent version of "GetGitHash.cmd" (the build is still failing but for another reason - related to what has also been discussed regarding qeth).

--Ivan

ivan-w commented 7 years ago

I'm getting :

Generating code e:\hercules\src\hyperion\qeth.c(531) : error C4702: unreachable code LINK : fatal error LNK1257: code generation failed NMAKE : fatal error U1077: 'link' : return code '0x4e9' Stop.

Is this related ?

--Ivan

On 3/13/2017 4:45 PM, mcisho wrote:

Oops, my apologies for leaving the char declaration and snprintf in the qeth.c register_mac() function. I had intended (still intend) to produce a message saying what MAC was being registered, but decided to do it another day, and didn't clean up properly.

Ian

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hercules-390/hyperion/issues/206#issuecomment-286147998, or mute the thread https://github.com/notifications/unsubscribe-auth/ABjMW8KWkOtCHfHs3rlPxkTz2X0mbTESks5rlWSWgaJpZM4MbDu_.

jphartmann commented 7 years ago

Related to what?

ivan-w commented 7 years ago

To previous messages issued on this thread/issue pertaining to issues with the qeth code.

These might have been spurious messages (but appear here nonetheless)

ivan-w commented 7 years ago

Commited a change to GetGitHash.cmd that uses FC instead of COMP to compare the 2 files.

Tried and works for me, and seem NLS independent enough.

--Ivan

srorso commented 7 years ago

Ivan:

How did you get FC to prevent false positives caused by changes in the leading timestamp comment line?

Neither FC nor COMP have the capability to skip the first 1-n lines in the files being compared. COMP does allow limitation of comparison to only the first 1-n lines(/n option). FC does not have a comparable option. So use of either FC or COMP would require analysis of results to determine if the compare failure was caused by the timestamp comment line at the beginning (always different) or something more substantive.

I was unable to find Microsoft documentation of the return codes for either FC or COMP, although a third-party site that I trust. (ss64.com) does. This inspired relocation of the timestamp comment to the end of commitinfo.h and was the basis for the test version I posted.

Best Regards, Steve Orso

ivan-w commented 7 years ago

I stripped most of the "COMP" related code (now it's just checking the 2 files compare or not). There might have been extra functionality in there, but I just made it match GetGitHash... There was something about Token:4-5 I could not figure out...

It's been stripped out, but should be easy to retrieve from git history if there is something amiss.

--Ivan

ivan-w commented 7 years ago

Good point steve.. I was just matching the linux version of GetGitHash.

Does this mean the Windows version has more functionality than the linux version (or am I missing something ? I didn't study the whole thing...

You are welcome to rollback my commit - but at least it works (the version information, however, may be incorrect)

jphartmann commented 7 years ago

The UNIX version of GetGitHash needs fixing as described above. It is a mistake to base any conclusions on its current contents.

srorso commented 7 years ago

Hi Ivan:

for /F "tokens=4-5" %%b in ("%%a") do ( is just a Windowsism to parse words 4 and 5 from string %%a into variables %%b and %%c. %%c is implicit. Reference: https://ss64.com/nt/for_cmd.html.

It can go in the rubbish heap. FC or COMP, it's not needed for a return code test-based script.

No need to roll back; I shall just tweak line 139. It's a pleasure to collaborate with you. Besides, you're right: it works now, even with false positives. It did not work before. Progress.

Hi John:

I am less sure that the open source script needs to be changed. It does not replace commitinfo.h if the values of the defines did not change, which suppresses a rebuild of everything that includes version.lo. It does not check or otherwise depend on the values of those defines. I think your code is correct (before and after my BSD/GNU portability change).

Best Regards, Steve Orso

ivan-w commented 7 years ago

Steve,

Glad you could find the root cause (NLS) and that we managed to find a decent (even if it's not perfect) resolution ! NLS was always a pain in the neck (reminds me trying to IPL a 4331 with VM/SP 4 with French NLS... and I spent 30 minutes trying to IPL the dang thing because it kept to asking me : "Voulez vous changer l'heure O/N". I kept typing O.... O... O.... and was always returned to the same question - until I realized, they translated the question and NOT the answer !) (I have so many NLS mishap stories, I could write a book)

Anyway, I guess once you are happy with how GetGitHash.cmd looks, the issue can be closed !

--Ivan

Peter-J-Jansen commented 7 years ago

Yes Ivan, I encountered the same problem. I commented records #518 and #531-#533 in “qeth.c” and the problem went away. I think Ian (mcisho) is already aware and will fix this.

Cheers,

Peter

From: Ivan Warren [mailto:notifications@github.com] Sent: Monday, 13 March, 2017 17:18 To: hercules-390/hyperion hyperion@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [hercules-390/hyperion] 1Stop fails to build on Windows 10 with VC 15 (version.c won't compile). There is also an issue with t531-533he UNIX build. (#206)

To previous messages issued on this thread/issue pertaining to issues with the qeth code.

These might have been spurious messages (but appear here nonetheless)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, https://github.com/hercules-390/hyperion/issues/206#issuecomment-286158511 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AHBVeEXGNzsCRapkr6tmtDnb2ZVzQjTdks5rlWxVgaJpZM4MbDu_ mute the thread. https://github.com/notifications/beacon/AHBVeCd8nGqgCc3m1aU6JBStS9EuFCUTks5rlWxVgaJpZM4MbDu_.gif

ivan-w commented 7 years ago

Closing this issue.

Albeit this fix may trigger extra builds, the build is now NLS safe.