This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Andy, All, On Wednesday 02 March 2011 23:18:28 ANDY KENNEDY wrote: > Is this really necessary? Perhaps the do_extract was actually supposed > to chmod -R u+w .build/src/<whatever>, though as it stands right now, > EACH package that is unpacked then causes a chmod on the WHOLE src > directory. Then, at the end of the unpack process, YET ANOTHER chmod is > run on that same directory. Are you referring to: # hg blame -l scripts/functions [--SNIP--] 1208:611: # Some tarballs have read-only files... :-( 1258:643: # Because of nochdir, we don't know where we are, so chmod all 1258:644: # the src tree 1271:645: CT_DoExecLog DEBUG chmod -R u+w "${CT_SRC_DIR}" [--SNIP--] If so, here are the reasons: - some package do have RO files - so we can apply patches, all files shall be RW - for the C libraries addons (glibc ports, uClibc locales...), we don't really know where CWD is - some package does not extract in a sub-directory of their base name ( eg. cloog-ppl 0.15.3 extracts into cloog-ppl/ ) So we can't know for sure what sub-dir to chmod. The only systematic solution is to chmod the whole source tree... Sad, isn't it? > Vinny: "I think I get the point." <- My Cousin Vinny (good flick) Hello Vinny! ;-) > Could this not be changed to recursively change the mode of that > directory one time at the end? Patches are applied just after the extract pass. So, given the above reasons, that's not possible to chmod once at the end. > My frustration lies in that I'm wiping the entire .build dir each time > I build (attempting to run down the issue of why -mbig-endian is left > out of the libc-start-files build) and I wait for a long time for the > last few iterations of chmod to run. . . Yes, I can understand. I fell your pain, as I once had to build on an sshfs mountpoint, through my WiFi. And it was... sloowwww... aas... he...lll... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |