Subject: Build failure - i386
To: None <current-users@netbsd.org>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 01/20/2007 09:33:58
Sources updated via CVS as of Sat Jan 20 07:30:55 PST 2007.

Successfully made a release for port amd64, but fails in port i386:

#   compile  libpthread/pthread_run.o
/usr/obj/tools.x86_64.i386/bin/i386--netbsdelf-gcc -O2 -Wall 
-Wstrict-prototype -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99 
-Werror   -Wno-cast-qual -I/usr/src/lib/libpthread/arch/i386 
-I/usr/src/lib/libpthread -I/usr/obj/lib/libpthread -D_LIBC 
-D__LIBPTHREAD_SOURCE__ -DPTHREAD_SA -DPTHREAD_MLOCK_KLUDGE 
-I/usr/src/sys -I/usr/src/lib/libpthread/../libc -nostdinc
-isystem /usr/obj/destdir.i386/usr/include -c 
/usr/src/lib/libpthread/pthread_run.c -o pthread_run.o
cc1: warnings being treated as errors
/usr/src/lib/libpthread/pthread_run.c: In function 
'pthread__sched_bulk':
/usr/src/lib/libpthread/pthread_run.c:261: warning: argument 'qhead' 
might be clobbered by 'longjmp' or 'vfork'

CVS got me the following version:

/*      $NetBSD: pthread_run.c,v 1.22 2007/01/16 07:09:17 ad Exp $      */

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | FA29 0E3B 35AF E8AE 6651 |  paul@whooppee.com   |
|                  | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------