This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

(non-glibc-issue-related) libstdc++-v3 breakage


FYI, in case it is at all helpful, attached below is the configuration
I used with an analysis of the latest failure mode.

Note that -I/cshadow appears in the gcc command line.  That can't be right...

Sure enough $obj/i686-unknown-freebsd3.4/libstdc++-v3/Makefile contains:
CSHADOW_INCLUDES =  -I/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/shadow -I/cshadow

It is also wrong in config.status .

The line:

blddir=`pwd`

appears too late in configure.in (note that blddir gets used before it
is defined in the generated configure).  Since I have built with
cshadow-headers before and I see no line re-ordering in configure has
changed related to blddir, I don't understand why it suddenly stopped
working for me...

Anyways, I can confirm that if that line is moved before:

# Enable all the crazy c++ stuff.

and configure is regenerated, Makefile is built correctly for me.

--enable-shared --enable-threads=posix --enable-libstdcxx-v3 --enable-long-long=no --enable-cshadow-headers --prefix=/usr/local/beta-gcc --with-gnu-as --with-as=/usr/local/beta-gcc/bin/as --with-gnu-ld --with-ld=/usr/local/beta-gcc/bin/ld i686-unknown-freebsd3.4

/usr/tmp/gcc-build-latour-0720/gcc/xgcc -B/usr/tmp/gcc-build-latour-0720/gcc/ -B/usr/local/beta-gcc/i686-unknown-freebsd3.4/bin/ -DHAVE_CONFIG_H -I. -I/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio -I.. -nostdinc++ -I/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3 -I../libio -I/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio -I/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/config/cpu/i486 -I/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/config/bsd -D_GNU_SOURCE -I/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/shadow -I/cshadow -I/usr/local/beta-gcc/include -g -O2 -D_GNU_SOURCE -Werror -Wno-unknown-pragmas -g -c  -fPIC -DPIC /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/filedoalloc.c -o .libs/filedoalloc.lo
In file included from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/shadow/errno.h:35,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/libioP.h:26,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/filedoalloc.c:48:
/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/bits/generic_shadow.h:49:23: cerrno: No such file or directory
In file included from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/shadow/stddef.h:42,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/bits/std_cstddef.h:39,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/_G_config.h:19,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/libio.h:30,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/iolibio.h:1,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/libioP.h:36,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/filedoalloc.c:48:
/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/bits/generic_shadow.h:49:23: cstddef: No such file or directory
In file included from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/shadow/stdarg.h:34,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/libio.h:51,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/iolibio.h:1,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/libioP.h:36,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/filedoalloc.c:48:
/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/bits/generic_shadow.h:49:23: cstdarg: No such file or directory
In file included from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/shadow/stdlib.h:34,
                 from /usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/libio/filedoalloc.c:52:
/usr/users/rittle/outside-cvs-src/egcs/libstdc++-v3/bits/generic_shadow.h:49:23: cstdlib: No such file or directory
gmake[3]: *** [filedoalloc.lo] Error 1

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