MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031628Community[OCCT] OCCT:Configurationpublic2020-06-25 11:232020-06-26 15:10
Reporterkgv 
Assigned Tokgv 
PrioritynormalSeveritymajor 
StatusresolvedResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 7.4.0 
Target Version[OCCT] 7.5.0*Fixed in Version 
Summary0031628: Configuration - Visual Studio 2019 compiler hangs on building 32-bit target
DescriptionUsers have reported the issue with VS2019 building 32-bit targets:
https://www.opencascade.com/content/visual-studio-2019-version-1644-hangs-when-building-occ [^]

The bug has been confirmed by MSFT and should be expected to be fixed in the next VS2019 update:
https://developercommunity.visualstudio.com/content/problem/1082623/infinite-compilation-using-stdstable-sort.html?childToView=1091245#comment-1091245 [^]

Let see how soon it will be fixed and consider pushing one of available workarounds in case if it will come later than OCCT 7.5.0 release.
Steps To ReproduceBuild OCCT with MS Visual Studio 2019 in "Release" configuration of "Win32" platform with Whole Program Optimization disabled (it can be enabled with /GL command line key for compiler and /LTCG one for linker). The process of compilation is endless.
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
(0092710)
tizmaylo (developer)
2020-06-25 11:46

As for the workaround suggested by MSFT, __declspec (noinline) should be added before the declaration of the method NCollection_Vector::Iterator::Differ().
(0092750)
git (administrator)
2020-06-26 10:38

Branch CR31628 has been created by tizmaylo.

SHA-1: 31e189bc74bb3048652422447979c7dc9f392961


Detailed log of new commits:

Author: tiv
Date: Fri Jun 26 10:32:43 2020 +0300

    0031628: Configuration - Visual Studio 2019 compiler hangs on building 32-bit target
    
    The workaround for a bug occurred in MS Visual Studio 2019 / Win32 / Release configuration with disabled Whole Program Optimization is implemented.
    This workaround was suggested by MSFT team: https://developercommunity.visualstudio.com/content/problem/1082623/infinite-compilation-using-stdstable-sort.html?childToView=1091245#comment-1091245 [^]
(0092757)
tizmaylo (developer)
2020-06-26 13:00

Patch is ready for review: http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31628-master-TIV/view/ALL/ [^]

OCCT branch: CR31628.
Products branch: master.

- Issue History
Date Modified Username Field Change
2020-06-25 11:23 kgv New Issue
2020-06-25 11:23 kgv Assigned To => bugmaster
2020-06-25 11:24 kgv Assigned To bugmaster => kgv
2020-06-25 11:46 tizmaylo Note Added: 0092710
2020-06-26 10:38 git Note Added: 0092750
2020-06-26 13:00 tizmaylo Note Added: 0092757
2020-06-26 13:02 tizmaylo Status new => resolved
2020-06-26 13:02 tizmaylo Steps to Reproduce Updated View Revisions
2020-06-26 15:10 tizmaylo Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker