Build Error with GLIBC-2.11.1
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]#
Matt Turner
maintainerQuoted 86 lines · Will L Givens
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-buildCC=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=yesmake -j2
) | gcc-3.4.3 -c -I../include -I/usr/src/redhat/BUILD/glibc-2.11.1-build/io
(quoted diff) +0
-24-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 variablefex' 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
Quoted 8 lines
../glibc-2.11/sysdeps/unix/sysv/linux/fcntl.cglibc-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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines
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.
Quoted 8 lines
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
Quoted 9 lines · On Wednesday 17 March 2010 17:15:38 Will L Givens wrote:
Quoted 9 lines
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.
Quoted 8 lines
Quoted 1 line
You know the solution.
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
you're right ... and in this free world, you're free to do the work yourself -mike
A message that is not in the archive (sent off-list or not yet received): 00d501cac62a$6d8cf1c0$48a6d540$@com
Quoted 10 lines · On Wednesday 17 March 2010 19:34:44 Will L Givens wrote:
> It's a free world
you're right ... and in this free world, you're free to do
the work yourself
-mike* Mike Frysinger <[email protected]>
*0xE837F581- UnverifiedAnd NOT use Gentoo ;-) Wish you two the best, you deserve one another *lol*
i never said you had to use Gentoo. if you want to make another distro work on alpha, then you're free to review the work that's already been done in Gentoo to bootstrap yourself up. Matt is already taking on quite a lot in getting alpha up-to-snuff across the board ... asking him to assist with another distro is unfair to him.
-mike
i never said you had to use Gentoo. if you want to make another distro work on alpha, then you're free to review the work that's already been done in Gentoo to bootstrap yourself up. Matt is already taking on quite a lot in getting alpha up-to-snuff across the board ... asking him to assist with another distro is unfair to him.
-mike
* Mike Frysinger <[email protected]>
* 0xE837F581 - Unverified
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Personally I’ve let it go, the “Alpha” is low priority with me… more of a hobby so I wasn’t worried about it either way. Besides, we know how different all the Linux ditros are... totally incompatible. The fact that I could run Deb, Mandrake, LFS, etc. binaries was just a fluke.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10)
iEYEARECAAYFAkujuUAACgkQ7BGkobHBh0Z6vQCgkuUk8qiS0g1BK6GhN6zpmtGA qOIAnAxDv2Bh7PC1cE2w0GjJO/dhzLuB
=T2lw
-----END PGP SIGNATURE-----
Quoted 4 lines · On Friday 19 March 2010 13:50:15 Will L Givens wrote:
Personally I’ve let it go, the “Alpha” is low priority with me… more of a hobby so I wasn’t worried about it either way. Besides, we know how different all the Linux ditros are... totally incompatible. The fact that I could run Deb, Mandrake, LFS, etc. binaries was just a fluke.
considering the changes need (largely to the toolchain and kernel), moving patches between distros is pretty straight forward
-mike