-
Notifications
You must be signed in to change notification settings - Fork 0
IrcLog2010 07 20
16:50:31 * Garyo (chatzilla@209-6-36-50.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com) has joined #SCONS 16:55:03 * jason_at_intel (chatzilla@185.sub-75-205-7.myvzw.com) has joined #SCONS 16:55:21 * bdbaddog (~bdeegan@adsl-71-131-10-196.dsl.sntc01.pacbell.net) has joined #SCONS 17:03:18 * sgk (sgk@nat/google/x-vdmoydnhvesvboyw) has joined #SCONS 17:05:37 <GregNoel> Are we ready to go? 17:05:44 i am 17:05:47 <jason_at_intel> Hi Steve, think we found the cause of the temp file issue 17:05:53 ready when everyone else is 17:05:54 <jason_at_intel> I am ready 17:05:57 <GregNoel> 1938 Gary took it 17:05:57 <GregNoel> 1891 17:06:06 i saw your mail, that sounds exactly like what's going on 17:06:42 1891? 17:07:01 <GregNoel> That's what's on the spreadsheet. 17:06:56 sorry, that reply was to jason 17:07:00 <jason_at_intel> I think it just needs a fix to mslink 17:07:08 jason, let's stick to the issue list and we can discuss the tempfile thing in turn 17:07:21 or at the end if we haven't gotten to it 17:07:17 <jason_at_intel> yep 17:07:27 <jason_at_intel> so 1891 17:07:34 <jason_at_intel> I think we need to fix mslink.py 17:07:41 <jason_at_intel> and this will work 17:08:12 that makes sense 17:08:07 Agree it can't be that hard. Who has time? Jason, would you like to take a crack at it? 17:08:19 <jason_at_intel> I would be happy to 17:08:27 2.1 p3 jason? 17:08:33 <jason_at_intel> I will try it out in the Parts mslink version 17:08:53 <jason_at_intel> that should be easy to map back to the SCons version 17:09:10 <jason_at_intel> since it just a new set of actions 17:08:59 cool, thanks 17:09:03 2.1 p3 jason sounds good to me 17:09:06 <GregNoel> done 17:09:08 <GregNoel> 2153 17:09:31 2153: this is the email jason was referring to 17:09:36 <jason_at_intel> so I sent a mail on this to steve.. summarized here 17:09:54 because long-line tempfiles get created as as a side effect of expanding ${TEMPFILE} in the command line 17:10:12 the file gets created when we expand the line for display, too 17:10:32 and since that display expansion doesn't actually get executed, the tempfile deletion never happens 17:10:51 hmm, makes sense. 17:10:18 <jason_at_intel> not sure on what is the best fix... thinking about MD5 the string to store the tempfile name in the env 17:11:08 Jason, do you or your intern have cycles to work w/me on fixing this? 17:11:16 <jason_at_intel> Yep 17:11:20 it might be a little involved, because it's not happening at the right time 17:11:40 but i can provide direction, and if you two have time for the coding+testing, it'll go quicker than if it's on my plate 17:11:43 okay, cool 17:11:56 <jason_at_intel> need to know if the env we pass to the action is unique or not 17:12:02 2.1 p2 jason then 17:12:10 +1 17:12:08 <GregNoel> done 17:12:14 <GregNoel> 2575 I can post the long comment, but I have commitments that will prevent me from taking much part in the discussion. 17:12:44 <jason_at_intel> honestly we have this fixed in Parts without a chdir 17:13:02 for zip? or a more general fix? 17:13:07 <jason_at_intel> it was so critical, we just made our own zipfile builder 17:13:10 I don't think it's too involved, but that's cause I'm pretty sure just passing a prefix or prefix to eliminate to the zipfile stuff is the way to go 17:13:20 <jason_at_intel> zipfile, tarfile bz2file 17:13:31 <jason_at_intel> it all the same basic code 17:14:00 <jason_at_intel> we can review it when i visit 17:14:28 let's do that 17:14:34 I thought at least zipfile can already run w/o chdir 17:14:32 <jason_at_intel> I don't know if greg is in the CA area or not 17:14:41 <jason_at_intel> I take it he would want to have a say 17:14:40 greg's in San Diego 17:14:56 <jason_at_intel> that pretty far south.. correct? 17:15:08 yes, prohibitively so 17:15:27 <jason_at_intel> :-(.. want to meet the master himself :-) 17:15:31 but we could at least start looking at it 17:15:36 <jason_at_intel> yep 17:15:41 How about Greg posting the long comment anyway so we can discuss the interface in the Zip builder, then use your code to implement? 17:15:51 ++ 17:15:59 <GregNoel> Garyo, good idea 17:16:08 <jason_at_intel> sounds good 17:16:23 leave it owned as issues@scons and revisit it after discussion? 17:16:30 I'm ok w/ that 17:16:32 <GregNoel> What to do with the issue in the meantime? 17:16:46 nothing? 17:17:02 <GregNoel> ... with a meaning of review next time? 17:16:59 <jason_at_intel> is it research? 17:17:22 yeah, either research or leave it as is, so we revisit it next time 17:17:23 I'm ok w/ research jason too -- that way we'll review it. 17:17:47 <GregNoel> research p1 then? 17:18:02 done 17:18:02 <GregNoel> Who should own it? 17:18:18 GregNoel until you post the comment, then re-assign to Jason? 17:18:19 Jason imho. Jason, when's your meeting with sk? 17:18:38 <jason_at_intel> aug 18-19 17:19:10 <jason_at_intel> I get there aug 17.. . I forget what time. 17:19:16 <jason_at_intel> leave early on saturday 17:19:27 Anyway we have plenty of time to discuss on the ML 17:18:53 ok 17:18:57 ok 17:19:01 <GregNoel> done 17:19:04 <GregNoel> 1450 17:19:22 <jason_at_intel> ya so this bug 17:19:54 1450: Jason, do you have anything that would actually break? 17:19:56 <jason_at_intel> My concern is that the fix seems tied to a given version of mslink 17:20:13 <jason_at_intel> what about other tools? 17:20:23 Yeah, it's a fair point -- newlines in a command line makes me nervous too, even if it works now 17:20:38 <jason_at_intel> I might be missing something. 17:20:46 <jason_at_intel> but i think more testing is needed 17:21:02 Could have two versions TEMPFILE and TEMPFILESPACES or something (yuck) 17:21:06 <jason_at_intel> I am under the view that minus link 17:21:11 <jason_at_intel> most tools would take a file in a different way 17:21:09 good lord, a command line that actually blows out the temp file limit? 131K characters? 17:21:34 sgk: I think it blows out the line length limit, hence the newlines. 17:21:54 and yes, that's a big cmd line! :-/ 17:22:02 <jason_at_intel> per line 17:22:03 the CMD line length limit is already exceeded, that's why it's getting put in the temp file 17:22:12 i'm trying to figure out if there are two limits at work here 17:22:43 or at least, our notion of the CMD line length is exceeded 17:23:01 (bus coming in 1-2 minutes, i'll have an interrupt) 17:23:12 The ticket says it generates LNK1170, a linker error (not cmd.exe) 17:23:35 good point 17:23:46 it's the linker that interprets the @tmpfile thing 17:23:57 gotta run, biab 17:23:59 * sgk has quit (Quit: sgk) 17:24:02 <jason_at_intel> the fix was to make a new line before that link limit was hit 17:25:28 yes -- the fix in the post is to just join all the elements with newlines... 17:25:57 I just googled it and even vs2010 has this limit (128k chars on a line) and the suggested workaround is the same, use newlines 17:26:17 <jason_at_intel> I believe the icl, cl and link tools handle input files in this format 17:27:05 * sgk (sgk@67.218.107.184) has joined #SCONS 17:27:16 hello again 17:27:18 <GregNoel> So what to do with the issue? We've pretty much reached the discussion limit. 17:27:19 right. Your point is that TEMPFILE could be used for other tools which might barf on newlines, right? 17:27:31 <jason_at_intel> yep 17:27:47 I think either (a) an arg to TEMPFILE for what spacer to use, or (b) two versions of TEMPFILE 17:28:05 <jason_at_intel> ... I think it would be easy to tweak tempfile to workaround this however.. I think 17:28:20 yeah, we can make TEMPFILE configurable in some way 17:28:31 that'd be my 1st choice. 17:28:58 <jason_at_intel> if we can pass in a separator value to be used to the $Tempfile call.. i do stuff like this in Parts with the mappers objects 17:29:07 <GregNoel> So what to do with the issue? We've pretty much reached the discussion limit. 17:29:23 jason 2.1 p3 ? 17:29:28 <jason_at_intel> Since I seem to be fixing it.. I can take a stab at it 17:29:40 Jason, if you'll investigate it that'd be awesome. 17:29:46 <GregNoel> done 17:29:52 <GregNoel> 2281 I'll go with research sk; what priority? 17:30:11 i think it's a corner case, so I'd suggest p4 17:30:19 fine w/ me 17:30:24 <GregNoel> done 17:30:34 <GregNoel> 2285 17:30:53 2.1 p4 sk 17:31:09 <GregNoel> done 17:31:11 <GregNoel> 2380 17:31:11 I think it has to be -- only you understand that stuff 17:31:19 yeah 17:31:21 :-( 17:31:44 <jason_at_intel> I woudl want to talk to you about this as well when i visit 17:31:54 2380? Is it controversial? 17:31:55 2380: 2.1 p4 ... who? 17:32:05 <jason_at_intel> I want Scons to handle symlink and hardlinks on windows 17:32:19 <jason_at_intel> I Have it working.. but it really needs fixes in SCons 17:33:04 <jason_at_intel> then there is permission issues on windows.. so link might have to copy 17:33:20 I could do it but not for 2.1. If it's me, it'd be 2.2 p3 garyo 17:33:58 (2380, not symlinks on windows of course) 17:34:03 since it's low priority, 2.x p3 and punt on assigning someone for now? 17:34:46 <GregNoel> Hearing no objection, done 17:34:50 ok 17:34:49 <GregNoel> 1745 17:35:09 see my comment 17:35:16 <jason_at_intel> ya.. but the issue is related to the File. that needs to replace all os. calls 17:35:38 <jason_at_intel> :-) 17:35:38 we've been loading up jason 17:35:39 jason, I think 1745 can be fixed w/o any of that. 17:35:54 i see bdbaddog's signed in, is bill here? 17:35:59 yes 17:36:48 bill, any of these look up your alley? 17:36:20 <jason_at_intel> why i think making all files precious is better than deleting them by default 17:37:08 ok, but the minimal change for 1745 is just to make the .ilk file a side effect. 17:37:25 ah 17:37:25 <jason_at_intel> so is there anyway we can modify the object builder on windows? 17:37:29 Making incremental links work should maybe be a separate ticket. 17:37:29 so mslink emitter work then right? 17:37:31 <jason_at_intel> I am not sure where that is 17:37:53 bdbaddog: seems like it to me 17:37:54 agree w/garyo re: a separate ticket for incremental links 17:38:11 <jason_at_intel> so this bug directly, is just a addition to .ilk files 17:38:16 <jason_at_intel> as a sideeffect 17:38:24 <jason_at_intel> given that the flags support it 17:38:31 are the .ilk's always generated? 17:38:45 or do some ms flags enable/disable them? 17:38:46 <jason_at_intel> there is some flag to force no incremental build 17:38:47 unless /noincremental or something like that 17:39:08 but I think it's ok to declare a side effect that doesn't get generated 17:39:12 (right?) 17:39:28 i think so 17:39:38 <GregNoel> I think so, too 17:39:18 o.k. I can take it then. 17:39:27 thanks! 17:39:38 if the scope is .ilk's get deleted with --clean afterwards. 17:39:54 agreed, minimal scope 17:39:59 yeah, if it turns into something bigger than that, we should re-review it 17:40:04 <GregNoel> milestone and priority? 17:40:19 2.1 p4, imho 17:41:35 sounds good, bdbaddog++ 17:40:23 the only pitfall i can think of is if non-existent side-effect files trigger unnecessary rebuilds 17:40:29 i don't think they do, but i don't remember 17:40:47 sgk: 99% sure you're right 17:40:50 sgk: I'm pretty sure not. 17:41:06 <GregNoel> sgk, I'm pretty sure they don't; that's why Russel uses them in the LaTeX builder. 17:40:45 we should set a target date for 2.1 17:40:23 when are we thinking 2.1 will be? 17:40:50 discuss after the issues? 17:41:39 <GregNoel> milestone and priority? 17:41:41 roadmap says 2.1 rc sept, 2.1 final oct. 17:42:04 1745: 2.1 p4 bdbaddog 17:42:13 <GregNoel> done 17:42:18 <jason_at_intel> ahh the option is /INCREMENTAL 17:42:51 why'd they pick an obscure option like that to control incremental linking? :-) 17:42:16 <GregNoel> 2355 17:43:12 2355 clearly needs research. 17:43:34 <jason_at_intel> I agree 17:44:49 <jason_at_intel> worse case the builder can add a cd