* Build Error with GLIBC-2.11.1
@ 2010-03-17 5:26 Will L Givens
2010-03-17 15:17 ` Matt Turner
0 siblings, 1 reply; 7+ messages in thread
From: Will L Givens @ 2010-03-17 5:26 UTC (permalink / raw)
To: libc-alpha; +Cc: linux-alpha
This error was obtained using GCC-3.4.3 and Binutils-2.20.1...
mkdir -p ../glibc-2.11.1-build
cd ../glibc-2.11.1-build
CC=gcc-3.4.3 CXX=g++-3.4.3 CPP=/usr/bin/cpp-3.4.3 \
CFLAGS="-O2 -mtune=ev67 -mieee -finline-limit=2000 \
-fno-strict-aliasing -D__ASSUME_F_GETOWN_EX" \
../glibc-2.11.1/configure \
--prefix=/usr \
--build=alphaev67-alpha-linux \
--bindir=/usr/bin \
--sbindir=/sbin \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/share/include \
--libdir=/usr/lib \
--libexecdir=/usr/libexec \
--localstatedir=/var \
--sharedstatedir=/var/com \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared \
--enable-kernel=2.6 # --with-headers=/usr/src/linux\
--enable-add-ons=ports,nptl \
--disable-sanity-checks \
--disable-profile \
--without-selinux \
libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes
make -j2
) | gcc-3.4.3 -c -I../include -I/usr/src/redhat/BUILD/glibc-2.11.1-build/io
-I/usr/src/redhat/BUILD/glibc-2.11.1-build -I../ports/sysdeps/alpha/elf
-I../ports/sysdeps/unix/sysv/linux/alpha/alphaev67/fpu
-I../ports/sysdeps/alpha/alphaev67/fpu -I../ports/sysdeps/alpha/alphaev6/fpu
-I../ports/sysdeps/unix/sysv/linux/alpha/alphaev67
-I../ports/sysdeps/unix/sysv/linux/alpha/fpu -I../ports/sysdeps/alpha/fpu
-I../ports/sysdeps/unix/sysv/linux/alpha/nptl
-I../ports/sysdeps/unix/sysv/linux/alpha
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/ieee754/ldbl-64-128
-I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../ports/sysdeps/unix/alpha -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/alpha/alphaev67
-I../ports/sysdeps/alpha/alphaev6 -I../ports/sysdeps/alpha/alphaev5
-I../ports/sysdeps/alpha/nptl -I../ports/sysdeps/alpha
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../ports/sysdeps/alpha/soft-fp -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I..
-I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h
-DASSEMBLER -Wa,--noexecstack -o
/usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o -x assembler-with-cpp -
-MD -MP -MF /usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o.dt -MT
/usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o
../sysdeps/unix/sysv/linux/fcntl.c: In function `do_fcntl':
../sysdeps/unix/sysv/linux/fcntl.c:43: error: storage size of 'fex' isn't
known
../sysdeps/unix/sysv/linux/fcntl.c:44: error: `F_GETOWN_EX' undeclared
(first use in this function)
../sysdeps/unix/sysv/linux/fcntl.c:44: error: (Each undeclared identifier is
reported only once
../sysdeps/unix/sysv/linux/fcntl.c:44: error: for each function it appears
in.)
../sysdeps/unix/sysv/linux/fcntl.c:46: error: `F_OWNER_GID' undeclared
(first use in this function)
../sysdeps/unix/sysv/linux/fcntl.c:43: warning: unused variable `fex'
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.11.1-build/io/fcntl.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.11.1/io'
make[1]: *** [io/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.11.1'
make: *** [all] Error 2
[root@jericho glibc-2.11.1]# pico -w +43
../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c
[root@jericho glibc-2.11.1]# pico -w +43
../glibc-2.11.1/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
[root@jericho glibc-2.11.1]# pico -w +43
../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c
[root@jericho glibc-2.11.1]# pico -w +43
../glibc-2.11/sysdeps/unix/sysv/linux/fcntl.c
glibc-2.11.1/ glibc-2.11.1.tar.bz2 glibc-2.11-build/
glibc-2.11.1-build/ glibc-2.11.90/
[root@jericho glibc-2.11.1]# pico -w +43
../glibc-2.11.90/sysdeps/unix/sysv/linux/fcntl.c
[root@jericho glibc-2.11.1]# pico -w +43
../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c
[root@jericho glibc-2.11.1]#
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Build Error with GLIBC-2.11.1
2010-03-17 5:26 Build Error with GLIBC-2.11.1 Will L Givens
@ 2010-03-17 15:17 ` Matt Turner
2010-03-17 21:15 ` Will L Givens
0 siblings, 1 reply; 7+ messages in thread
From: Matt Turner @ 2010-03-17 15:17 UTC (permalink / raw)
To: Will L Givens; +Cc: libc-ports, linux-alpha
On Wed, Mar 17, 2010 at 1:26 AM, Will L Givens <wlgivens@gmail.com> wrote:
> This error was obtained using GCC-3.4.3 and Binutils-2.20.1...
>
> mkdir -p ../glibc-2.11.1-build
> cd ../glibc-2.11.1-build
>
>
> CC=gcc-3.4.3 CXX=g++-3.4.3 CPP=/usr/bin/cpp-3.4.3 \
> CFLAGS="-O2 -mtune=ev67 -mieee -finline-limit=2000 \
> -fno-strict-aliasing -D__ASSUME_F_GETOWN_EX" \
> ../glibc-2.11.1/configure \
> --prefix=/usr \
> --build=alphaev67-alpha-linux \
> --bindir=/usr/bin \
> --sbindir=/sbin \
> --sysconfdir=/etc \
> --datadir=/usr/share \
> --includedir=/usr/share/include \
> --libdir=/usr/lib \
> --libexecdir=/usr/libexec \
> --localstatedir=/var \
> --sharedstatedir=/var/com \
> --mandir=/usr/share/man \
> --infodir=/usr/share/info \
> --enable-shared \
> --enable-kernel=2.6 # --with-headers=/usr/src/linux\
> --enable-add-ons=ports,nptl \
> --disable-sanity-checks \
> --disable-profile \
> --without-selinux \
> libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes
>
> make -j2
>
> ) | gcc-3.4.3 -c -I../include -I/usr/src/redhat/BUILD/glibc-2.11.1-build/io
> -I/usr/src/redhat/BUILD/glibc-2.11.1-build -I../ports/sysdeps/alpha/elf
> -I../ports/sysdeps/unix/sysv/linux/alpha/alphaev67/fpu
> -I../ports/sysdeps/alpha/alphaev67/fpu -I../ports/sysdeps/alpha/alphaev6/fpu
> -I../ports/sysdeps/unix/sysv/linux/alpha/alphaev67
> -I../ports/sysdeps/unix/sysv/linux/alpha/fpu -I../ports/sysdeps/alpha/fpu
> -I../ports/sysdeps/unix/sysv/linux/alpha/nptl
> -I../ports/sysdeps/unix/sysv/linux/alpha
> -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/ieee754/ldbl-64-128
> -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
> -I../nptl/sysdeps/pthread -I../sysdeps/pthread
> -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
> -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
> -I../ports/sysdeps/unix/alpha -I../nptl/sysdeps/unix -I../ports/sysdeps/unix
> -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/alpha/alphaev67
> -I../ports/sysdeps/alpha/alphaev6 -I../ports/sysdeps/alpha/alphaev5
> -I../ports/sysdeps/alpha/nptl -I../ports/sysdeps/alpha
> -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
> -I../ports/sysdeps/alpha/soft-fp -I../sysdeps/ieee754
> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I..
> -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h
> -DASSEMBLER -Wa,--noexecstack -o
> /usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o -x assembler-with-cpp -
> -MD -MP -MF /usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o.dt -MT
> /usr/src/redhat/BUILD/glibc-2.11.1-build/io/flock.o
> ../sysdeps/unix/sysv/linux/fcntl.c: In function `do_fcntl':
> ../sysdeps/unix/sysv/linux/fcntl.c:43: error: storage size of 'fex' isn't
> known
> ../sysdeps/unix/sysv/linux/fcntl.c:44: error: `F_GETOWN_EX' undeclared
> (first use in this function)
> ../sysdeps/unix/sysv/linux/fcntl.c:44: error: (Each undeclared identifier is
> reported only once
> ../sysdeps/unix/sysv/linux/fcntl.c:44: error: for each function it appears
> in.)
> ../sysdeps/unix/sysv/linux/fcntl.c:46: error: `F_OWNER_GID' undeclared
> (first use in this function)
> ../sysdeps/unix/sysv/linux/fcntl.c:43: warning: unused variable `fex'
> make[2]: *** [/usr/src/redhat/BUILD/glibc-2.11.1-build/io/fcntl.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.11.1/io'
> make[1]: *** [io/subdir_lib] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.11.1'
> make: *** [all] Error 2
> [root@jericho glibc-2.11.1]# pico -w +43
> ../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c
> [root@jericho glibc-2.11.1]# pico -w +43
> ../glibc-2.11.1/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
> [root@jericho glibc-2.11.1]# pico -w +43
> ../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c
> [root@jericho glibc-2.11.1]# pico -w +43
> ../glibc-2.11/sysdeps/unix/sysv/linux/fcntl.c
> glibc-2.11.1/ glibc-2.11.1.tar.bz2 glibc-2.11-build/
> glibc-2.11.1-build/ glibc-2.11.90/
> [root@jericho glibc-2.11.1]# pico -w +43
> ../glibc-2.11.90/sysdeps/unix/sysv/linux/fcntl.c
> [root@jericho glibc-2.11.1]# pico -w +43
> ../glibc-2.11.1/sysdeps/unix/sysv/linux/fcntl.c
> [root@jericho glibc-2.11.1]#
Alpha related glibc questions go to libc-ports@.
What's available in the glibc.git and glibc-ports.git trees won't
build correctly on alpha without patches. These patches are available
in Gentoo and are why sane people use Gentoo on their Alphas.
I've wasted a bunch of time in the last week trying to help someone
who's too stubborn for his own good to build glibc manually. He never
succeeded. There's absolutely no point in trying to help you with
this. Sorry.
You know the solution.
Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Build Error with GLIBC-2.11.1
2010-03-17 15:17 ` Matt Turner
@ 2010-03-17 21:15 ` Will L Givens
2010-03-17 23:13 ` Mike Frysinger
0 siblings, 1 reply; 7+ messages in thread
From: Will L Givens @ 2010-03-17 21:15 UTC (permalink / raw)
To: 'Matt Turner'; +Cc: libc-ports, linux-alpha
>
> What's available in the glibc.git and glibc-ports.git trees won't
> build correctly on alpha without patches. These patches are available
> in Gentoo and are why sane people use Gentoo on their Alphas.
>
> I've wasted a bunch of time in the last week trying to help someone
> who's too stubborn for his own good to build glibc manually. He never
> succeeded. There's absolutely no point in trying to help you with
> this. Sorry.
>
> You know the solution.
>
> Matt
That's one way to win supporters because we all know EVERYONE wants to run
Gentoo! And you're right, I do know what to do, GLIBC-2.10, the one you
didn't help with builds fine *lol* So I guess that makes 2 GLIBC-2.11.1
Alpha users.
It's a free world
Will L G
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-03-19 18:10 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 5:26 Build Error with GLIBC-2.11.1 Will L Givens
2010-03-17 15:17 ` Matt Turner
2010-03-17 21:15 ` Will L Givens
2010-03-17 23:13 ` Mike Frysinger
[not found] ` <00d501cac62a$6d8cf1c0$48a6d540$@com>
2010-03-19 17:12 ` Mike Frysinger
2010-03-19 17:50 ` Will L Givens
2010-03-19 18:10 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).