This is the mail archive of the gcc-bugs@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]

Re: ARM broken on branch in libstdc++-v3/src



OK, I've got the right patches this time.  This affects the 3.0 branch and
the mainline, well it broke on the mainline back around July 14th.

On Fri, 27 Jul 2001, Rod Stewart wrote:

> The armv4l-*-linux-gnu native build is broken on the 3.0 branch.  A guess
> would be that it is related to this change (but it is only a guess)...

Reverting the following sets of patches in the libstdc++-v3 directory
allows my native ARM GNU/Linux build to succeed.

2001-07-26  Stephen M. Webb  <stephen@bregmasoft.com>

       * acinclude.m4 (GLIBCPP_ENABLE_CHEADERS):  Use glibcpp_srcdir when
       setting C_INCLUDE_DIR.
       * aclocal.m4:  Regenerate.
       * configure:  Regenerate.

2001-07-26  Stephen M. Webb  <stephen@bregmasoft.com>
            Loren J. Rittle  <ljrittle@acm.org>
            Phil Edwards  <pme@sources.redhat.com>

       * include/Makefile.am:  New file encapsulating header generation
	rules.
       * Makefile.am (SUBDIRS):  Prepend 'include' directory.
       * acinclude.m4:  Moved/removed rules for building various headers.
       * configure.in (AC_OUTPUT):  Add include/Makefile.
       * mkc++config:  Removed.

       * testsuite_flags.in:  Changed build-includes to match new scheme.
       * mknumeric_limits:  Likewise.
       * libio/Makefile.am:  Changed INCLUDES to maatch new header
	scheme.
       * libmath/Makefile.am:  Likewise.
       * libsupc++/Makefile.am:  Likewise.
       * src/Makefile.am:  Likewise; removed rules to build headers.
       * libmath/mathconf.h:  Changed #include'd header names to match.
       * libmath/stubs.c:  Likewise.
       * src/gen-num-limits.cc:  Likewise.

       * configure:  Regenerated.
       * config.h.in:  Regenerated.
       * aclocal.m4:  Regenerated.
       * Makefile.in:  Regenerated.
       * include/Makefile.in:  Regenerated.
       * libio/Makefile.in:  Regenerated.
       * libmath/Makefile.in:  Regenerated.
       * libsupc++/Makefile.in:  Regenerated.
       * src/Makefile.in:  Regenerated.
       * testsuite/Makefile.in:  Regenerated.

2001-07-26  Daniel Jacobowitz  <drow@mvista.com>

       * configure.in: Remove NATIVE, NULL_TARGET.
       Set CANADIAN only for Canadian crosses.  Set xcompiling
       for both Canadian crosses and host-x-host crosses.
       * configure: Regenerated.

I used 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

Looking at the times these patches were applied to the mainline wrt
the arm build breaking there, it would appear to be this patch in
particular which broke things.
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'

Let me know if you need any more info.
Thanks,
-Rms


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