This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: another problem
- To: Kaoru Fukui <k_fukui at highway dot ne dot jp>, Roland McGrath <roland at frob dot com>, libc-alpha at sources dot redhat dot com
- Subject: Re: another problem
- From: Kaoru Fukui <k_fukui at highway dot ne dot jp>
- Date: Sun, 04 Nov 2001 13:16:21 +0900
- References: <3BE48D61.C4CA9667@highway.ne.jp>
Hi!
Please look his change again.
Kaoru
2001-10-28 Roland McGrath <roland@frob.com>
Support for Mach/PowerPC contributed by Peter Bruin <pjbruin@dds.nl>.
* sysdeps/mach/powerpc/machine-sp.h: New file.
* sysdeps/mach/powerpc/sysdep.h: New file.
* sysdeps/mach/powerpc/thread_state.h: New file.
* sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
* sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
expect to need the same thing on every platform.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
* sysdeps/generic/sys/ucontext.h: ... to replace this one.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h (ALIGNARG,
ASM_TYPE_DIRECTIVE, ASM_SIZE_DIRECTIVE, CALL_MCOUNT, ENTRY, EALIGN,
DO_CALL, JUMPTARGET, PSEUDO, PSEUDO_RET, PSEUDO_END, L, C_TEXT):
Move all these assembly-related definitions to ...
* sysdeps/powerpc/elf/sysdep.h: ... this new file.
* sysdeps/mach/powerpc/machine-lock.h: Assembly code rewritten
by Peter Bruin <pjbruin@dds.nl>.
* hurd/hurdselect.c (_hurd_select): Check SELECT_RETURNED bit when
packing results for a `poll' call.
Kaoru Fukui wrote:
> Hi!
>
> I can pass c_label(_start) problem with attached patch,
> But I get another problem in current cvs glibc on linuxppc.
>
> Kaoru
>
> iff -urN base/libc/sysdeps/powerpc/elf/sysdep.h
> fixed/libc/sysdeps/powerpc/elf/sysdep.h
>
>
> -- base/libc/sysdeps/powerpc/elf/sysdep.h Mon Oct 29 11:18:43 2001
>
> +++ fixed/libc/sysdeps/powerpc/elf/sysdep.h Sun Nov 4 09:11:17
> 2001
>
> @@ -17,6 +17,7 @@
>
> Software Foundation, Inc., 59 Temple Place, Suite
> 330, Boston, MA
>
> 02111-1307 USA. */
>
> +#include <sysdeps/generic/sysdep.h>
> #include <sysdeps/powerpc/sysdep.h>
>
> #ifdef __ASSEMBLER__
>
> ------------------------------ another
> problem------------------------------------
>
> mkdir /usr/src/redhat/BUILD/libc/build-ppc-linux/signal
> mkdir: cannot create directory
> `/usr/src/redhat/BUILD/libc/build-ppc-linux/signal': File exists
> make[2]: Leaving directory `/usr/src/redhat/BUILD/libc/signal'
> make[2]: Entering directory `/usr/src/redhat/BUILD/libc/signal'
> ../sysdeps/unix/sysv/linux/sigaction.c: In function `__libc_sigaction':
> ../sysdeps/unix/sysv/linux/sigaction.c:83: warning: implicit declaration
> of func
> tion `INLINE_SYSCALL'
> ../sysdeps/unix/sysv/linux/sigaction.c:83: `rt_sigaction' undeclared
> (first use
> in this function)
> ../sysdeps/unix/sysv/linux/sigaction.c:83: (Each undeclared identifier
> is report
> ed only once
> ../sysdeps/unix/sysv/linux/sigaction.c:83: for each function it appears
> in.)
> make[2]: ***
> [/usr/src/redhat/BUILD/libc/build-ppc-linux/signal/sigaction.o] Err
> or 1
> make[2]: *** Waiting for unfinished jobs....
> ../sysdeps/unix/sysv/linux/sigprocmask.c: In function `__sigprocmask':
> ../sysdeps/unix/sysv/linux/sigprocmask.c:48: warning: implicit
> declaration of fu
> nction `INLINE_SYSCALL'
> ../sysdeps/unix/sysv/linux/sigprocmask.c:48: `rt_sigprocmask' undeclared
> (first
> use in this function)
> ../sysdeps/unix/sysv/linux/sigprocmask.c:48: (Each undeclared identifier
> is repo
> rted only once
> ../sysdeps/unix/sysv/linux/sigprocmask.c:48: for each function it
> appears in.)
> make[2]: ***
> [/usr/src/redhat/BUILD/libc/build-ppc-linux/signal/sigprocmask.o] E
> rror 1
> make[2]: Leaving directory `/usr/src/redhat/BUILD/libc/signal'
> make[1]: *** [signal/subdir_lib] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/libc'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.99655 (%build)
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.99655 (%build)
> [root@g4mp