public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* glibc 2.1.2PRE3 won't compile on the ARM...
@ 1999-09-01  9:04 scottb
  1999-09-01  9:44 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: scottb @ 1999-09-01  9:04 UTC (permalink / raw)
  To: libc-hacker mailing list; +Cc: Philip Blundell

signals.c:71: warning: `union k_sigcontext' declared inside parameter
list
signals.c:71: warning: its scope is only this definition or declaration,
which is probably not what you want.
signals.c:71: warning: parameter has incomplete type
signals.c:75: warning: `union k_sigcontext' declared inside parameter
list
signals.c:76: parameter `ctx' has incomplete type
signals.c: In function `pthread_sighandler':
signals.c:91: type of formal parameter 5 is incomplete

Tne union k_sigcontext is not defined as bits/armsigctx.h is never
included.  A patch to fix it is attached.

Scott

1999-08-31  Scott Bambrough <scottb@netwinder.org>

	* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: enclose header 
	  in an #ifdef statement to prevent it from being included
	  twice
	* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
	  #include <bits/armsigctx.h>
diff -uwr glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h
--- glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h	Fri Oct 23 09:42:01 1998
+++ glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h	Wed Sep  1 16:55:43 1999
@@ -21,6 +21,9 @@
    Fortunately 2.0 puts a magic number in the first word and this is not
    a legal value for `trap_no', so we can tell them apart.  */
 
+#ifndef __ARMSIGCTX_H
+#define __ARMSIGCTX_H
+
 #include <asm/ptrace.h>
 
 union k_sigcontext
@@ -59,3 +62,5 @@
 };
 
 #define SIGCONTEXT_2_0_MAGIC	0x4B534154
+
+#endif
diff -uwr glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
--- glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h	Wed Sep  1 16:59:41 1999
+++ glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h	Wed Sep  1 04:21:49 1999
@@ -17,6 +17,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <bits/armsigctx.h>
+
 #define SIGCONTEXT int _a2, int _a3, int _a4, union k_sigcontext
 #define SIGCONTEXT_EXTRA_ARGS _a2, _a3, _a4,
 

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

* Re: glibc 2.1.2PRE3 won't compile on the ARM...
  1999-09-01  9:04 glibc 2.1.2PRE3 won't compile on the ARM scottb
@ 1999-09-01  9:44 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 1999-09-01  9:44 UTC (permalink / raw)
  To: scottb; +Cc: libc-hacker mailing list, Philip Blundell

scottb <scottb@netwinder.org> writes:

> Tne union k_sigcontext is not defined as bits/armsigctx.h is never
> included.  A patch to fix it is attached.

Thanks for the patch, it's in.  Was this the only problem on Arm?

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

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

end of thread, other threads:[~1999-09-01  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-01  9:04 glibc 2.1.2PRE3 won't compile on the ARM scottb
1999-09-01  9:44 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).