PATCH: Re: Another 3.0-branch bootstrap failure

Loren James Rittle
Tue Apr 17 17:05:00 GMT 2001

Hi Gerald,

> ...this time for i386-unknown-freebsd4.2.  This really shouldn't happen
> that late during a release cycle:  [...missing N_OPT symbol...]

Already on it. Although an obvious fix, I conferred with Zack and
waited until my bootstraps completed.  Patch just installed on both
mainline and 3.0 with Zack's approval.

I bow my head that I didn't look at Zack's patch closely before he
applied it.


2001-04-17  Loren J. Rittle  <>

	* dbxout.c (N_OPT): Define if not available from <stab.h>

Index: gcc/dbxout.c
RCS file: /cvs/gcc/egcs/gcc/dbxout.c,v
retrieving revision 1.77
diff -c -8 -r1.77 dbxout.c
*** dbxout.c	2001/04/16 18:30:31	1.77
--- dbxout.c	2001/04/17 01:30:44
*** 178,193 ****
--- 178,198 ----
  #include "gstab.h" /* If doing DBX on sysV, use our own stab.h.  */
  #include <stab.h>
  /* This is a GNU extension we need to reference in this file.  */
  #ifndef N_CATCH
  #define N_CATCH 0x54
+ /* This is a Solaris extension we need to reference in this file. */
+ #ifndef N_OPT
+ #define N_OPT 0x3c
+ #endif
  #ifdef __GNU_STAB__
  #define STAB_CODE_TYPE enum __stab_debug_code
  #define STAB_CODE_TYPE int

More information about the Gcc-patches mailing list