From owner-freebsd-current Sun Sep 22 18:24:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1729F37B401 for ; Sun, 22 Sep 2002 18:24:40 -0700 (PDT) Received: from volatile.chemikals.org (cae57-176-076.sc.rr.com [66.57.176.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8024143E6A for ; Sun, 22 Sep 2002 18:24:39 -0700 (PDT) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.12.5/8.12.5) with ESMTP id g8N1OcQU080698; Sun, 22 Sep 2002 21:24:38 -0400 (EDT) (envelope-from morganw@chemikals.org) Received: from localhost (morganw@localhost) by volatile.chemikals.org (8.12.6/8.12.6/Submit) with ESMTP id g8N1OcHB080695; Sun, 22 Sep 2002 21:24:38 -0400 (EDT) X-Authentication-Warning: volatile.chemikals.org: morganw owned process doing -bs Date: Sun, 22 Sep 2002 21:24:38 -0400 (EDT) From: Wesley Morgan To: Bruce Evans Cc: current@FreeBSD.ORG Subject: Re: i386 machine/endian.h In-Reply-To: <20020923112155.Y16025-100000@gamplex.bde.org> Message-ID: <20020922211821.C80622-100000@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As far as I can tell there are no __bswap* macros in the libraries; they are defined as bswap*. Whatever should be happening, the network byte swapping functions are creeping in using the __hton* and __ntoh* macros. These are pulling in the __bswap* functions that are of course undefined. Unless I'm doing something completely wrong here... Just dropping in icc to replace gcc/g++. On Mon, 23 Sep 2002, Bruce Evans wrote: > On Sun, 22 Sep 2002, Wesley Morgan wrote: > > > I've been playing around with lang/icc a bit, and find it quite vexing > > that machine/endian.h has macros that are ifdef'd around __GNUC__. The > > intel compiler does not like the macros, partly because they are split > > across multiple lines and possibly for other reasons. > > The Intel compiler shouldn't see these macros, so it should emit calls > to the corresponding library functions. The macros work correctly with > Tendra because it doesn't see them. > > Bruce > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- _ __ ___ ____ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ morganw@chemikals.org _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message