From owner-freebsd-current Fri Jan 28 0:15:41 2000 Delivered-To: freebsd-current@freebsd.org Received: from canonware.com (canonware.com [207.20.242.18]) by hub.freebsd.org (Postfix) with SMTP id C636115BA3 for ; Fri, 28 Jan 2000 00:14:36 -0800 (PST) (envelope-from jasone@canonware.com) Received: (qmail 81236 invoked by uid 1001); 28 Jan 2000 08:11:56 -0000 Date: Fri, 28 Jan 2000 00:11:55 -0800 From: Jason Evans To: Kris Kennaway Cc: current@freebsd.org Subject: Re: This is getting ridiculous.. Message-ID: <20000128001155.Q73462@sturm.canonware.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from kris@hub.freebsd.org on Fri, Jan 28, 2000 at 12:05:21AM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 28, 2000 at 12:05:21AM -0800, Kris Kennaway wrote: > /home/kris/tmp/world/obj/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/alpha/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/gnu/usr.bin/cc/cpp/../cc_int/libcc_int.a(choose-temp.o): > In function `choose_temp_base': > choose-temp.c(.text+0x218): warning: mktemp() possibly used > unsafely; consider using mkstemp() > /home/kris/tmp/world/obj/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/alpha/.amd_mnt/freefall/host/c/users/kris/tmp/world/src/gnu/usr.bin/cc/cpp/../cc_fbsd/libcc_fbsd.a(mktemp.o): In > function `_gettemp': > mktemp.c(.text+0x3f0): undefined reference to `_open' > mktemp.c(.text+0x3f4): undefined reference to `_open' > *** Error code 1 > 1 error > > This is from a freshly checked-out tree on beast, with no local mods > outside of secure/. I've verified twice it's up-to-date with CVS.. I'm still trying to test this patch before committing. Jason Index: SYS.h =================================================================== RCS file: /home/ncvs/src/lib/libc/alpha/SYS.h,v retrieving revision 1.9 diff -u -r1.9 SYS.h --- SYS.h 2000/01/27 23:06:02 1.9 +++ SYS.h 2000/01/28 08:15:20 @@ -104,7 +104,7 @@ #define PSYSCALL(name) \ PLEAF(name,0); /* XXX # of args? */ \ - WEAK_ALIAS(__CONCAT(_thread_sys_,name), name); \ + WEAK_ALIAS(__CONCAT(_,name), name); \ CALLSYS_ERROR(name) #define PRSYSCALL(name) \ @@ -115,7 +115,7 @@ #define PPSEUDO(label,name) \ PLEAF(label,0); /* XXX # of args? */ \ - WEAK_ALIAS(__CONCAT(_thread_sys_,name), name); \ + WEAK_ALIAS(__CONCAT(_,name), name); \ CALLSYS_ERROR(name); \ RET; \ PEND(label) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message