All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

* Re: Build Error with GLIBC-2.11.1
  2010-03-17 21:15   ` Will L Givens
@ 2010-03-17 23:13     ` Mike Frysinger
       [not found]       ` <00d501cac62a$6d8cf1c0$48a6d540$@com>
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2010-03-17 23:13 UTC (permalink / raw)
  To: Will L Givens; +Cc: 'Matt Turner', libc-ports, linux-alpha

[-- Attachment #1: Type: Text/Plain, Size: 908 bytes --]

On Wednesday 17 March 2010 17:15:38 Will L Givens wrote:
> > 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.
> 
> 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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build Error with GLIBC-2.11.1
       [not found]       ` <00d501cac62a$6d8cf1c0$48a6d540$@com>
@ 2010-03-19 17:12         ` Mike Frysinger
  2010-03-19 17:50           ` Will L Givens
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2010-03-19 17:12 UTC (permalink / raw)
  To: Will L Givens; +Cc: 'Matt Turner', libc-ports, linux-alpha

[-- Attachment #1: Type: Text/Plain, Size: 693 bytes --]

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 <vapier@gentoo.org>
> 		* 0xE837F581 - Unverified
> 
> And 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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Build Error with GLIBC-2.11.1
  2010-03-19 17:12         ` Mike Frysinger
@ 2010-03-19 17:50           ` Will L Givens
  2010-03-19 18:10             ` Mike Frysinger
  0 siblings, 1 reply; 7+ messages in thread
From: Will L Givens @ 2010-03-19 17:50 UTC (permalink / raw)
  To: 'Mike Frysinger'; +Cc: 'Matt Turner', libc-ports, linux-alpha


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 <vapier@gentoo.org>
* 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-----


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Build Error with GLIBC-2.11.1
  2010-03-19 17:50           ` Will L Givens
@ 2010-03-19 18:10             ` Mike Frysinger
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Frysinger @ 2010-03-19 18:10 UTC (permalink / raw)
  To: Will L Givens; +Cc: 'Matt Turner', libc-ports, linux-alpha

[-- Attachment #1: Type: Text/Plain, Size: 495 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.