All of lore.kernel.org
 help / color / mirror / Atom feed
From: Uros Prestor <uros@turbolinux.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] building glibc
Date: Thu, 17 Aug 2000 07:26:58 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205345@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205334@msgid-missing>

[-- 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


  parent reply	other threads:[~2000-08-17  7:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2000-08-17 18:34 ` David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205345@msgid-missing \
    --to=uros@turbolinux.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.