bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help on building glibc-2.2.3


From: Douglas Ostling
Subject: Need help on building glibc-2.2.3
Date: Tue, 5 Jun 2001 16:45:19 -0700
User-agent: Mutt/1.2.5i

I get the following error when trying to build glibc-2.2.3 (from the end of
the build log):

gcc -O0 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fforce-addr -fgcse 
-fmove-all-movables -freduce-all-givs -fregmove -fschedule-insns2 
-fthread-jumps -mpentium -pipe  -g PTFLAGS -fno-strict-aliasing 
-fkeep-inline-functions    -I../include -I. 
-I/home/develop/glibc-2.2.3/objdir/csu -I.. -I../libio  
-I/home/develop/glibc-2.2.3/objdir -I../sysdeps/i386/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 
-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/i586 
-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   -D_LIBC_REENTRANT 
-fbounds-checking    -include ../include/libc-symbols.h -DHAVE_INITFINI -c 
../sysdeps/unix/sysv/linux/init-first.c -o 
/home/develop/glibc-2.2.3/objdir/csu/init-first.ob
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [/home/develop/glibc-2.2.3/objdir/csu/init-first.ob] Error 1
make[2]: Leaving directory `/home/develop/glibc-2.2.3/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/develop/glibc-2.2.3'
make: *** [all] Error 2

The version of gcc is 2.95.3.

The build script was the following:

#!/bin/sh

MACHINE_OPTS=-mpentium 
OPTFLAGS="-O0 $MACHINE_OPTS -fmove-all-movables -freduce-all-givs 
-fthread-jumps -fregmove -fschedule-insns2 -fgcse -fforce-addr -pipe"

[ -d objdir ] && rm -rf objdir

mkdir objdir
cd objdir

CFLAGS="$OPTFLAGS" ../configure --enable-avoid-generated=yes --prefix=/usr 
--enable-add-ons=linuxthreads --enable-bounded

make

echo Done


Please tell me what the problem is and how I can solve it.

-- 
address@hidden - Douglas Ostling - Q U A S I S O F T

"For dignity compos'd and high exploit... all was false and hollow."
--Milton, Paradist Lost II



reply via email to

[Prev in Thread] Current Thread [Next in Thread]