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

* [Bug bootstrap/26478] [4.2 Regression] bootstrap fails with readonly source directory
  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 ` pinskia at gcc dot gnu dot org
  2006-02-27  3:41 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27  3:29 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
   Target Milestone|---                         |4.2.0


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


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

* [Bug bootstrap/26478] [4.2 Regression] bootstrap fails with readonly source directory
  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
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-27  3:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-27 03:30 -------
Looks like this was introduced by:
+2006-02-20  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR bootstrap/25476
+
+       * Makefile.in (LDFLAGS): Define from autoconf substitution.
+
+       * Makefile.in (BOOTSTRAPPING): New.
+       (quickstrap): New definition if BOOTSTRAPPING=yes.
+
+       * Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages.
+       * configure.ac: Substitute all_selected_languages with the languages
+       that were configured.  For all the other variables except
+       lang_specs_files, include all the languages in the tree.
+       * configure: Regenerate.
+
+       * Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory,
+       if there is one.  Run the commands to run fixincludes in the same
+       subshell.
+
+       * doc/makefile.texi: Document new makefile targets from toplevel
bootstrap.
+       * doc/install.texi: Document exact conventions for searching target
tools.
+       Document --with-build-time-tools.  Document toplevel bootstrap. 
Document
+       something more about building an Ada cross-compiler.  Don't list GNU
Make
+       requirements which affect all platforms.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini at gnu dot org


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


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

* [Bug bootstrap/26478] [4.2 Regression] bootstrap fails with readonly source directory
  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
  3 siblings, 0 replies; 5+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-03-03  0:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jsm28 at gcc dot gnu dot org  2006-03-03 00:31 -------
Subject: Bug 26478

Author: jsm28
Date: Fri Mar  3 00:31:38 2006
New Revision: 111662

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111662
Log:
        PR bootstrap/26478
        * Makefile.in (stmp-int-hdrs): Remove include/unwind.h before
        copying over it.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in


-- 


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


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

* [Bug bootstrap/26478] [4.2 Regression] bootstrap fails with readonly source directory
  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
                   ` (2 preceding siblings ...)
  2006-03-03  0:31 ` jsm28 at gcc dot gnu dot org
@ 2006-03-03 18:21 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-03 18:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-03-03 18:21 -------
Fixed, confirmed fixed via Joseph S. Myers on IRC.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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).