ARM broken on branch in libstdc++-v3/src
Rod Stewart
stewart@lab43.org
Mon Jul 30 14:55:00 GMT 2001
I've been really getting myself confused. Jan's patch does not fix this
problem on either the branch on the mainline. Sorry about the confusion.
The problem is described in
http://gcc.gnu.org/ml/gcc-bugs/2001-07/msg01112.html
I reverted the patch set from
2001-07-26 Stephen M. Webb <stephen@bregmasoft.com>
Loren J. Rittle <ljrittle@acm.org>
Phil Edwards <pme@sources.redhat.com>
with the following in the libstdc++-v3 directory:
cvs -q -z3 up -A -d -P -D 'Jul 26 07:30:59 GMT 2001' -r gcc-3_0-branch
This allows the build to continue without any problems.
On my ARM machines the only place where ULONG_LONG_MAX is defined is in
gcc/glimits.h. If I add an include for glimits.h to limitsMEMBERS.cc I
can compile limitsMEMBERS.cc.
Hopefully this makes sense, if not let me know...
-Rms
On Mon, 30 Jul 2001, Rod Stewart wrote:
> The following patch fixed this on the mainline.
> http://gcc.gnu.org/ml/gcc-patches/2001-07/msg02092.html
>
> As well Jan's first patch fixed it on the 3.0 branch.
>
> -Rms
>
> On Sat, 28 Jul 2001, Rod Stewart wrote:
>
> > 2001-07-26 Stephen M. Webb <stephen@bregmasoft.com>
> > Loren J. Rittle <ljrittle@acm.org>
> > Phil Edwards <pme@sources.redhat.com>
> [...]
> > > The error is:
> > >
> > > /home/build-rpm/BUILD/obj-gcc-20010727/gcc/xgcc
> > > -B/home/build-rpm/BUILD/obj-gcc-20010727/gcc/ -nostdinc++
> > > -L/home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/src
> > > -L/home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/src/.libs
> > > -B/usr/local/armv4l-unknown-linux-gnu/bin/
> > > -B/usr/local/armv4l-unknown-linux-gnu/lib/ -isystem
> > > /usr/local/armv4l-unknown-linux-gnu/include -nostdinc++
> > > -I/home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu
> > > -I/home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include
> > > -I/home/build-rpm/BUILD/gcc/libstdc++-v3/libsupc++
> > > -I/home/build-rpm/BUILD/gcc/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE
> > > -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
> > > -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c
> > > limitsMEMBERS.cc -fPIC -DPIC -o .libs/limitsMEMBERS.o
> > > In file included from limitsMEMBERS.cc:37:
> > > /home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu/bits/std_limits.h:
> > > In
> > > static member function `static long long int std::numeric_limits<long
> > > long
> > > int>::min()':
> > > /home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu/bits/std_limits.h:594:
> > > `LONG_LONG_MIN'
> > > undeclared (first use this function)
> > > /home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu/bits/std_limits.h:594:
> > > (Each
> > > undeclared identifier is reported only once for each function it
> > > appears
> > > in.)
> > > /home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu/bits/std_limits.h:
> > > In
> > > static member function `static long long int std::numeric_limits<long
> > > long
> > > int>::max()':
> > > /home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu/bits/std_limits.h:596:
> > > `LONG_LONG_MAX'
> > > undeclared (first use this function)
> > > /home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu/bits/std_limits.h:
> > > In
> > > static member function `static long long unsigned int
> > > std::numeric_limits<long long unsigned int>::max()':
> > > /home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/include/armv4l-unknown-linux-gnu/bits/std_limits.h:644:
> > > `ULONG_LONG_MAX'
> > > undeclared (first use this function)
> > > make[4]: *** [limitsMEMBERS.lo] Error 1
> > > make[4]: Leaving directory
> > > `/home/build-rpm/BUILD/obj-gcc-20010727/armv4l-unknown-linux-gnu/libstdc++-v3/src'
>
More information about the Gcc-bugs
mailing list