cvs tag RELENG_4_8 won't compile (buildworld)
Thomas Novin
thnov at xyz.pp.se
Thu Jul 10 05:15:28 PDT 2003
>Currently on FBSD 4.3-SEC p22.
>
>Trying to do a buildworld fails. Only NOPROFILE=true in /etc/make.conf.
>Fails at same place every time I run (eg. no hardware error). Ran cvsup
>with tag RELENG_4_8 yesterday. System is PII 233 MHz.
>
>===> gnu/usr.bin/cc/c++filt
>cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H
>-DPREFIX=\"/usr/obj/usr/src/i386/usr\"
>-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/c++filt/../cc_tools
>-I/usr/src/gnu/usr.bin/cc/c++filt/../cc_tools
>-I/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc
>-I/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/config -DMAIN
>-DIN_GCC -DVERSION=\"2.95.4\" -D__FBSDID=__RCSID -c
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c: In
>function `demangle_fund_type':
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c:3378:
>`manglangled' undeclared (first use in this function)
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c:3378:
>(Each undeclared identifier is reported only once
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c:3378:
>for each function it appears in.)
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c: In
>function `main':
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c:4527:
>warning: assignment discards qualifiers from pointer target type
>/usr/src/gnu/usr.bin/cc/c++filt/../../../../contrib/gcc/cplus-dem.c:4530:
>warning: assignment discards qualifiers from pointer target type
>*** Error code 1
>
>Stop in /usr/src/gnu/usr.bin/cc/c++filt.
>*** Error code 1
>
>Stop in /usr/src/gnu/usr.bin/cc.
>*** Error code 1
>
>Stop in /usr/src.
>*** Error code 1
>
>Stop in /usr/src.
>*** Error code 1
>
>Stop in /usr/src.
>bash-2.05b#
I don't know shit about C-programming but since noone else replies I took a
shot at solving the problem myself. I created this patch and applied it to
the source-tree and now it builds cleanly. I have no idea if this is
correct or not. Just thinking maybe it's just a typo and just maybe this
fixes it?
--- contrib/gcc/cplus-dem.c.orig Thu Nov 4 11:20:03 1999
+++ contrib/gcc/cplus-dem.c Sat Jul 10 14:28:23 2004
@@ -3375,7 +3375,7 @@
break;
}
case 'I':
- (*manglangled)++;
+ (*mangled)++;
if (**mangled == '_')
{
int i;
--
Thomas Novin · thnov at xyz.pp.se · http://xyz.pp.se/~thnov/
V: +46 (0)431 445400 · F: +46 (0)431 445410 · GSM: +46 (0)730 667425
--
More information about the freebsd-bugs
mailing list