Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 00:11:55 -0800
From:      Jason Evans <jasone@canonware.com>
To:        Kris Kennaway <kris@hub.freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: This is getting ridiculous..
Message-ID:  <20000128001155.Q73462@sturm.canonware.com>
In-Reply-To: <Pine.BSF.4.21.0001272332490.87604-100000@hub.freebsd.org>; from kris@hub.freebsd.org on Fri, Jan 28, 2000 at 12:05:21AM -0800
References:  <Pine.BSF.4.21.0001272332490.87604-100000@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000128001155.Q73462>