[EMAIL PROTECTED] trunk]$ ../trunk/configure --enable-languages=c,fortran
--prefix=/home/wf/local
[EMAIL PROTECTED] trunk]$ make

[snip]

make[3]: Entering directory `/home/wf/svngcc/trunkbld/libiberty'
if [ x"" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -I. -I../../trunk/libiberty/../include  -W -Wall
-pe
dantic -Wwrite-strings -Wstrict-prototypes  ../../trunk/libiberty/pexecute.c -o
pic/pexecute.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -I. -I../../trunk/libiberty/../include  -W -Wall
-peda
ntic -Wwrite-strings -Wstrict-prototypes ../../trunk/libiberty/pexecute.c -o
pex
ecute.o
../../trunk/libiberty/pexecute.c: In function `pwait':
../../trunk/libiberty/pexecute.c:106: parse error before "return"
make[3]: *** [pexecute.o] Error 1
make[3]: Leaving directory `/home/wf/svngcc/trunkbld/libiberty'
make[2]: *** [all-stage1-libiberty] Error 2
make[2]: Leaving directory `/home/wf/svngcc/trunkbld'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/wf/svngcc/trunkbld'
make: *** [all] Error 2

I think this is caused by a typos error in libiberty/pexecute.c. Doesn't anyone
else see it?

The patch:

Index: libiberty/pexecute.c
===================================================================
--- libiberty/pexecute.c        (revision 111325)
+++ libiberty/pexecute.c        (working copy)
@@ -102,7 +102,7 @@ pwait (int pid, int *status, int flags A
       vector = XNEWVEC (int, idx);
       if (!pex_get_status (pex, idx, vector))
        {
-         free (vector)
+         free (vector);
          return -1;
        }
       *status = vector[pid];





Best Regards,
Feng Wang

--
Creative Compiler Research Group,
National University of Defense Technology, China.


        

        
                
___________________________________________________________ 
雅虎1G免费邮箱百分百防垃圾信 
http://cn.mail.yahoo.com/

Reply via email to