Bug 2887 - Problem compiling glibc 2.4
Summary: Problem compiling glibc 2.4
Status: RESOLVED DUPLICATE of bug 333
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.4
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
Depends on:
Reported: 2006-07-07 15:09 UTC by Pierre
Modified: 2014-07-04 15:24 UTC (History)
1 user (show)

See Also:
Last reconfirmed:
fweimer: security-


Note You need to log in before you can comment on or make changes to this bug.
Description Pierre 2006-07-07 15:09:53 UTC
# make
make -r PARALLELMFLAGS="" CVSOPTS="" -C .. objdir=`pwd` all
make[1]: Entering directory `/tmp/glibc-2.4'
make  subdir=csu -C csu ..=../ subdir_lib
make[2]: Entering directory `/tmp/glibc-2.4/csu'
make[2]: Leaving directory `/tmp/glibc-2.4/csu'
make[2]: Entering directory `/tmp/glibc-2.4/csu'
gcc ../sysdeps/unix/sysv/linux/init-first.c -c -std=gnu99 -O3 -Wall
-Wbad-function-cast -Wcast-qual -Wcomment -Wcomments -Wfloat-equal -Winline
-Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes -Wmultichar
-Wsign-compare -Wtrigraphs -Wwrite-strings -fmerge-all-constants -march=i686 -s
-Wstrict-prototypes -mpreferred-stack-boundary=4 -g -O2
-fno-optimize-sibling-calls -fno-strict-aliasing    -I../include
-I/tmp/glibc-2.4/build/csu -I/tmp/glibc-2.4/build -I../sysdeps/i386/elf
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread
-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../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../nptl/sysdeps/i386 -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../nptl  -I.. -I../libio -I.  -D_LIBC_REENTRANT -include
../include/libc-symbols.h  -fbounded-pointers      -DHAVE_INITFINI -o
/tmp/glibc-2.4/build/csu/init-first.ob -MD -MP -MF
/tmp/glibc-2.4/build/csu/init-first.ob.dt -MT /tmp/glibc-2.4/build/csu/init-first.ob
cc1: error: unrecognized command line option "-fbounded-pointers"
make[2]: *** [/tmp/glibc-2.4/build/csu/init-first.ob] Error 1
make[2]: Leaving directory `/tmp/glibc-2.4/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/tmp/glibc-2.4'
make: *** [all] Error 2
Comment 1 Andreas Jaeger 2006-07-10 09:34:16 UTC
We cannot help here, it looks like you use broken compiler or configure options.

*** This bug has been marked as a duplicate of 333 ***
Comment 2 Pierre 2006-07-10 15:31:40 UTC
I use gcc 3.4.3
The problem seems linked to the use of the --enable-bounded option at the
configure step.