Closed
      
        Bug 940220
      
      
        Opened 11 years ago
          Closed 11 years ago
      
        
    
  
Build bustage on VS2012+ with ICU enabled - "mozjs.dll failed to build: fatal error LNK1319: 136 mismatches detected" 
    Categories
(Firefox Build System :: General, defect)
Tracking
(firefox28 verified)
        VERIFIED
        FIXED
        
    
  
        
            mozilla28
        
    
  
| Tracking | Status | |
|---|---|---|
| firefox28 | --- | verified | 
People
(Reporter: xavier114fch, Unassigned)
References
Details
Attachments
(2 files)
| 
        
        
         103.55 KB,
          text/x-log         
       | 
      Details | |
| 
        
        
         1.49 KB,
          patch         
       | 
      
           glandium
 :
              
              review-
           | 
      Details | Diff | Splinter Review | 
Using VS 2013 Ultimate and it fails to build mozjs.dll. Complete build log attached, and it seems to be ICU.
          Comment 1•11 years ago
           
         | 
      ||
More ICU fun.
          Updated•11 years ago
           
         | 
      
Severity: normal → blocker
Status: UNCONFIRMED → NEW
Ever confirmed: true
          Comment 2•11 years ago
           
         | 
      ||
Exact same error on VS2012 for me
          Updated•11 years ago
           
         | 
      
Summary: mozjs.dll failed to build: fatal error LNK1319: 136 mismatches detected → Build bustage on VS2012+ with ICU enabled - "mozjs.dll failed to build: fatal error LNK1319: 136 mismatches detected"
          Comment 3•11 years ago
           
         | 
      ||
        Attachment #8334909 -
        Flags: review?(ted)
          Updated•11 years ago
           
         | 
      
        Attachment #8334909 -
        Flags: review?(ted) → review?(mh+mozilla)
          Comment 4•11 years ago
           
         | 
      ||
Comment on attachment 8334909 [details] [diff] [review]
bug940220_vc12_icu
Review of attachment 8334909 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/configure.in
@@ +1656,3 @@
>              dnl http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
> +            CFLAGS="$CFLAGS -FS -Gw -MD"
> +            CXXFLAGS="$CXXFLAGS -FS -Gw -MD"
That's not going to fly. We're also building with -MDd on debug builds.
        Attachment #8334909 -
        Flags: review?(mh+mozilla) → review-
          Comment 5•11 years ago
           
         | 
      ||
Looks like $(RTL_FLAGS) should be passed to the icu build config.
          Comment 6•11 years ago
           
         | 
      ||
Apparently this was fixed by the backout of bug 912371.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Xavier, can you confirm this is now fixed for you in Firefox 28?
Flags: needinfo?(xavier114fch)
Thank you, Xavier.
Status: RESOLVED → VERIFIED
          status-firefox28:
          --- → verified
          Updated•7 years ago
           
         | 
      
Product: Core → Firefox Build System
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•