[SERVER-18494] broken link on SSL Windows 64-bit 2008R2+ compile Created: 14/May/15  Updated: 15/Jul/20  Resolved: 15/May/15

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.3

Type: Bug Priority: Critical - P2
Reporter: Atul Kachru Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Related
related to SERVER-48691 Fix Ninja builds on Windows Enterpris... Closed
Backwards Compatibility: Fully Compatible
Operating System: Windows
Sprint: Platform 3 05/15/15
Participants:
Linked BF Score: 0

 Description   

FATAL LINE:
[2015/05/14 13:02:25.430] c:\data\mci\src\tmpn8oubx.lnk : fatal error LNK1170: line in command file contains 131071 or more characters

link:
https://evergreen.mongodb.com/task_log_raw/mongodb_mongo_master_windows_64_2k8_ssl_c03365803d286ee0382b5fd3447140e7017c07cc_15_05_14_16_19_02_compile_windows_64_2k8_ssl/0?type=T



 Comments   
Comment by Githook User [ 15/May/15 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-18494: Fix long link command lines on Windows
Branch: master
https://github.com/mongodb/mongo/commit/5b1bb5cf93b3e15393ea9118602d3d72e9703fff

Comment by Eric Milkie [ 14/May/15 ]

Yes. Look for the red-colored lines from the MCI output. Or, look for the line "scons: ***", which indicates the actual target that scons was building that caused the error. Since the build is multiprocess, program output from different streams mixes together.

Comment by Atul Kachru [ 14/May/15 ]

Ah, this is the source then:
[2015/05/14 13:02:25.430] c:\data\mci\src\tmpn8oubx.lnk : fatal error LNK1170: line in command file contains 131071 or more characters

Comment by Eric Milkie [ 14/May/15 ]

And the link line appears to be too long because we're not using --variant-dir with scons, for that particular builder. I think the other build variants are using it, though.

Comment by Eric Milkie [ 14/May/15 ]

That does not appear to be the cause of the problem. (Warnings are not fatal on Windows.)

The actual error appears to be that the link command line has now gotten too long, for some unit tests.

Comment by Atul Kachru [ 14/May/15 ]

Upgraded to a p2.
cc david.storch, ian@10gen.com

Generated at Thu Feb 08 03:47:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.