public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/26478]  New: [4.2 Regression] bootstrap fails with readonly source directory
@ 2006-02-27  3:27 jsm28 at gcc dot gnu dot org
  2006-02-27  3:29 ` [Bug bootstrap/26478] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-02-27  3:27 UTC (permalink / raw)
  To: gcc-bugs

Bootstrap (e.g. on i686-pc-linux-gnu) fails if the source directory is readonly
(if the individual files are readonly, chmod -R a-w srcdir).  To test this it
suffices to "chmod a-w gcc/unwind-generic.h" then bootstrap, and it fails with

cp ../../gcc-mainline/gcc/unwind-generic.h include/unwind.h
cp: cannot create regular file `include/unwind.h': Permission denied
make[3]: *** [stmp-int-hdrs] Error 1
rm fsf-funding.pod gfdl.pod cpp.pod gpl.pod gcov.pod gcc.pod
make[3]: Leaving directory `/home/jsm28/src/gcc-build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/jsm28/src/gcc-build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/jsm28/src/gcc-build'
make: *** [bootstrap] Error 2

because the previously copied file is readonly.  This appeared between revision
111294 and revision 111327 of trunk and is still present as of revision 111469.


-- 
           Summary: [4.2 Regression] bootstrap fails with readonly source
                    directory
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26478


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-03 18:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-27  3:27 [Bug bootstrap/26478] New: [4.2 Regression] bootstrap fails with readonly source directory jsm28 at gcc dot gnu dot org
2006-02-27  3:29 ` [Bug bootstrap/26478] " pinskia at gcc dot gnu dot org
2006-02-27  3:41 ` pinskia at gcc dot gnu dot org
2006-03-03  0:31 ` jsm28 at gcc dot gnu dot org
2006-03-03 18:21 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).