* [Linux-ia64] building glibc
@ 2000-08-16 7:54 Alan Au
2000-08-16 18:08 ` H . J . Lu
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Alan Au @ 2000-08-16 7:54 UTC (permalink / raw)
To: linux-ia64
Hi,
I'm having trouble building glibc. I'm using the current turbolinux SRPM,
glibc-2.1.3-hjl000629p1.src.rpm.
My build environment is HP's NUE.
After applying all the patches, doing configure and then make, I get:
....
make -C misc subdir_lib
make[2]: Entering directory `/home/alanau/src/glibc/glibc-2.1-hjl/misc'
make[2]: *** No rule to make target
`/home/alanau/glibc-build/misc/mincore.o', needed by
`/home/alanau/glibc-build/misc/stamp.o'. Stop.
make[2]: Leaving directory `/home/alanau/src/glibc/glibc-2.1-hjl/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/home/alanau/src/glibc/glibc-2.1-hjl'
make: *** [all] Error 2
Does anyone know what the problem is? Has anyone successfully built these
sources from within NUE?
Thanks.
Alan
__________
alanau@cse.unsw.edu.au
School of Computer Science and Engineering
University of New South Wales
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Linux-ia64] building glibc
2000-08-16 7:54 [Linux-ia64] building glibc Alan Au
@ 2000-08-16 18:08 ` H . J . Lu
2000-08-17 1:56 ` Alan Au
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: H . J . Lu @ 2000-08-16 18:08 UTC (permalink / raw)
To: linux-ia64
On Wed, Aug 16, 2000 at 05:54:13PM +1000, Alan Au wrote:
> Hi,
>
> I'm having trouble building glibc. I'm using the current turbolinux SRPM,
> glibc-2.1.3-hjl000629p1.src.rpm.
>
> My build environment is HP's NUE.
> After applying all the patches, doing configure and then make, I get:
>
> ....
>
> make -C misc subdir_lib
> make[2]: Entering directory `/home/alanau/src/glibc/glibc-2.1-hjl/misc'
> make[2]: *** No rule to make target
> `/home/alanau/glibc-build/misc/mincore.o', needed by
> `/home/alanau/glibc-build/misc/stamp.o'. Stop.
> make[2]: Leaving directory `/home/alanau/src/glibc/glibc-2.1-hjl/misc'
> make[1]: *** [misc/subdir_lib] Error 2
> make[1]: Leaving directory `/home/alanau/src/glibc/glibc-2.1-hjl'
> make: *** [all] Error 2
>
Your kernel header files are too old.
--
H.J. Lu (hjl@gnu.org)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Linux-ia64] building glibc
2000-08-16 7:54 [Linux-ia64] building glibc Alan Au
2000-08-16 18:08 ` H . J . Lu
@ 2000-08-17 1:56 ` Alan Au
2000-08-17 7:26 ` Uros Prestor
2000-08-17 18:34 ` David Mosberger
3 siblings, 0 replies; 5+ messages in thread
From: Alan Au @ 2000-08-17 1:56 UTC (permalink / raw)
To: linux-ia64
On Wed, 16 Aug 2000, H . J . Lu wrote:
> Your kernel header files are too old.
Thanks. You were right.
It gets a bit furthur now but gets the following error:
make[2]: Entering directory `/home/alanau/src/glibc/glibc-2.1-hjl/sunrpc'
/home/alanau/glibc-build/elf/ld-linux.so.2 --library-path
/home/alanau/glibc-build:/home/alanau/glibc-build/math:/home/alanau/glibc-build/elf:/home/alanau/glibc-build/nss:/home/alanau/glibc-build/nis:/home/alanau/glibc-build/db2:/home/alanau/glibc-build/rt:/home/alanau/glibc-build/resolv
/home/alanau/glibc-build/sunrpc/rpcgen -Y `gcc -print-file-name=cpp | sed
"s|/cpp$||"` -c rpcsvc/bootparam_prot.x -o
/home/alanau/glibc-build/sunrpc/xbootparam_prot.T
doSyscall: unimplemented system call 1212
/home/alanau/glibc-build/sunrpc/rpcgen: error in loading shared
libraries: /home/alanau/glibc-build/sunrpc/rpcgen: cannot stat shared
object: Error 38
make[2]: *** [/home/alanau/glibc-build/sunrpc/xbootparam_prot.stmp] Error
127
In fact, get the same error if I invoke the newly built ld.so directly:
bash$ pwd
/home/alanau/glibc-build/elf
bash$ ./ld.so ~/tmp/a.out
doSyscall: unimplemented system call 1212
/home/alanau/tmp/a.out: error in loading shared
libraries: /home/alanau/tmp/a.out: cannot stat shared object: Error 38
Not sure if this is an NUE problem.
Thanks.
Alan
__________
alanau@cse.unsw.edu.au
School of Computer Science and Engineering
University of New South Wales
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Linux-ia64] building glibc
2000-08-16 7:54 [Linux-ia64] building glibc Alan Au
2000-08-16 18:08 ` H . J . Lu
2000-08-17 1:56 ` Alan Au
@ 2000-08-17 7:26 ` Uros Prestor
2000-08-17 18:34 ` David Mosberger
3 siblings, 0 replies; 5+ messages in thread
From: Uros Prestor @ 2000-08-17 7:26 UTC (permalink / raw)
To: linux-ia64
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
Alan Au wrote:
> It gets a bit furthur now but gets the following error:
>
> make[2]: Entering directory `/home/alanau/src/glibc/glibc-2.1-hjl/sunrpc'
> /home/alanau/glibc-build/elf/ld-linux.so.2 --library-path
> /home/alanau/glibc-build:/home/alanau/glibc-build/math:/home/alanau/glibc-build/elf:/home/alanau/glibc-build/nss:/home/alanau/glibc-build/nis:/home/alanau/glibc-build/db2:/home/alanau/glibc-build/rt:/home/alanau/glibc-build/resolv
> /home/alanau/glibc-build/sunrpc/rpcgen -Y `gcc -print-file-name=cpp | sed
> "s|/cpp$||"` -c rpcsvc/bootparam_prot.x -o
> /home/alanau/glibc-build/sunrpc/xbootparam_prot.T
> doSyscall: unimplemented system call 1212
> /home/alanau/glibc-build/sunrpc/rpcgen: error in loading shared
> libraries: /home/alanau/glibc-build/sunrpc/rpcgen: cannot stat shared
> object: Error 38
> make[2]: *** [/home/alanau/glibc-build/sunrpc/xbootparam_prot.stmp] Error
> 127
I saw this when building glibc on 2.4.0-test1 kernels when IA-64 patch introduced new stat/fstat/lstat interfaces. You need an extra patch (included below courtesy of David M) which solves the problem.
Uros
--
Uros Prestor
uros@turbolinux.com
[-- Attachment #2: glibc-2.1-ia64-syscalls.patch --]
[-- Type: text/plain, Size: 749 bytes --]
--- sysdeps/unix/sysv/linux/ia64/syscalls.list~ Tue May 9 17:59:12 2000
+++ sysdeps/unix/sysv/linux/ia64/syscalls.list Mon Jun 19 20:55:36 2000
@@ -72,11 +72,11 @@
s_getdents getdents getdents 3 __syscall_getdents getdents
# System calls with wrappers.
-sys_fstat fxstat fstat 2 __syscall_fstat
-sys_lstat lxstat lstat 2 __syscall_lstat
+sys_fstat fxstat old_fstat 2 __syscall_fstat
+sys_lstat lxstat old_lstat 2 __syscall_lstat
sys_mknod xmknod mknod 3 __syscall_mknod
sys_readv readv readv 3 __syscall_readv
-sys_stat xstat stat 2 __syscall_stat
+sys_stat xstat old_stat 2 __syscall_stat
sys_writev writev writev 3 __syscall_writev
s_getpagesize getpagesize getpagesize 0 __syscall_getpagesize
s_poll poll poll 3 __syscall_poll
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Linux-ia64] building glibc
2000-08-16 7:54 [Linux-ia64] building glibc Alan Au
` (2 preceding siblings ...)
2000-08-17 7:26 ` Uros Prestor
@ 2000-08-17 18:34 ` David Mosberger
3 siblings, 0 replies; 5+ messages in thread
From: David Mosberger @ 2000-08-17 18:34 UTC (permalink / raw)
To: linux-ia64
>>>>> On Thu, 17 Aug 2000 00:26:58 -0700, Uros Prestor <uros@turbolinux.com> said:
Uros> I saw this when building glibc on 2.4.0-test1 kernels when
Uros> IA-64 patch introduced new stat/fstat/lstat interfaces. You
Uros> need an extra patch (included below courtesy of David M) which
Uros> solves the problem.
Yes, that should fix the problem. We should also update the simulator
to support the new system calls. I'll put it on my todo list.
--david
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-08-17 18:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-16 7:54 [Linux-ia64] building glibc Alan Au
2000-08-16 18:08 ` H . J . Lu
2000-08-17 1:56 ` Alan Au
2000-08-17 7:26 ` Uros Prestor
2000-08-17 18:34 ` David Mosberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox