Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* gdb March 2001 archive
@ 2001-03-27  2:55 RDBrown
  2001-03-27  8:04 ` Kevin Buettner
  0 siblings, 1 reply; 2+ messages in thread
From: RDBrown @ 2001-03-27  2:55 UTC (permalink / raw)
  To: gdb, gdb-patches

The gdb Mar 2001 archive hasn't moved past March 21 - is the mail getting
through or is it just the archive?

What do you want loaded on the testresults page?
gdb/testsuite/gdb.log or gdb/testsuite/gdb.sum?

Building from the 0324 snapshot on alpha-dec-osf4.0e and i586-sco-sysv5uw7.1.0
somewhat required the following patch - which should be done with autoconf.
Both provide NSIG but only if _XOPEN_SOURCE etc are undefined.
(Both using gcc-2.95.2)

On alpha-dec-osf4.0e the link failed missing `in_solib_dynsym_resolve_code'.

/usr/bin/ld:
Unresolved:
in_solib_dynsym_resolve_code
collect2: ld returned 1 exit status

--- expect/exp_trap.c.orig	Tue Mar 27 00:17:00 2001
+++ expect/exp_trap.c	Mon Mar 26 13:18:59 2001
@@ -22,6 +22,12 @@
 #ifndef NSIG
 #ifdef _NSIG
 #define NSIG _NSIG
+#else
+#ifdef __osf__	/* alpha-dec-osf4.0e workaround */
+#define NSIG 49
+#else		/* i586-sco-sysv5uw7.1.0 workaround */
+#define NSIG 35
+#endif
 #endif
 #endif
 
--- expect/exp_command.c.orig	Tue Mar 27 00:17:15 2001
+++ expect/exp_command.c	Mon Mar 26 13:18:50 2001
@@ -53,6 +53,12 @@
 #ifndef NSIG
 #ifdef _NSIG
 #define NSIG _NSIG
+#else
+#ifdef __osf__	/* alpha-dec-osf4.0e workaround */
+#define NSIG 49
+#else		/* i586-sco-sysv5uw7.1.0 workaround */
+#define NSIG 35
+#endif
 #endif
 #endif
 


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

* Re: gdb March 2001 archive
  2001-03-27  2:55 gdb March 2001 archive RDBrown
@ 2001-03-27  8:04 ` Kevin Buettner
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Buettner @ 2001-03-27  8:04 UTC (permalink / raw)
  To: RDBrown, RodneyBrown, gdb, gdb-patches

On Mar 27,  8:57pm, RDBrown@mira.net wrote:

> Building from the 0324 snapshot on alpha-dec-osf4.0e and i586-sco-sysv5uw7.1.0
> somewhat required the following patch - which should be done with autoconf.
> Both provide NSIG but only if _XOPEN_SOURCE etc are undefined.
> (Both using gcc-2.95.2)
[...]
> --- expect/exp_trap.c.orig	Tue Mar 27 00:17:00 2001
> +++ expect/exp_trap.c	Mon Mar 26 13:18:59 2001
> @@ -22,6 +22,12 @@
>  #ifndef NSIG
>  #ifdef _NSIG
>  #define NSIG _NSIG
> +#else
> +#ifdef __osf__	/* alpha-dec-osf4.0e workaround */
> +#define NSIG 49
> +#else		/* i586-sco-sysv5uw7.1.0 workaround */
> +#define NSIG 35
> +#endif
>  #endif
>  #endif

I've been getting past this problem by just undefining _XOPEN_SOURCE
in the resulting expect_cf.h file (after running configure).  But I
agree that something ought to be done in the configury.  (I'd prefer
to not add defines for NSIG to the sources.)


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

end of thread, other threads:[~2001-03-27  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-27  2:55 gdb March 2001 archive RDBrown
2001-03-27  8:04 ` Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox