[M3devel] What is going on with m3-sys/m3cc/gcc-4.7.gcc/m3cg?
Rodney M. Bates
rodney_bates at lcwb.coop
Tue Jul 2 00:40:41 CEST 2013
After cvs update, in the head, if I edit m3-sys/m3cc/gcc-4.7/gcc/m3cg/parse.c, I see
rodney at allegheny:~/proj/m3/cm3-new/cm3/m3-sys/m3cc/gcc-4.7/gcc/m3cg$ ll
total 792
-rw-r--r-- 1 rodney rodney 1276 2011-05-19 10:58 config-lang.in
-rw-r--r-- 1 rodney rodney 1357 2006-09-01 18:16 lang.opt
-rw-r--r-- 1 rodney rodney 1524 2003-01-05 17:19 lang-options.h
-rw-r--r-- 1 rodney rodney 1002 2006-09-01 18:16 lang-specs.h
-rw-r--r-- 1 rodney rodney 12875 2013-02-08 09:49 m3cg.h
-rw-r--r-- 1 rodney rodney 11847 2010-11-15 04:09 m3-def.h
-rw-r--r-- 1 rodney rodney 2273 2011-05-19 10:58 m3gty43.h
-rw-r--r-- 1 rodney rodney 756 2013-02-08 09:49 m3-parse.h
-rw-r--r-- 1 rodney rodney 3497 2013-05-09 11:46 Make-lang.in
-r--r--r-- 1 rodney rodney 183226 2013-07-01 17:13 parse.c
-rw-r--r-- 1 rodney rodney 182831 2013-05-09 13:10 parse.c.~1~
-rw-r--r-- 1 rodney rodney 182831 2013-07-01 17:11 parse.c.~2~
-rw-r--r-- 1 rodney rodney 182831 2013-07-01 17:11 parse.c.temp
where parse.c is changed.
When I recompile, (using scripts/do-cm3-front.sh), I see parse.c being recompiled, and
rodney at allegheny:~/proj/m3/cm3-new/cm3/m3-sys/m3cc/AMD64_LINUX/gcc/m3cg$ ls -l
total 1944
-rw-r--r-- 1 rodney rodney 1982736 2013-07-01 17:14 parse.o
rodney at allegheny:~/proj/m3/cm3-new/cm3/m3-sys/m3cc/AMD64_LINUX/gcc/m3cg$ strings parse.o | grep parse.c
../../gcc-4.7/gcc/m3cg/parse.c
But parse.o has not changed (I can verify this by running gdb on cm3cg), and:
rodney at allegheny:~/proj/m3/cm3-new/cm3/m3-sys/m3cc/gcc-4.7/gcc/m3cg$ ll
total 792
-rw-r--r-- 1 rodney rodney 1276 2011-05-19 10:58 config-lang.in
-rw-r--r-- 1 rodney rodney 1357 2006-09-01 18:16 lang.opt
-rw-r--r-- 1 rodney rodney 1524 2003-01-05 17:19 lang-options.h
-rw-r--r-- 1 rodney rodney 1002 2006-09-01 18:16 lang-specs.h
-rw-r--r-- 1 rodney rodney 12875 2013-02-08 09:49 m3cg.h
-rw-r--r-- 1 rodney rodney 11847 2010-11-15 04:09 m3-def.h
-rw-r--r-- 1 rodney rodney 2273 2011-05-19 10:58 m3gty43.h
-rw-r--r-- 1 rodney rodney 756 2013-02-08 09:49 m3-parse.h
-rw-r--r-- 1 rodney rodney 3497 2013-05-09 11:46 Make-lang.in
-rw-r--r-- 1 rodney rodney 182831 2013-07-01 17:14 parse.c
-rw-r--r-- 1 rodney rodney 182831 2013-05-09 13:10 parse.c.~1~
-rw-r--r-- 1 rodney rodney 182831 2013-07-01 17:11 parse.c.~2~
-rw-r--r-- 1 rodney rodney 182831 2013-07-01 17:14 parse.c.temp
My edits to parse.c have been undone! If I recreate the edited parse.c,
then chmod 444 parse.c and recompile, it has no effect. parse.c still
gets changed back to the unedited version.
Moreover, my directory m3-sys/m3cc/gcc-4.7/gcc/m3cg has no CVS subdirectory
(I have no idea how long this has been the case), and I have not been able
to get cvs to admit to having any awareness of this directory or anything in it,
using cvs log, cvs update or cvs checkout. I even tried manually creating a
CVS subdirectory, but without getting cvs to tell me something about its current
version number of parse.c, I can't create a line in CVS/Entries for it, and cvs
continues to claim total ignorance of this file.
What is going on here? Is parse.c (and all of m3cg) being automatically created?
From where?
cvs update -P does not remove m3cg, BTW.
More information about the M3devel
mailing list