Subject: Error updating libgcc
To: #List NetBSD current users <>
From: Paul Goyette <>
List: current-users
Date: 10/29/1998 16:50:49
I'm trying to update to -current, but I keep getting the following
error (manually wrapped for clarity):

cc -O  -Werror   -I/home/paul/src/gnu/lib/libgcc/../../usr.bin/egcs/arch/m68k 
	-I/home/paul/src/gnu/lib/libgcc/../../dist/gcc -c -DL_eh -o _eh.o 
cc1: warnings being treated as errors
/home/paul/src/gnu/lib/libgcc/../../dist/gcc/libgcc2.c: In function `__throw':
/home/paul/src/gnu/lib/libgcc/../../dist/gcc/libgcc2.c:3736: warning: 
	assignment makes pointer from integer without a cast
*** Error code 1


libgcc2.c lines 3732 through 3736 look like this (of course, there's no
NetBSD ID in the file, but it was last revised on Aug 17 at 04:06):

  /* Emit the stub to adjust sp and jump to the handler. */
  if (new_exception_model)
    retaddr = __builtin_eh_stub ();
    retaddr =  __builtin_eh_stub_old ();

How is it that it can compile the "if" clause but not the "else" clause?

BTW, I'm using "gcc version egcs-2.90.27 980315 (egcd-1.0.2 release)"
for this compile.  

| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:        |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |       |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 | |