This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: HJ's patches break 3.3 install?


On Mon, 10 Nov 2003, Daniel Jacobowitz wrote:

> On Mon, Nov 10, 2003 at 03:24:46PM +0100, Richard Guenther wrote:
> > On Mon, 10 Nov 2003, Daniel Jacobowitz wrote:
> >
> > That patch doesnt apply cleanly to 3.3 - I tweaked it a bit, but maybe
> > failed to correctly regenerate libiberty/config.in and configure.in. The
> > latter moaned about
> >
> > bellatrix:~/src/gcc/gcc3.3/libiberty$ autoconf
> > configure.in:399: error: possibly undefined macro: AC_PROG_CC_WORKS
> > configure:1445: error: possibly undefined macro: AC_PROG_CC_G
> > configure:1437: error: possibly undefined macro: AC_PROG_CC_GNU
> >
> > testing on the way...
>
> That probably means your installed autoconf is too new?

Maybe - its autoconf 2.52. I'm not familiar with the gcc using of the
autotools. Building fails with

gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/home/rguenth/src/gcc/gcc3.3/libiberty/../include
/home/rguenth/src/gcc/gcc3.3/libiberty/strerror.c -o strerror.o
In file included from /home/rguenth/src/gcc/gcc3.3/libiberty/strerror.c:8:
config.h:331:1: warning: "inline" redefined
In file included from /home/rguenth/src/gcc/gcc3.3/libiberty/strerror.c:5:
/home/rguenth/src/gcc/gcc3.3/include/ansidecl.h:175:1: warning: this is
the location of the previous definition
/home/rguenth/src/gcc/gcc3.3/libiberty/strerror.c:693: conflicting types
for `strerrno'
/home/rguenth/src/gcc/gcc3.3/include/libiberty.h:178: previous declaration
of `strerrno'
/home/rguenth/src/gcc/gcc3.3/libiberty/strerror.c: In function
`strtoerrno':
/home/rguenth/src/gcc/gcc3.3/libiberty/strerror.c:742: argument `name'
doesn't match prototype
/home/rguenth/src/gcc/gcc3.3/include/libiberty.h:182: prototype
declaration
make[1]: *** [strerror.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/tmp/gcc-obj/libiberty'
make: *** [all-libiberty] Error 2

maybe you can apply the patch to the 3.3 branch, I will then happily test,
if it works.

Thanks,

Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]