[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtags fail to process GCC source code
From: |
Hideki IWAMOTO |
Subject: |
Re: gtags fail to process GCC source code |
Date: |
Sun, 18 Nov 2007 03:46:58 +0900 |
Hi.
I fixed this bug.
http://cvs.savannah.gnu.org/viewcvs/global/libutil/xargs.c?cvsroot=global&r1=1.15&r2=1.16
The execution frequency of gtags-parser has increased a little.
==== Version 5.6.2 ====
$ rm -fr linux-2.6.23 ; tar xfj ~/download/linux/linux-2.6.23.tar.bz2 ; sync ;\
( cd linux-2.6.23 ; time gtags ; strace -c -f -F -q -S calls -e trace=process
gtags )
80.361u 10.712s 1:29.45 101.8% 0+0k 0+0io 0pf+0w
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
61.73 0.295462 1563 189 execve
0.10 0.000501 3 189 arch_prctl
37.88 0.181311 1929 94 clone
0.28 0.001326 14 94 wait4
------ ----------- ----------- --------- --------- ----------------
100.00 0.478600 566 total
==== CVS HEAD ====
$ rm -fr linux-2.6.23 ; tar xfj ~/download/linux/linux-2.6.23.tar.bz2 ; sync ;\
( cd linux-2.6.23 ; time gtags ; strace -c -f -F -q -S calls -e trace=process
gtags )
80.181u 11.048s 1:28.97 102.5% 0+0k 0+0io 0pf+0w
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
61.73 0.292725 1456 201 execve
0.11 0.000532 3 201 arch_prctl
37.87 0.179566 1796 100 clone
0.29 0.001382 14 100 wait4
------ ----------- ----------- --------- --------- ----------------
100.00 0.474205 602 total
On Thu, 15 Nov 2007 08:04:03 +0900, Shigio YAMAGUCHI wrote...
> Hi,
> I have added this report to GLOBAL's bug list.
> [http://www.gnu.org/software/global/bugs.html]
> Thank you!
>
> > gtags fail to process the newest GCC source code, it seems a bug of global.
> >
> > 1. check out gcc source code
> > svn co svn://gcc.gnu.org/svn/gcc/trunk gcc
> >
> > 2. Run gtags in the top directory of ./libjava/javax/swing/plaf
> >
> > 3. Following is the output
> > pc13% cd websrc/SRCS/opensrc/gcc/libjava/javax/swing/plaf
> > pc13% gtags
> > gtags: GPATH is corrupted.('./BorderUIResource.h' not found)
> > pc13%
> >
> > It seems that the file BorderUIResource.h has not been added to GPATH
> > database, but gtags-parser still generate tags which reference to this file,
> > it will cause gtags print out this error message then die.
> >
> > Maybe we can just ignore this error information and let gtags still does
> > some useful work.
> >
> > Although this. I still thank to this great package.
> >
> > --
> > Regards
> > Rongsong Shen
> --
> Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
>
>
> _______________________________________________
> Bug-global mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-global
----
Hideki IWAMOTO address@hidden