Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jun 2011 21:41:48 +0100
From:      Ben Laurie <ben@links.org>
To:        hackers@freebsd.org
Subject:   _LP64 and _ILP32
Message-ID:  <4DEA988C.5030003@links.org>

next in thread | raw e-mail | index | archive | help
It turns out that both clang and gcc define _LP64 when used native on amd64.

Neither defines _ILP32 on i386 (native or cross-compiled).

dt_popc() in cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
needs on or the other. clang notices because when _ILP32 is missing
there's no return.

So ... thoughts?--

http://www.apache-ssl.org/ben.html           http://www.links.org/

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff




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