From owner-freebsd-standards@FreeBSD.ORG Thu Jan 8 13:11:21 2004 Return-Path: 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 1A7E616A4E6 for ; Thu, 8 Jan 2004 13:11:21 -0800 (PST) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADCC843D2D for ; Thu, 8 Jan 2004 13:11:19 -0800 (PST) (envelope-from linimon@lonesome.com) Received: from lonesome.lonesome.com (cs242719-195.austin.rr.com [24.27.19.195]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.soaustin.net (Postfix) with ESMTP id DB78B146F8; Thu, 8 Jan 2004 15:11:16 -0600 (CST) From: Mark Linimon Organization: Lonesome Dove Computing Services Date: Thu, 8 Jan 2004 15:10:39 -0600 User-Agent: KMail/1.5.4 To: freebsd-standards@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401081510.39015.linimon@lonesome.com> cc: postmaster@netfang.net Subject: Fwd: Re: ports/52016: New port: lang/harbour - A Clipper-compatible compiler X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 21:11:21 -0000 Hello. I'm a ports committer trying to help a submitter get a port ready for inclusion in the tree. This problem is clearly outside my league, so any suggestions on how I can help him would be appreciated. mcl ---------- Forwarded Message ---------- [mcl's cited compile error:] > ../../../../source/rtl/bsd/gcc/librtl.a(filesys.o): In function > `hb_fsCommit': > /usr/ports/lang/harbour/work/harbour/source/rtl/bsd/gcc/../../filesys.c:14 >92: undefined reference to `fdatasync' [the submitter replied:] The hb_fsCommit function in filesys.c only attempts to use fdatasync if _POSIX_SYNCHRONIZED_IO is defined, so this error appears to be due to a bug in the POSIX library implementation in GCC on -current. The fdatasync function is a POSIX function that appears to me to be mandated to be present, even if unimplemented, if _POSIX_SYNCHRONIZED_IO is defined in unistd.h. I'm not sure if I should add a FreeBSD-specific workaround for the second error based on certain (currently unknown to me) values of __GNUC__ or what... -------------------------------------------------------