This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: <bits/libc-lock.h> and <bp-sym.h>


On Mon, Jul 17, 2000 at 10:50:17AM +0200, Jakub Jelinek wrote:
> On Mon, Jul 17, 2000 at 01:33:25AM -0700, Greg McGary wrote:
> > "H . J . Lu" <hjl@valinux.com> writes:
> > 
> > > <bits/libc-lock.h> includes <bp-sym.h> and uses BP_SYM. But <bp-sym.h>
> > > is not found anywhere.
> > 
> > For what compilation does it fail?
> 
> I think H.J. is using some older glibc from Red Hat rawhide which was made
> at the time when bp-sym.h was included unconditionally in libc-lock.h,
> right?
> This has been fixed since.
> 

I updated my glibc. I can compile gcc from CVS now. But with libstdc++
v3 enabled, I got so many failures with "make check". Some of them may
be solved by libgcc.so.3 since I am using an older gcc to compile
libc.so. But I also got

output is:
In file included from
/work/gnu/src/gcc-3.0/egcs/libstdc++-v3/bits/std_typeinfo.h:34,^M
                 from /work/gnu/src/gcc-3.0/egcs/libstdc++-v3/std/typeinfo:2,^M
                 from
/work/gnu/src/gcc-3.0/egcs/gcc/testsuite/g++.old-deja/g++.abi/ptrflags.C:5:^M
/work/gnu/src/gcc-3.0/egcs/libstdc++-v3/bits/std_exception.h:34:2: ISO C does
not allow #include_next^M
In file included from /work/gnu/src/gcc-3.0/egcs/libstdc++-v3/std/typeinfo:2,^M
                 from
/work/gnu/src/gcc-3.0/egcs/gcc/testsuite/g++.old-deja/g++.abi/ptrflags.C:5:^M
/work/gnu/src/gcc-3.0/egcs/libstdc++-v3/bits/std_typeinfo.h:38:3: ISO C does
not allow #include_next^M


It is caused by -ansi -pedantic-errors and -I. I have reported it to
gcc a few weeks ago. I even provided a patch. I guess noone is
interested.


-- 
H.J. Lu (hjl@gnu.org)

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