'porting' AMD compiler suite

Jung-uk Kim jkim at FreeBSD.org
Thu Apr 14 16:34:39 UTC 2016


On 04/14/16 02:48 AM, Andriy Gapon wrote:
> On 14/04/2016 05:38, William A. Mahaffey III wrote:
>> All seems OK w/ the system headers (I know, shocking !!!!), the required files
>> defining a '__uintptr_t' are in fact unconditionally included, so it must be
>> something else (bad defines somewhere, or ....). I am still chasing ....
> 
> Apologies, but are you serious?..
> 
> $ fgrep -r __uintptr_t /usr/include/
> ...
> /usr/include/x86/_types.h:typedef       __uint64_t      __uintptr_t;
> /usr/include/x86/_types.h:typedef       __uint32_t      __uintptr_t;
> ...
> 
> This is on an amd64 head system.

#ifdef  __LP64__
...
typedef __uint64_t      __uintptr_t;
#else
...
typedef __uint32_t      __uintptr_t;
#endif

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160414/27c15c64/attachment.sig>


More information about the freebsd-ports mailing list