From owner-freebsd-standards Sun Nov 24 21:52:16 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4854E37B401; Sun, 24 Nov 2002 21:52:14 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB0C343E4A; Sun, 24 Nov 2002 21:52:12 -0800 (PST) (envelope-from hiten@unixdaemons.com) Received: from unixdaemons.com (pc3-nfds1-5-cust242.nott-b.cable.ntl.com [80.5.196.242]) (authenticated bits=0) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gAP5pnU9065005; Mon, 25 Nov 2002 00:51:50 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host pc3-nfds1-5-cust242.nott-b.cable.ntl.com [80.5.196.242] claimed to be unixdaemons.com Message-ID: <3DE1BA5A.5020302@unixdaemons.com> Date: Mon, 25 Nov 2002 05:51:22 +0000 From: Hiten Pandya Reply-To: hiten@unixdaemons.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bruce Evans Cc: Mike Barcroft , freebsd-standards@FreeBSD.ORG Subject: Re: CLOCK_REALTIME and TIME_ABSTIME missing from time.h References: <20021124160549.G52232-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > On Sat, 23 Nov 2002, Mike Barcroft wrote: > > >>Hiten Pandya writes: >> >>>Hello. >>> >>>After doing some work on posixtest, I have found out, that time.h is >>>missing CLOCK_REALTIME, and TIME_ABSTIME. Is there a reason to why >>>we dont have these #define's? >> >>They are listed as TMR (Timer) options in POSIX. We don't currently >>support this option. > > > TIME_ABSTIME seems to be a misspelling of TIMER_ABSTIME. Neither is > supported, so they probably shouldn't be defined. But TIMER_ABSTIME > is defined in a wrong place (). > > CLOCK_REALTIME is the only CLOCK_* timer that is supported. It is > defined in a wrong place (). In needed to "fix" this when > I fixed the namespace pollution of including in > . The following patch doesn't fix the misplacement of > things in : > > %%% > Index: time.h > =================================================================== > RCS file: /home/ncvs/src/include/time.h,v > retrieving revision 1.30 > diff -u -2 -r1.30 time.h > --- time.h 6 Sep 2002 11:23:32 -0000 1.30 > +++ time.h 6 Sep 2002 12:43:56 -0000 > @@ -64,4 +62,13 @@ > #endif > > +#if __POSIX_VISIBLE >= 199309 > +#define CLOCK_REALTIME 0 > +#define CLOCK_VIRTUAL 1 > +#define CLOCK_PROF 2 > + > +#define TIMER_RELTIME 0x0 /* relative timer */ > +#define TIMER_ABSTIME 0x1 /* absolute timer */ > +#endif > + > #ifndef _CLOCK_T_DECLARED > typedef __clock_t clock_t; > %%% > > Bruce > > . Hi Bruce Is this going to be committed, or ...? -- Hiten hiten@unixdaemons.com, hiten@uk.FreeBSD.org, hiten@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Mon Nov 25 16:10: 4 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A7EC37B401 for ; Mon, 25 Nov 2002 16:10:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC64B43EC5 for ; Mon, 25 Nov 2002 16:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQ0A1x3033110 for ; Mon, 25 Nov 2002 16:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAQ0A1TA033109; Mon, 25 Nov 2002 16:10:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C6EC37B401 for ; Mon, 25 Nov 2002 16:08:26 -0800 (PST) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A110743E9C for ; Mon, 25 Nov 2002 16:08:25 -0800 (PST) (envelope-from matthias.andree@web.de) Received: from m2a2.yi.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id CAAF3A3841 for ; Tue, 26 Nov 2002 01:08:21 +0100 (CET) Received: from libertas.emma.line.org (libertas.emma.line.org [192.168.0.2]) by merlin.emma.line.org (Postfix) with ESMTP id C65F5689D1; Tue, 26 Nov 2002 01:08:16 +0100 (CET) Received: from libertas.emma.line.org (localhost [127.0.0.1]) by libertas.emma.line.org (8.12.6/8.12.6) with ESMTP id gAQ08GVR007456; Tue, 26 Nov 2002 01:08:16 +0100 (CET) (envelope-from emma@libertas.emma.line.org) Received: (from emma@localhost) by libertas.emma.line.org (8.12.6/8.12.6/Submit) id gAQ08EVh007455; Tue, 26 Nov 2002 01:08:14 +0100 (CET) Message-Id: <200211260008.gAQ08EVh007455@libertas.emma.line.org> Date: Tue, 26 Nov 2002 01:08:14 +0100 (CET) From: Matthias Andree Reply-To: Matthias Andree To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: standards/45738: sh "unset" built-in violates IEEE Std 1003.1-2001. Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >Number: 45738 >Category: standards >Synopsis: sh "unset" built-in violates IEEE Std 1003.1-2001. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 25 16:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD libertas.emma.line.org 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 20 15:38:48 CET 2002 toor@libertas.emma.line.org:/usr/obj/usr/src/sys/LIBERTAS i386 >Description: FreeBSD /bin/sh violates IEEE Std 1003.1-2001 when unsetting an undefined variable or function in that it flags error. The standard requires that unsetting an unset variable or function will NOT be treated as an error. See http://www.opengroup.org/onlinepubs/007904975/utilities/unset.html >How-To-Repeat: /bin/sh -c 'set -e ; BONK= ; unset BONK ; unset BONK ; echo good' /bin/sh -c 'set -e ; f() {} ; unset -f f ; unset -f f ; echo good' If either test prints nothing, it's broken. If either test prints good, it's fine. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Mon Nov 25 16:50: 5 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F02CE37B401 for ; Mon, 25 Nov 2002 16:50:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A778743EBE for ; Mon, 25 Nov 2002 16:50:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQ0o3x3041337 for ; Mon, 25 Nov 2002 16:50:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAQ0o2IV041336; Mon, 25 Nov 2002 16:50:02 -0800 (PST) Date: Mon, 25 Nov 2002 16:50:02 -0800 (PST) Message-Id: <200211260050.gAQ0o2IV041336@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org Cc: From: Matthias Andree Subject: Re: standards/45738: sh "unset" built-in violates IEEE Std 1003.1-2001. Reply-To: Matthias Andree Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following reply was made to PR standards/45738; it has been noted by GNATS. From: Matthias Andree To: freebsd-gnats-submit@FreeBSD.org, matthias.andree@web.de Cc: Subject: Re: standards/45738: sh "unset" built-in violates IEEE Std 1003.1-2001. Date: Tue, 26 Nov 2002 01:42:17 +0100 Here's a fix: (I hacked up the paths, don't mind that). diff -ru /usr/src/bin/sh/exec.c /root/sh/sh/exec.c --- ./src/bin/sh/exec.c~ Tue Aug 27 19:47:09 2002 +++ ./src/bin/sh/exec.c Tue Nov 26 01:35:11 2002 @@ -699,7 +699,7 @@ delete_cmd_entry(); return (0); } - return (1); + return (0); } /* diff -ru /usr/src/bin/sh/var.c /root/sh/sh/var.c --- ./src/bin/sh/var.c~ Tue Aug 27 19:47:09 2002 +++ ./src/bin/sh/var.c Tue Nov 26 01:34:55 2002 @@ -778,7 +778,7 @@ } } - return (1); + return (0); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Mon Nov 25 18:32:55 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 957EB37B401; Mon, 25 Nov 2002 18:32:54 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4262A43ECF; Mon, 25 Nov 2002 18:32:54 -0800 (PST) (envelope-from mike@FreeBSD.org) Received: from freefall.freebsd.org (mike@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQ2Wsx3072686; Mon, 25 Nov 2002 18:32:54 -0800 (PST) (envelope-from mike@freefall.freebsd.org) Received: (from mike@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAQ2Wsu7072682; Mon, 25 Nov 2002 18:32:54 -0800 (PST) Date: Mon, 25 Nov 2002 18:32:54 -0800 (PST) From: Mike Barcroft Message-Id: <200211260232.gAQ2Wsu7072682@freefall.freebsd.org> To: mike@FreeBSD.org, freebsd-standards@FreeBSD.org, tjr@FreeBSD.org Subject: Re: standards/45738: sh "unset" built-in violates IEEE Std 1003.1-2001. Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: sh "unset" built-in violates IEEE Std 1003.1-2001. Responsible-Changed-From-To: freebsd-standards->tjr Responsible-Changed-By: mike Responsible-Changed-When: Mon Nov 25 18:32:24 PST 2002 Responsible-Changed-Why: tjr is working on /bin/sh conformance. http://www.freebsd.org/cgi/query-pr.cgi?pr=45738 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Nov 26 12:38:24 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1345B37B401; Tue, 26 Nov 2002 12:38:24 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6AE343E88; Tue, 26 Nov 2002 12:38:23 -0800 (PST) (envelope-from wollman@FreeBSD.org) Received: from freefall.freebsd.org (wollman@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQKcNx3089989; Tue, 26 Nov 2002 12:38:23 -0800 (PST) (envelope-from wollman@freefall.freebsd.org) Received: (from wollman@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAQKcNVY089985; Tue, 26 Nov 2002 12:38:23 -0800 (PST) Date: Tue, 26 Nov 2002 12:38:23 -0800 (PST) From: Garrett Wollman Message-Id: <200211262038.gAQKcNVY089985@freefall.freebsd.org> To: wollman@FreeBSD.org, wollman@FreeBSD.org, standards@FreeBSD.org Subject: Re: kern/28260: UIO_MAXIOV needs to be made public Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: UIO_MAXIOV needs to be made public Responsible-Changed-From-To: wollman->standards Responsible-Changed-By: wollman Responsible-Changed-When: Tue Nov 26 12:37:06 PST 2002 Responsible-Changed-Why: I don't have time to do the MFC on this right now; anyone who does is welcome to pick up the task. http://www.freebsd.org/cgi/query-pr.cgi?pr=28260 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Nov 26 12:42:32 2002 Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8186D37B404; Tue, 26 Nov 2002 12:42:31 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E040C43E88; Tue, 26 Nov 2002 12:42:30 -0800 (PST) (envelope-from wollman@FreeBSD.org) Received: from freefall.freebsd.org (wollman@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAQKgUx3092020; Tue, 26 Nov 2002 12:42:30 -0800 (PST) (envelope-from wollman@freefall.freebsd.org) Received: (from wollman@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAQKgU3L092016; Tue, 26 Nov 2002 12:42:30 -0800 (PST) Date: Tue, 26 Nov 2002 12:42:30 -0800 (PST) From: Garrett Wollman Message-Id: <200211262042.gAQKgU3L092016@freefall.freebsd.org> To: wollman@FreeBSD.org, freebsd-standards@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/43426: mlockall and munlockall system calls are missing from FreeBSD Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: mlockall and munlockall system calls are missing from FreeBSD Class-Changed-From-To: sw-bug->wish Class-Changed-By: wollman Class-Changed-When: Tue Nov 26 12:38:54 PST 2002 Class-Changed-Why: This is not really a bug report, but rather a request for implementation of an optional feature. Since no code is enclosed, mark it as a `wish'. Responsible-Changed-From-To: freebsd-standards->freebsd-bugs Responsible-Changed-By: wollman Responsible-Changed-When: Tue Nov 26 12:38:54 PST 2002 Responsible-Changed-Why: This is not a standards issue; it's request for implementation of an optional feature by the VM gurus (who are probably busy working on lock pushdown). http://www.freebsd.org/cgi/query-pr.cgi?pr=43426 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Nov 26 19:42:21 2002 Delivered-To: freebsd-standards@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id DDEF937B401; Tue, 26 Nov 2002 19:42:19 -0800 (PST) Date: Tue, 26 Nov 2002 19:42:19 -0800 From: Juli Mallett To: freebsd-standards@FreeBSD.org, re@FreeBSD.org Subject: Approval to fix non-GCC users of Message-ID: <20021126194219.A92609@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The following patch fixes for use on i386 with non-GCC consumers... __va_size is defined inside an if GNUC block, but not used solely within an if GNUC block. This allows me to compile a number of pieces of software I work on with TenDRA 4.1.2 on -CURRENT again. It only "affects" things that would break, behaviour stays the same for modern GCC (unrelated block) and for old GCC (definition still in scope). I'd like to get approval to get this in for 5.0. %%% Index: sys/i386/include/stdarg.h =================================================================== RCS file: /home/ncvs/src/sys/i386/include/stdarg.h,v retrieving revision 1.17 diff -b -d -w -u -r1.17 stdarg.h --- sys/i386/include/stdarg.h 6 Oct 2002 22:01:06 -0000 1.17 +++ sys/i386/include/stdarg.h 27 Nov 2002 03:38:07 -0000 @@ -64,11 +64,10 @@ #else /* ! __GNUC__ post GCC 2.95 */ -#ifdef __GNUC__ - #define __va_size(type) \ (((sizeof(type) + sizeof(int) - 1) / sizeof(int)) * sizeof(int)) +#ifdef __GNUC__ #define va_start(ap, last) \ ((ap) = (va_list)__builtin_next_arg(last)) #else %%% Thanks, juli. -- Juli Mallett OpenDarwin, Mono, FreeBSD Developer. ircd-hybrid Developer, EFnet addict. FreeBSD on MIPS-Anything on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Nov 26 20:26: 9 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 976F437B401; Tue, 26 Nov 2002 20:26:08 -0800 (PST) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA0C843E4A; Tue, 26 Nov 2002 20:26:07 -0800 (PST) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id DE86D9BC3; Tue, 26 Nov 2002 23:16:41 -0500 (EST) Date: Tue, 26 Nov 2002 23:16:41 -0500 From: Mike Barcroft To: Juli Mallett Cc: obrien@FreeBSD.org, freebsd-standards@FreeBSD.org, re@FreeBSD.org Subject: Re: Approval to fix non-GCC users of Message-ID: <20021126231641.C67382@espresso.q9media.com> References: <20021126194219.A92609@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021126194219.A92609@FreeBSD.org>; from jmallett@FreeBSD.org on Tue, Nov 26, 2002 at 07:42:19PM -0800 Organization: The FreeBSD Project Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [re@ probably doesn't need to be CC'd on this thread. I'm sure they have enough mail to read, but I'll include them anyway.] Juli Mallett writes: > The following patch fixes for use on i386 with > non-GCC consumers... __va_size is defined inside an if GNUC > block, but not used solely within an if GNUC block. This > allows me to compile a number of pieces of software I work > on with TenDRA 4.1.2 on -CURRENT again. > > It only "affects" things that would break, behaviour stays > the same for modern GCC (unrelated block) and for old GCC > (definition still in scope). > > I'd like to get approval to get this in for 5.0. I sent David O'Brien a similar patch about a week ago. IIRC, he's already seeking re@ approval. There are some other issues which prevented me from completing the latest TenDRA snapshot build. 1. The new #warning in isn't #if __GNUC__ ... #endif protected. Adding the protection doesn't fix it for some reason (ie. it's complaining about unknown CPP syntax in a conditional that doesn't apply.) I haven't looked to see what the C rule is for this, but I suspect TenDRA is doing something wrong. 2. TenDRA assumes an older POSIX system and makes wrong assumptions about some limits it happens to duplicate in its version of . Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Tue Nov 26 20:54:30 2002 Delivered-To: freebsd-standards@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 931) id DAEEC37B401; Tue, 26 Nov 2002 20:54:28 -0800 (PST) Date: Tue, 26 Nov 2002 20:54:28 -0800 From: Juli Mallett To: Mike Barcroft Cc: obrien@FreeBSD.org, freebsd-standards@FreeBSD.org, re@FreeBSD.org Subject: Re: Approval to fix non-GCC users of Message-ID: <20021126205428.A95993@FreeBSD.org> References: <20021126194219.A92609@FreeBSD.org> <20021126231641.C67382@espresso.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021126231641.C67382@espresso.q9media.com>; from mike@FreeBSD.org on Tue, Nov 26, 2002 at 11:16:41PM -0500 Organisation: The FreeBSD Project X-Alternate-Addresses: , , , , X-Towel: Yes X-LiveJournal: flata, jmallett X-Negacore: Yes Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * De: Mike Barcroft [ Data: 2002-11-26 ] [ Subjecte: Re: Approval to fix non-GCC users of ] > [re@ probably doesn't need to be CC'd on this thread. I'm sure they > have enough mail to read, but I'll include them anyway.] > > Juli Mallett writes: > > The following patch fixes for use on i386 with > > non-GCC consumers... __va_size is defined inside an if GNUC > > block, but not used solely within an if GNUC block. This > > allows me to compile a number of pieces of software I work > > on with TenDRA 4.1.2 on -CURRENT again. > > > > It only "affects" things that would break, behaviour stays > > the same for modern GCC (unrelated block) and for old GCC > > (definition still in scope). > > > > I'd like to get approval to get this in for 5.0. > > I sent David O'Brien a similar patch about a week ago. IIRC, he's > already seeking re@ approval. There are some other issues which > prevented me from completing the latest TenDRA snapshot build. Oh, ok, cool. > 1. The new #warning in isn't #if __GNUC__ ... #endif > protected. Adding the protection doesn't fix it for some reason (ie. > it's complaining about unknown CPP syntax in a conditional that > doesn't apply.) I haven't looked to see what the C rule is for this, > but I suspect TenDRA is doing something wrong. The "protect ancient compilers" trick of adding whitespace doesn't fix it. I tossed an email to BDE asking if we should just make it an error, as a warning of that variety doesn't go a long way to preventing such things, but *shrug*. > 2. TenDRA assumes an older POSIX system and makes wrong assumptions > about some limits it happens to duplicate in its version of > . This is a -Yansi / -Ysystem / -Yposix thing, and I haven't *seen* any problems, but I don't know for sure if it is right or not. -- Juli Mallett OpenDarwin, Mono, FreeBSD Developer. ircd-hybrid Developer, EFnet addict. FreeBSD on MIPS-Anything on FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message From owner-freebsd-standards Wed Nov 27 13:25:15 2002 Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C53E137B401 for ; Wed, 27 Nov 2002 13:25:14 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A87743E4A for ; Wed, 27 Nov 2002 13:25:14 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 876C85374; Wed, 27 Nov 2002 22:25:11 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: standards@freebsd.org Subject: stdint in -STABLE From: Dag-Erling Smorgrav Date: Wed, 27 Nov 2002 22:25:11 +0100 Message-ID: Lines: 5 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386--freebsd) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Any chance of MFCing stdint.h + new printf(3) functionality? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message