public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/37210]  New: Prohibit Default Builds in the GCC Source Tree
@ 2008-08-23 11:52 tom dot browder at gmail dot com
  2008-08-24 21:30 ` [Bug other/37210] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: tom dot browder at gmail dot com @ 2008-08-23 11:52 UTC (permalink / raw)
  To: gcc-bugs

The gcc configuration instructions *highly* recommend building outside the gcc
source tree, and often, following the gcc-help list, I see that doing so causes
problems.  I propose that the build process be modified so as to default to
*failing* to build under those circumstances.  Add a configuration variable, if
necessary, to allow such a build.

In the meantime, I recommend that the "highly" recommendation be changed to
some more mandatory language unless the user is a gcc developer.


-- 
           Summary: Prohibit Default Builds in the GCC Source Tree
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tom dot browder at gmail dot com


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


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

* [Bug other/37210] Prohibit Default Builds in the GCC Source Tree
  2008-08-23 11:52 [Bug other/37210] New: Prohibit Default Builds in the GCC Source Tree tom dot browder at gmail dot com
@ 2008-08-24 21:30 ` pinskia at gcc dot gnu dot org
  2008-08-24 22:08 ` tom dot browder at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-24 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-24 21:29 -------
Well it is not prohibited, it is supported to do the build in the src
directory, just not recommended as it is not tested really and can (I think
4.3.x has a bug dealing with fixed includes) be broken even for releases.


-- 


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


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

* [Bug other/37210] Prohibit Default Builds in the GCC Source Tree
  2008-08-23 11:52 [Bug other/37210] New: Prohibit Default Builds in the GCC Source Tree tom dot browder at gmail dot com
  2008-08-24 21:30 ` [Bug other/37210] " pinskia at gcc dot gnu dot org
@ 2008-08-24 22:08 ` tom dot browder at gmail dot com
  2008-08-25 20:42 ` manu at gcc dot gnu dot org
  2009-09-21 16:44 ` rwild at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: tom dot browder at gmail dot com @ 2008-08-24 22:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tom dot browder at gmail dot com  2008-08-24 22:07 -------
Andrew, you're right--it's not prohibited, but my argument is that it should be
prohibited as the default build (but have a specific configure variable to
allow it), at least until it is tested.  Over the years I've watched people
have a build  problem, and the first thing the gurus tell them is *don't* build
in the gcc tree, so this enhancement would at least get newbies' attention
instead of continuing to waste help bandwidth.  Note the recommendation to not
build in the tree has been around I'll guess for at least ten years.  And with
the complexity of the build I doubt that the tested in-tree build will ever be
a requirement for a release.

I envision a short but succinct message telling about the prohibition and
adding a link to more detail.  The installation instructions should perhaps
have text enhancement or other edits to highlight the reason for the
prohibition.  


-- 


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


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

* [Bug other/37210] Prohibit Default Builds in the GCC Source Tree
  2008-08-23 11:52 [Bug other/37210] New: Prohibit Default Builds in the GCC Source Tree tom dot browder at gmail dot com
  2008-08-24 21:30 ` [Bug other/37210] " pinskia at gcc dot gnu dot org
  2008-08-24 22:08 ` tom dot browder at gmail dot com
@ 2008-08-25 20:42 ` manu at gcc dot gnu dot org
  2009-09-21 16:44 ` rwild at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-08-25 20:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from manu at gcc dot gnu dot org  2008-08-25 20:41 -------
I think this is a great idea. A good error with a long explanation will save a
lot of time for a lot of people. I don't think you even need the configure
option to allow it. I cannot see why anyone would need to build in the source
directory.

Care to provide a patch?


-- 


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


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

* [Bug other/37210] Prohibit Default Builds in the GCC Source Tree
  2008-08-23 11:52 [Bug other/37210] New: Prohibit Default Builds in the GCC Source Tree tom dot browder at gmail dot com
                   ` (2 preceding siblings ...)
  2008-08-25 20:42 ` manu at gcc dot gnu dot org
@ 2009-09-21 16:44 ` rwild at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: rwild at gcc dot gnu dot org @ 2009-09-21 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rwild at gcc dot gnu dot org  2009-09-21 16:44 -------
With PR 35619 fixed in trunk it works fine for me to build in the source tree.
Feel free to Cc: me on new bugs arising from an in-tree build.
(Leaving bug open as it addresses 4.4 not trunk.)


-- 


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


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

* [Bug other/37210] Prohibit Default Builds in the GCC Source Tree
       [not found] <bug-37210-4@http.gcc.gnu.org/bugzilla/>
@ 2010-09-26 17:48 ` rwild at gcc dot gnu.org
  0 siblings, 0 replies; 6+ messages in thread
From: rwild at gcc dot gnu.org @ 2010-09-26 17:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2010-09-26 13:44:43 UTC ---
status update: <http://gcc.gnu.org/ml/gcc-patches/2010-09/msg02033.html>.


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

end of thread, other threads:[~2010-09-26 13:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-23 11:52 [Bug other/37210] New: Prohibit Default Builds in the GCC Source Tree tom dot browder at gmail dot com
2008-08-24 21:30 ` [Bug other/37210] " pinskia at gcc dot gnu dot org
2008-08-24 22:08 ` tom dot browder at gmail dot com
2008-08-25 20:42 ` manu at gcc dot gnu dot org
2009-09-21 16:44 ` rwild at gcc dot gnu dot org
     [not found] <bug-37210-4@http.gcc.gnu.org/bugzilla/>
2010-09-26 17:48 ` rwild at gcc dot gnu.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).