This is the mail archive of the mailing list for the glibc 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: glibc 2.2.92 build faliture

On Wed, Sep 04, 2002 at 10:36:54AM +0200, Artur Frysiak wrote:
> I try to build glibc 2.2.92:
> ./configure --host=i686-pld-linux --prefix=/usr --exec-prefix=/usr
> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
> --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
> --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib
> --mandir=/usr/share/man --infodir=/usr/share/info
> --enable-add-ons=linuxthreads --enable-kernel=2.2.0 --enable-profile
> --enable-bounded --with-tls --disable-omitfp
> and catch this error:
> ) | i686-pld-linux-gcc -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=i686  -g -O2 -fno-optimize-sibling-calls -fno-strict-aliasing    -I../include -I.  -I.. -I../libio  -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I /lib/modules/2.4.18/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -fbounded-pointers      -c -x c -o BP-access.ob -
> In file included from ../sysdeps/generic/bp-thunks.h:38,
>                  from <stdin>:11:
> ../include/unistd.h:23: conflicting types for `access'
> ../posix/unistd.h:260: previous declaration of `access'
> Building without --enable-bounded works.
> gcc 3.2

Since when does gcc 3.2 support -fbounded-pointers (aside from accepting the
option)? AFAIK it was only on bounded-pointers-branch in gcc CVS, last
updated around January 2001. If you want --enable-bounded, you need to use
that compiler (but, glibc 2.2.91+ is compilable by gcc 3.2+ only, so unless
somebody revives the bounded-pointers project, you shouldn't use
--enable-bounded at all).
I don't think it makes any sense to put any effort into glibc part of bp
until gcc part gets back from its zombie state.


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