public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/17991] New: [4.0 Regression] Two-process fixincludes broken: pz_mn_name_pat undefined
@ 2004-10-14  7:04 aaronavay62 at aaronwl dot com
  2004-10-14  7:06 ` [Bug other/17991] " aaronavay62 at aaronwl dot com
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: aaronavay62 at aaronwl dot com @ 2004-10-14  7:04 UTC (permalink / raw)
  To: gcc-bugs

This patch appears to have broken two-process fixincludes: 
<http://gcc.gnu.org/ml/gcc-patches/2004-08/msg02301.html>.  When attempting to 
link applyfix.exe, link fails because pz_mn_name_pat is undefined.

The two-process mode is only used for MS-DOS and BeOS, which is probably why 
noone noticed.  I noticed because it appears that, other than this and some 
other soon-to-be-fixed problems, two process fixincludes also works for 
Windows.

The problem is that mn_name_pat was made into an environment variable, which 
are only defined in fixincl.c, which is only included in the fixincl 
executable.  However, it is used in fixlib.c, which is included in the 
applyfix executable in a two-process build.

As I'm not really familiar with fixincludes, I can't say how this should be 
fixed.  It can be worked around by copying the environment variable 
definitions and initializations from fixincl.c to the SEPARATE_FIX_PROC 
section of fixfixes.c, but I'm not sure this is appropriate as applyfix 
doesn't need any of these environment variables otherwise.  Perhaps just this 
single environment variable could be defined.

-- 
           Summary: [4.0 Regression] Two-process fixincludes broken:
                    pz_mn_name_pat undefined
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aaronavay62 at aaronwl dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i?86-*-mingw32, i?86-*-msdosdjgpp, *-*-beos*


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


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

end of thread, other threads:[~2004-10-27 14:44 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-14  7:04 [Bug other/17991] New: [4.0 Regression] Two-process fixincludes broken: pz_mn_name_pat undefined aaronavay62 at aaronwl dot com
2004-10-14  7:06 ` [Bug other/17991] " aaronavay62 at aaronwl dot com
2004-10-14  7:15 ` aaronavay62 at aaronwl dot com
2004-10-14  8:16 ` bonzini at gcc dot gnu dot org
2004-10-14 11:46 ` bonzini at gcc dot gnu dot org
2004-10-14 13:15 ` pinskia at gcc dot gnu dot org
2004-10-14 14:41 ` pavenis at latnet dot lv
2004-10-15  7:58 ` cvs-commit at gcc dot gnu dot org
2004-10-15  8:00 ` bonzini at gcc dot gnu dot org
2004-10-15 11:51 ` pinskia at gcc dot gnu dot org
2004-10-16  0:35 ` aaronavay62 at aaronwl dot com
2004-10-19 19:25 ` aaronavay62 at aaronwl dot com
2004-10-20  6:54 ` bonzini at gcc dot gnu dot org
2004-10-27  8:22 ` bonzini at gcc dot gnu dot org
2004-10-27 13:46 ` bkorb at veritas dot com
2004-10-27 14:43 ` cvs-commit at gcc dot gnu dot org
2004-10-27 14:44 ` bonzini 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).