=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for xf86-video-amdgpu-18.0.1 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/x11/xf86-video-amdgpu/work/xf86-video-amdgpu-18.0.1' Making all in src gmake[2]: Entering directory '/data/scratch/x11/xf86-video-amdgpu/work/xf86-video-amdgpu-18.0.1/src' CC amdgpu_misc.lo CC amdgpu_probe.lo CC amdgpu_bo_helper.lo CC amdgpu_dri2.lo CC amdgpu_dri3.lo CC amdgpu_drm_queue.lo CC drmmode_display.lo CC amdgpu_sync.lo CC amdgpu_kms.lo CC amdgpu_present.lo CC amdgpu_glamor_wrappers.lo CC amdgpu_glamor.lo CC amdgpu_video.lo CC amdgpu_pixmap.lo In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/stdint.h:55:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:55:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from amdgpu_misc.c:27: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from amdgpu_kms.c:34: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. Makefile:535: recipe for target 'amdgpu_misc.lo' failed gmake[2]: *** [amdgpu_misc.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: note: to match this '(' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: redefinition of '__uint32_t' as different kind of symbol bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:65:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/stdint.h:55:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:55:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from amdgpu_pixmap.c:29: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from amdgpu_drm_queue.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from amdgpu_drm_queue.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_drm_queue.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_drm_queue.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' In file included from __CAST(uint64_t, __builtin_constant_p((x)) ? \amdgpu_bo_helper.c : ^28 : /usr/include/sys/types.hIn file included from :./amdgpu_drv.h90::4618: :In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hnote:: 37expanded from macro 'uint64_t': /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:10:#define uint64_t __uint64_t warning ^: type specifier missing, defaults to 'int' [-Wimplicit-int] /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ bswap_64(uint64_t x) ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from amdgpu_bo_helper.c:28: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_bo_helper.c:In file included from 28amdgpu_drm_queue.c: :In file included from 37./amdgpu_drv.h: :In file included from 46./amdgpu_drv.h: :In file included from 46/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :In file included from 37/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37:: 300/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::1302:: 15error:: expected ')'error : use of undeclared identifier 'x'../config.h :141:18: note: expanded from macro 'bswap_64' return (((x & 0xFF00000000000000ull) >> 56) | ^ #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnote:: 303to match this '(': 15:../config.h :error141: :use of undeclared identifier 'x'18 : note: expanded from macro 'bswap_64' ((x & 0x00FF000000000000ull) >> 40) | ^#define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:304:15: error: /usr/include/sys/cdefs.huse of undeclared identifier 'x': 606:35: note: expanded from macro '__CAST' ((x & 0x0000FF0000000000ull) >> 24) | ^ #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_bo_helper.c:28: In file included from ./amdgpu_drv.h:46/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :In file included from 305/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::1537:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.herror:: 300use of undeclared identifier 'x': 1: error: redefinition of '__uint64_t' as different kind of symbol ((x & 0x000000FF00000000ull) >> 8) | ^ bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:306:15: error __CAST(uint64_t, __builtin_constant_p((x)) ? \: use of undeclared identifier 'x' ^ /usr/include/sys/stdint.h:75:18: ((x & 0x00000000FF000000ull) << 8) | note ^: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ In file included from drmmode_display.c:35: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h:50: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h::30950:: 15/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 300error:: 10use of undeclared identifier 'x': warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ((x & 0x00000000000000FFull) << 56)); ^ In file included from amdgpu_bo_helper.c:28: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: bswap_64(uint64_t x)/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ^: 319::302/usr/include/sys/types.h::159010::18 :: error warning: : use of undeclared identifier 'x'type specifier missing, defaults to 'int' [-Wimplicit-int]note : expanded from macro 'uint64_t' bswap_32(uint32_t x) ^ #define uint64_t __uint64_t return (((x & 0xFF00000000000000ull) >> 56) |/usr/include/sys/types.h : ^80 : ^18 :In file included from drmmode_display.cnote:: 35expanded from macro 'uint32_t': In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h:50: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h#define uint32_t __uint32_t: 50 ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:In file included from 1amdgpu_drm_queue.c:: 37warning: : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hIn file included from type specifier missing, defaults to 'int' [-Wimplicit-int]: 303./amdgpu_drv.h:bswap_64(uint64_t x)15:: 46 : error^: In file included from use of undeclared identifier 'x'../config.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:: 37141: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h18: ((x & 0x00FF000000000000ull) >> 40) |319: ^: 1note:: expanded from macro 'bswap_64'warning : type specifier missing, defaults to 'int' [-Wimplicit-int] #define bswap_64 bswap64 ^ bswap_32(uint32_t x)/usr/include/sys/bswap.h :^64 :19:../config.h :note138: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hexpanded from macro 'bswap64'18 ::304 :note15: : __CAST(uint64_t, __builtin_constant_p((x)) ? \expanded from macro 'bswap_32' error ^: use of undeclared identifier 'x'#define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68 ((x & 0x0000FF0000000000ull) >> 24) |In file included from drmmode_display.c ^::3519: : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.hnote:: 50expanded from macro 'bswap32': In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:50: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300: __CAST(uint32_t, __builtin_constant_p((x)) ? \1 : ^ error: expected ')' In file included from ../config.hamdgpu_drm_queue.c::14137:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h18:: 305In file included from ::15./amdgpu_drv.h:: note46: errorexpanded from macro 'bswap_64': : use of undeclared identifier 'x'In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:#define bswap_64 bswap6437 : ^ ((x & 0x000000FF00000000ull) >> 8) |/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h /usr/include/sys/bswap.h ^::64319 ::451:: noteerror: : expanded from macro 'bswap64'expected ')' ../config.h:138 __CAST(uint64_t, __builtin_constant_p((x)) ? \: 18 ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:note300: :expanded from macro 'bswap_32'1 :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :note#define bswap_32 bswap32: 306to match this '(': ^../config.h :/usr/include/sys/bswap.h141::1518::68 :errornote: : 45expanded from macro 'bswap_64'use of undeclared identifier 'x' : #define bswap_64 bswap64note : ^expanded from macro 'bswap32' /usr/include/sys/bswap.h ((x & 0x00000000FF000000ull) << 8) |: 64 ^: __CAST(uint32_t, __builtin_constant_p((x)) ? \ 2 : ^ note: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hexpanded from macro 'bswap64': 319:1: __CAST(uint64_t, __builtin_constant_p((x)) ? \note : ^to match this '(' ../config.h/usr/include/sys/cdefs.h::138606/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:::3071835:: :note : 15expanded from macro 'bswap_32'note:: expanded from macro '__CAST'error : #define bswap_32 bswap32use of undeclared identifier 'x' #define __CAST(__dt, __st) ((__dt)(__st)) ^ ^ /usr/include/sys/bswap.h ((x & 0x0000000000FF0000ull) << 24) |: 68 ^: 2In file included from :drmmode_display.c :note35: : expanded from macro 'bswap32'In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h:50: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:50: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: __CAST(uint32_t, __builtin_constant_p((x)) ? \300 : ^1 : /usr/include/sys/cdefs.herror:: 606redefinition of '__uint64_t' as different kind of symbol:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :35bswap_64(uint64_t x): 308 ^: 15note../config.h:: 141error:: 18use of undeclared identifier 'x': : expanded from macro '__CAST'note : expanded from macro 'bswap_64' ((x & 0x000000000000FF00ull) << 40) | #define __CAST(__dt, __st) ((__dt)(__st)) ^ #define bswap_64 bswap64 ^ ^ /usr/include/sys/bswap.h:64:In file included from 9amdgpu_drm_queue.c:: 37note: : In file included from expanded from macro 'bswap64'./amdgpu_drv.h :46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h __CAST(uint64_t, __builtin_constant_p((x)) ? \: 37/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ^: : 309/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/usr/include/sys/types.h::319:15:901::18: :error : redefinition of '__uint32_t' as different kind of symbolerrornote: use of undeclared identifier 'x': expanded from macro 'uint64_t'bswap_32(uint32_t x) ^ #define uint64_t __uint64_t ((x & 0x00000000000000FFull) << 56)); ^ ^../config.h :138:18/usr/include/sys/common_int_types.h:: 52note:: 27expanded from macro 'bswap_32': /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnote:#define bswap_32 bswap32319 : ^: 10 previous definition is here: /usr/include/sys/bswap.h :warningtypedef __UINT64_TYPE__ __uint64_t;68 : ^: 9type specifier missing, defaults to 'int' [-Wimplicit-int]: note: bswap_32(uint32_t x)expanded from macro 'bswap32' ^ /usr/include/sys/stdint.h:65 __CAST(uint32_t, __builtin_constant_p((x)) ? \: 18 ^: /usr/include/sys/types.hnote:: 80expanded from macro 'uint32_t': 18: note: #define uint32_t __uint32_texpanded from macro 'uint32_t' ^ #define uint32_t __uint32_tIn file included from amdgpu_bo_helper.c ^: 28/usr/include/sys/common_int_types.h: :In file included from 50./amdgpu_drv.h::2746:: In file included from note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :previous definition is here37 : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319typedef __UINT32_TYPE__ __uint32_t;: 1 ^: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:138:18: noteIn file included from : drmmode_display.cexpanded from macro 'bswap_32': 35: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h:50#define bswap_32 bswap32In file included from : amdgpu_drm_queue.c In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h37:: ^In file included from 50./amdgpu_drv.h: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h46:/usr/include/sys/bswap.h302::: 1568In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::19 :error37: : use of undeclared identifier 'x'note /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :expanded from macro 'bswap32'321 return (((x & 0xFF00000000000000ull) >> 56) |: 15 ^: __CAST(uint32_t, __builtin_constant_p((x)) ? \error : ^use of undeclared identifier 'x' In file included from amdgpu_bo_helper.c: return (((x & 0xFF000000) >> 24) |28 : ^In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::30337:: 15/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 319error:: 1use of undeclared identifier 'x': error: expected ')' ((x & 0x00FF000000000000ull) >> 40) | ../config.h ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: 138::32218::15 :note : errorexpanded from macro 'bswap_32': use of undeclared identifier 'x' #define bswap_32 bswap32 ^ ((x & 0x00FF0000) >> 8) |/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h : 304 ^/usr/include/sys/bswap.h ::6815::45 :error : noteuse of undeclared identifier 'x': expanded from macro 'bswap32' ((x & 0x0000FF0000000000ull) >> 24) | ^ __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 323note:: 15to match this '(': error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h../config.h: ::use of undeclared identifier 'x'305138: 15::18 :error ((x & 0x0000FF00) << 8) |: use of undeclared identifier 'x'note ^: expanded from macro 'bswap_32' ((x & 0x000000FF00000000ull) >> 8) | #define bswap_32 bswap32 ^ ^ /usr/include/sys/bswap.h:68:2: note: expanded from macro 'bswap32' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::324306 __CAST(uint32_t, __builtin_constant_p((x)) ? \: 15: ^15:: /usr/include/sys/cdefs.herror:error606: :: 35use of undeclared identifier 'x': use of undeclared identifier 'x'note : ((x & 0x000000FF) << 24));expanded from macro '__CAST' ((x & 0x00000000FF000000ull) << 8) | ^ ^ #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_bo_helper.c:28: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::37307: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h15::319 :error1: :use of undeclared identifier 'x' error: redefinition of '__uint32_t' as different kind of symbol ((x & 0x0000000000FF0000ull) << 24) | ^ bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/usr/include/sys/bswap.h::30868:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::936315::10 :: errornote: use of undeclared identifier 'x': warning expanded from macro 'bswap32': type specifier missing, defaults to 'int' [-Wimplicit-int] ((x & 0x000000000000FF00ull) << 40) | ^ bswap_16(uint16_t x) __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ ^ /usr/include/sys/types.h/usr/include/sys/stdint.h::7065::1818:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnotenote:: 309expanded from macro 'uint32_t': : 15expanded from macro 'uint16_t': #define uint32_t __uint32_terror : ^use of undeclared identifier 'x' #define uint16_t __uint16_t/usr/include/sys/common_int_types.h : ((x & 0x00000000000000FFull) << 56));50 ^: 27 ^: In file included from noteamdgpu_drm_queue.c: :previous definition is here37 : In file included from ./amdgpu_drv.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:typedef __UINT32_TYPE__ __uint32_t;46:: 319In file included from : 10 ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :warning37: : type specifier missing, defaults to 'int' [-Wimplicit-int]/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :363bswap_32(uint32_t x): 1 ^: /usr/include/sys/types.hwarning:: 80type specifier missing, defaults to 'int' [-Wimplicit-int]: 18: note: bswap_16(uint16_t x)expanded from macro 'uint32_t' ^In file included from #define uint32_t __uint32_tamdgpu_bo_helper.c : ^../config.h :28In file included from : drmmode_display.c135In file included from ::./amdgpu_drv.h3518::46 : : In file included from In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.hnote:: 50expanded from macro 'bswap_16': /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hIn file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h37:#define bswap_16 bswap16: 50/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :: 321 ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 31915:/usr/include/sys/bswap.h1::: 72warning :: errortype specifier missing, defaults to 'int' [-Wimplicit-int]19 :: bswap_32(uint32_t x) use of undeclared identifier 'x'note : ^ expanded from macro 'bswap16'../config.h :138 return (((x & 0xFF000000) >> 24) |: 18 ^: __CAST(uint16_t, __builtin_constant_p((x)) ? \note : ^expanded from macro 'bswap_32' #define bswap_32 bswap32In file included from amdgpu_drm_queue.c ^: 37/usr/include/sys/bswap.h: :In file included from 68./amdgpu_drv.h::1946:: In file included from note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :expanded from macro 'bswap32'/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37: 322: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h15 __CAST(uint32_t, __builtin_constant_p((x)) ? \: : ^363 : 1In file included from errordrmmode_display.c:: 35: : use of undeclared identifier 'x'In file included from error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h: :expected ')'50 : ((x & 0x00FF0000) >> 8) |In file included from ../config.h ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:: 50135: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h18::319 :note1: :expanded from macro 'bswap_16' error: expected ')' #define bswap_16 bswap16../config.h : ^138 :/usr/include/sys/bswap.h18::/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h 72note::323: :expanded from macro 'bswap_32'45 :15#define bswap_32 bswap32: ^noteerror: expanded from macro 'bswap16'/usr/include/sys/bswap.h: :use of undeclared identifier 'x'68 :45: note: expanded from macro 'bswap32' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ((x & 0x0000FF00) << 8) | __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ ^ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::363319::11:: notenote: : to match this '('to match this '(' ../config.h../config.h::/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h138135:::18324:18 :note :: 15expanded from macro 'bswap_32'note : :expanded from macro 'bswap_16'#define bswap_32 bswap32 ^error#define bswap_16 bswap16: /usr/include/sys/bswap.huse of undeclared identifier 'x': ^68 : 2:/usr/include/sys/bswap.h :note ((x & 0x000000FF) << 24));: expanded from macro 'bswap32'72 ^: 2 : note __CAST(uint32_t, __builtin_constant_p((x)) ? \: expanded from macro 'bswap16' ^ /usr/include/sys/cdefs.h:606:35: __CAST(uint16_t, __builtin_constant_p((x)) ? \ note ^: expanded from macro '__CAST' /usr/include/sys/cdefs.h:606:#define __CAST(__dt, __st) ((__dt)(__st))35 : ^ note: In file included from expanded from macro '__CAST'drmmode_display.c :35: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h:#define __CAST(__dt, __st) ((__dt)(__st))50 : ^In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:50: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319In file included from :amdgpu_drm_queue.c1:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:37 : errorIn file included from :: 363./amdgpu_drv.hredefinition of '__uint32_t' as different kind of symbol:: 4610bswap_32(uint32_t x): :In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h^warning : ../config.htype specifier missing, defaults to 'int' [-Wimplicit-int]: 138::3718: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :bswap_16(uint16_t x)363note :: 1 ^:expanded from macro 'bswap_32' error/usr/include/sys/stdint.h#define bswap_32 bswap32: :redefinition of '__uint16_t' as different kind of symbol ^ 55/usr/include/sys/bswap.h::1868bswap_16(uint16_t x):: 9 :note ^note : : ../config.hexpanded from macro 'uint16_t'expanded from macro 'bswap32' : 135:18#define uint16_t __uint16_t: __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ ^note : expanded from macro 'bswap_16'In file included from /usr/include/sys/types.h amdgpu_bo_helper.c::8028:: 18#define bswap_16 bswap16:In file included from note ^./amdgpu_drv.h : :expanded from macro 'uint32_t'46 : /usr/include/sys/bswap.hIn file included from :#define uint32_t __uint32_t/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h 72: ^:37 9/usr/include/sys/common_int_types.h:: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :50note:: 27expanded from macro 'bswap16': 363 :note1: __CAST(uint16_t, __builtin_constant_p((x)) ? \: previous definition is here ^ /usr/include/sys/types.hwarning:typedef __UINT32_TYPE__ __uint32_t;70: :type specifier missing, defaults to 'int' [-Wimplicit-int]18 : ^ notebswap_16(uint16_t x): expanded from macro 'uint16_t'^ ../config.h:#define uint16_t __uint16_t135 : ^18 :/usr/include/sys/common_int_types.h :note48: :In file included from expanded from macro 'bswap_16'27drmmode_display.c:: note35: : previous definition is hereIn file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.htypedef __UINT16_TYPE__ __uint16_t;:#define bswap_16 bswap16 50 ^: In file included from ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h :50/usr/include/sys/bswap.h: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h72::32119::15 :note : errorexpanded from macro 'bswap16': use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from In file included from amdgpu_drm_queue.camdgpu_bo_helper.c::3728: : In file included from In file included from ./amdgpu_drv.h./amdgpu_drv.h::4646: : In file included from In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:3737: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h322: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:15:365:363: 15error::1 : :use of undeclared identifier 'x' error : erroruse of undeclared identifier 'x': ((x & 0x00FF0000) >> 8) |expected ')' ^ ../config.h return (((x & 0xFF00) >> 8) |: 135 ^: 18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h45::323 :note15: :expanded from macro 'bswap16' error: use of undeclared identifier 'x' fatal error: ((x & 0x0000FF00) << 8) |too many errors emitted, stopping now [-ferror-limit=] __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:135:18: note: expanded from macro 'bswap_16' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:#define bswap_16 bswap16324 : ^15 :/usr/include/sys/bswap.h :error72: :use of undeclared identifier 'x'2 : note: ((x & 0x000000FF) << 24));expanded from macro 'bswap16' ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_bo_helper.c:28: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :redefinition of '__uint16_t' as different kind of symbol363 :10: warning: bswap_16(uint16_t x)type specifier missing, defaults to 'int' [-Wimplicit-int] ^ bswap_16(uint16_t x) ^ ../config.h/usr/include/sys/types.h::13570::1818:: notenote: : expanded from macro 'bswap_16'expanded from macro 'uint16_t' #define uint16_t __uint16_t#define bswap_16 bswap16 ^ ^ /usr/include/sys/bswap.hIn file included from :drmmode_display.c72::359: :In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.hnote:: 50expanded from macro 'bswap16': In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:50: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: __CAST(uint16_t, __builtin_constant_p((x)) ? \warning : ^type specifier missing, defaults to 'int' [-Wimplicit-int] /usr/include/sys/stdint.h:bswap_16(uint16_t x)55 :^18 :../config.h :note135: :expanded from macro 'uint16_t'18 : note: expanded from macro 'bswap_16' #define uint16_t __uint16_t #define bswap_16 bswap16 ^ ^ /usr/include/sys/common_int_types.h/usr/include/sys/bswap.h::4872::2719:: notenote: : previous definition is hereexpanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ typedef __UINT16_TYPE__ __uint16_t; ^ ^ In file included from drmmode_display.c:35: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h:50: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:50: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: noteIn file included from : amdgpu_bo_helper.cexpanded from macro 'bswap16': 28: In file included from ./amdgpu_drv.h:46 __CAST(uint16_t, __builtin_constant_p((x)) ? \: In file included from ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37:: 363/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::1365:: 15note:: to match this '('error : ../config.huse of undeclared identifier 'x': 135:18: note: expanded from macro 'bswap_16' return (((x & 0xFF00) >> 8) | ^#define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from drmmode_display.c:35: In file included from fatal error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h: :too many errors emitted, stopping now [-ferror-limit=]50 : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:50: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from drmmode_display.c:35: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursorstr.h:50: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/cursor.h:50: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here typedef __UINT64_TYPE__ __uint64_t; ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:303:15: error: use of undeclared identifier 'x' ((x & 0x00FF000000000000ull) >> 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:18: note: expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: In file included from noteamdgpu_present.c: :to match this '('28 : ../config.hIn file included from :./amdgpu_drv.h138::4618: :In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hnote:: 37expanded from macro 'bswap_32': /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300#define bswap_32 bswap32: 10 ^: /usr/include/sys/bswap.hwarning:: 68type specifier missing, defaults to 'int' [-Wimplicit-int]: 2: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ bswap_64(uint64_t x)/usr/include/sys/cdefs.h : ^606 :35: note: expanded from macro '__CAST' /usr/include/sys/types.h:90:18#define __CAST(__dt, __st) ((__dt)(__st)): ^note : expanded from macro 'uint64_t' In file included from amdgpu_glamor_wrappers.c:37: #define uint64_t __uint64_tIn file included from ./amdgpu_drv.h ^: 46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37In file included from : amdgpu_present.c/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::28319: :In file included from 1./amdgpu_drv.h:: 46error: : In file included from redefinition of '__uint32_t' as different kind of symbol/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :37: bswap_32(uint32_t x)/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :^300 :1../config.h:: 138warning:: 18type specifier missing, defaults to 'int' [-Wimplicit-int]: note: bswap_64(uint64_t x)expanded from macro 'bswap_32' ^ #define bswap_32 bswap32 ^../config.h :/usr/include/sys/bswap.h141::6818::9 :note : noteexpanded from macro 'bswap_64': expanded from macro 'bswap32' #define bswap_64 bswap64 ^ __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/bswap.h/usr/include/sys/types.h::6480::1918:: notenote: : expanded from macro 'bswap64'expanded from macro 'uint32_t' #define uint32_t __uint32_t ^ __CAST(uint64_t, __builtin_constant_p((x)) ? \/usr/include/sys/common_int_types.h : ^50 :27: note: previous definition is here In file included from amdgpu_present.ctypedef __UINT32_TYPE__ __uint32_t;: 28 ^: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:141In file included from :amdgpu_glamor_wrappers.c18::37 : noteIn file included from : ./amdgpu_drv.hexpanded from macro 'bswap_64': 46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:#define bswap_64 bswap6437 : ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :/usr/include/sys/bswap.h321::6415::45 :error : noteuse of undeclared identifier 'x': expanded from macro 'bswap64' return (((x & 0xFF000000) >> 24) | ^ __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:141:18: note: expanded from macro 'bswap_64' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:15#define bswap_64 bswap64: ^error : /usr/include/sys/bswap.huse of undeclared identifier 'x': 64:2: ((x & 0x00FF0000) >> 8) | note ^: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 323note:: 15expanded from macro '__CAST': error: use of undeclared identifier 'x' #define __CAST(__dt, __st) ((__dt)(__st)) ((x & 0x0000FF00) << 8) | ^ ^ In file included from amdgpu_present.c:28: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :error324: :redefinition of '__uint64_t' as different kind of symbol15 : error: use of undeclared identifier 'x'bswap_64(uint64_t x) ^ ((x & 0x000000FF) << 24));../config.h : ^141 :18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hprevious definition is here: 363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]typedef __UINT64_TYPE__ __uint64_t; ^bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_glamor_wrappers.c:37: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ In file included from ^amdgpu_present.c :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h28:: 363In file included from :./amdgpu_drv.h1::46 : noteIn file included from : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hto match this '(': 37../config.h: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h135::30218::15 :note : errorexpanded from macro 'bswap_16': use of undeclared identifier 'x' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72: return (((x & 0xFF00000000000000ull) >> 56) |2 : ^ note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' In file included from #define __CAST(__dt, __st) ((__dt)(__st))amdgpu_probe.c : ^44 : In file included from In file included from ./amdgpu_probe.hamdgpu_glamor_wrappers.c/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::3741:: 303: In file included from In file included from :./amdgpu_drv.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::461537:: : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h ::300error:: 10use of undeclared identifier 'x'37: : warning/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :type specifier missing, defaults to 'int' [-Wimplicit-int]363 : ((x & 0x00FF000000000000ull) >> 40) |1 : ^ error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) bswap_64(uint64_t x)^ ^../config.h :135:18: note/usr/include/sys/types.h: :expanded from macro 'bswap_16'90 :18:#define bswap_16 bswap16 note ^: expanded from macro 'uint64_t'/usr/include/sys/bswap.h :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h72::304#define uint64_t __uint64_t:9 : ^ 15 note:: In file included from expanded from macro 'bswap16'amdgpu_probe.c error:: 44use of undeclared identifier 'x': __CAST(uint16_t, __builtin_constant_p((x)) ? \In file included from ./amdgpu_probe.h ^: ((x & 0x0000FF0000000000ull) >> 24) |41 /usr/include/sys/types.h ^: 70: :In file included from 18/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:: 37note: : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hexpanded from macro 'uint16_t': 300:1:#define uint16_t __uint16_t warning ^: type specifier missing, defaults to 'int' [-Wimplicit-int]/usr/include/sys/common_int_types.h :48:27:bswap_64(uint64_t x) note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :previous definition is here305 ^: 15typedef __UINT16_TYPE__ __uint16_t;: ^error : ../config.huse of undeclared identifier 'x': 141:18: note ((x & 0x000000FF00000000ull) >> 8) |: expanded from macro 'bswap_64' ^ #define bswap_64 bswap64 ^ In file included from /usr/include/sys/bswap.hamdgpu_glamor_wrappers.c::6437:: 19In file included from :./amdgpu_drv.h :note46: : expanded from macro 'bswap64'In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h365::30615 __CAST(uint64_t, __builtin_constant_p((x)) ? \:: 15 : ^error : use of undeclared identifier 'x'error : use of undeclared identifier 'x' In file included from return (((x & 0xFF00) >> 8) |amdgpu_probe.c : ^ ((x & 0x00000000FF000000ull) << 8) |44 : In file included from ^./amdgpu_probe.h :41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')'fatal error : too many errors emitted, stopping now [-ferror-limit=] ../config.h:141:18:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :note307: :expanded from macro 'bswap_64'15 : error: #define bswap_64 bswap64use of undeclared identifier 'x' ^ /usr/include/sys/bswap.h:64: ((x & 0x0000000000FF0000ull) << 24) |45 : ^ note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note: to match this '(' ../config.h:141:18:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :note308: :expanded from macro 'bswap_64'15 : error: #define bswap_64 bswap64use of undeclared identifier 'x' ^ /usr/include/sys/bswap.h:64: ((x & 0x000000000000FF00ull) << 40) |2 : ^ note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:309#define __CAST(__dt, __st) ((__dt)(__st)): 15 ^: error: use of undeclared identifier 'x' In file included from amdgpu_probe.c ((x & 0x00000000000000FFull) << 56));: 44 ^: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :319:10bswap_64(uint64_t x): ^warning : type specifier missing, defaults to 'int' [-Wimplicit-int]../config.h :141:bswap_32(uint32_t x)18 : ^ note: /usr/include/sys/types.hexpanded from macro 'bswap_64': 80:18: #define bswap_64 bswap64note : ^expanded from macro 'uint32_t' /usr/include/sys/bswap.h:64:#define uint32_t __uint32_t9 : ^ note: expanded from macro 'bswap64'In file included from amdgpu_present.c:28: In file included from ./amdgpu_drv.h:46 __CAST(uint64_t, __builtin_constant_p((x)) ? \: In file included from ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :/usr/include/sys/types.h37:: 90/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::18319:: 1note:: expanded from macro 'uint64_t'warning : type specifier missing, defaults to 'int' [-Wimplicit-int] #define uint64_t __uint64_tbswap_32(uint32_t x) ^^ ../config.h:/usr/include/sys/common_int_types.h138::5218::27 :note : noteexpanded from macro 'bswap_32': previous definition is here #define bswap_32 bswap32 ^ typedef __UINT64_TYPE__ __uint64_t;/usr/include/sys/bswap.h : ^68 :19: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_present.c:28: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: error: expected ')' ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:45: note: expanded from macro 'bswap32' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:1: note: In file included from to match this '('amdgpu_probe.c :44../config.h: :In file included from 138./amdgpu_probe.h::1841:: In file included from note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :expanded from macro 'bswap_32'37 : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:#define bswap_32 bswap32302 : ^15 :/usr/include/sys/bswap.h :error68: :use of undeclared identifier 'x'2 : note: expanded from macro 'bswap32' return (((x & 0xFF00000000000000ull) >> 56) | ^ __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_present.c:28: In file included from ./amdgpu_drv.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::46303: :In file included from 15/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:: 37error: : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x': 319:1: error: redefinition of '__uint32_t' as different kind of symbol ((x & 0x00FF000000000000ull) >> 40) | ^ bswap_32(uint32_t x) ^ ../config.h:138:18: note: expanded from macro 'bswap_32' #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:9: note: expanded from macro 'bswap32' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:304:15 __CAST(uint32_t, __builtin_constant_p((x)) ? \: ^error : /usr/include/sys/types.huse of undeclared identifier 'x': 80:18: note: expanded from macro 'uint32_t' ((x & 0x0000FF0000000000ull) >> 24) | ^ #define uint32_t __uint32_t ^ /usr/include/sys/common_int_types.h:50:27: note: previous definition is here typedef __UINT32_TYPE__ __uint32_t; ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' ((x & 0x000000FF00000000ull) >> 8) | ^In file included from amdgpu_present.c:28: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307:15: error: use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:309:15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_32(uint32_t x) ^ /usr/include/sys/types.h:80:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h18::363 :note10: :expanded from macro 'uint32_t' warning: type specifier missing, defaults to 'int' [-Wimplicit-int] #define uint32_t __uint32_tbswap_16(uint16_t x) ^ ^ /usr/include/sys/types.h:In file included from 70amdgpu_probe.c::1844:: In file included from note./amdgpu_probe.h: :expanded from macro 'uint16_t'41 : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: #define uint16_t __uint16_t/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h : ^319 :1: warningIn file included from : amdgpu_present.ctype specifier missing, defaults to 'int' [-Wimplicit-int]: 28: In file included from ./amdgpu_drv.hbswap_32(uint32_t x): 46^: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h../config.h::37138: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h18::363 :note1: :expanded from macro 'bswap_32' warning: type specifier missing, defaults to 'int' [-Wimplicit-int] #define bswap_32 bswap32 ^bswap_16(uint16_t x) ^/usr/include/sys/bswap.h :68../config.h::19135:: 18note:: expanded from macro 'bswap32'note : expanded from macro 'bswap_16' #define bswap_16 bswap16 __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ ^ /usr/include/sys/bswap.h:72:In file included from 19amdgpu_probe.c:: 44note: : In file included from expanded from macro 'bswap16'./amdgpu_probe.h :41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h __CAST(uint16_t, __builtin_constant_p((x)) ? \: 319 ^: 1: In file included from erroramdgpu_present.c: :expected ')'28 : In file included from ../config.h./amdgpu_drv.h::13846:: 18In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :note37: : expanded from macro 'bswap_32'/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :363:1:#define bswap_32 bswap32 error ^: expected ')' /usr/include/sys/bswap.h:../config.h68::13545::18 :note : noteexpanded from macro 'bswap32': expanded from macro 'bswap_16' #define bswap_16 bswap16 __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ ^ /usr/include/sys/bswap.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::72319::451:: notenote: : expanded from macro 'bswap16'to match this '(' ../config.h:138:18: __CAST(uint16_t, __builtin_constant_p((x)) ? \ note ^: expanded from macro 'bswap_32'/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :363:1#define bswap_32 bswap32: ^note : to match this '('/usr/include/sys/bswap.h :68../config.h::2135:: 18note:: expanded from macro 'bswap32'note : expanded from macro 'bswap_16' #define bswap_16 bswap16 __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ ^/usr/include/sys/bswap.h :72/usr/include/sys/cdefs.h::2606:: 35note:: expanded from macro 'bswap16'note : expanded from macro '__CAST' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^#define __CAST(__dt, __st) ((__dt)(__st)) /usr/include/sys/cdefs.h ^: 606:35: note: In file included from expanded from macro '__CAST'amdgpu_probe.c :44: In file included from ./amdgpu_probe.h:41#define __CAST(__dt, __st) ((__dt)(__st)): In file included from ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:In file included from 319amdgpu_present.c::128:: In file included from error./amdgpu_drv.h: :redefinition of '__uint32_t' as different kind of symbol46 : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:bswap_32(uint32_t x)37 : ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :363../config.h::1138:: 18error:: redefinition of '__uint16_t' as different kind of symbolnote : expanded from macro 'bswap_32' bswap_16(uint16_t x) ^#define bswap_32 bswap32 ^../config.h :135/usr/include/sys/bswap.h::1868:: 9note:: expanded from macro 'bswap_16'note : expanded from macro 'bswap32' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h: __CAST(uint32_t, __builtin_constant_p((x)) ? \72 : ^9 : /usr/include/sys/types.hnote:: 80expanded from macro 'bswap16': 18: note: expanded from macro 'uint32_t' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ #define uint32_t __uint32_t/usr/include/sys/types.h : ^70 :/usr/include/sys/common_int_types.h18::50 :note27: :expanded from macro 'uint16_t' note: previous definition is here #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:typedef __UINT32_TYPE__ __uint32_t;48 : ^27 : note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from amdgpu_probe.c:44: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hIn file included from :amdgpu_present.c321::2815: :In file included from ./amdgpu_drv.herror:: 46use of undeclared identifier 'x': In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:365 return (((x & 0xFF000000) >> 24) |: 15 ^: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' fatal error: too many errors emitted, stopping now [-ferror-limit=] ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:323:15: error: use of undeclared identifier 'x' ((x & 0x0000FF00) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ In file included from amdgpu_probe.c:44: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_probe.c:44: In file included from ./amdgpu_probe.h:41: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:45: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: note: to match this '(' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: expanded from macro 'bswap16' In file included from amdgpu_glamor.c: __CAST(uint16_t, __builtin_constant_p((x)) ? \31 : ^In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:/usr/include/sys/cdefs.h44:: 606In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h35::37 : note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :expanded from macro '__CAST'300 :10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]#define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_probe.c:bswap_64(uint64_t x)44 : ^In file included from ./amdgpu_probe.h:41: /usr/include/sys/stdint.hIn file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h75::3718: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :note363: :expanded from macro 'uint64_t'1 : error: redefinition of '__uint16_t' as different kind of symbol #define uint64_t __uint64_t ^ bswap_16(uint16_t x) ^ In file included from ../config.hamdgpu_glamor.c::13531:: 18In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h :note44: : expanded from macro 'bswap_16'In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h#define bswap_16 bswap16: 300 ^: 1:/usr/include/sys/bswap.h :warning72: :type specifier missing, defaults to 'int' [-Wimplicit-int]9 : note: bswap_64(uint64_t x)expanded from macro 'bswap16' ^ ../config.h:141 __CAST(uint16_t, __builtin_constant_p((x)) ? \: 18 ^: note/usr/include/sys/types.h: :expanded from macro 'bswap_64'70 :18: #define bswap_64 bswap64note : ^expanded from macro 'uint16_t' /usr/include/sys/bswap.h:64:19:#define uint16_t __uint16_t note ^: expanded from macro 'bswap64' /usr/include/sys/common_int_types.h:48:27: note: __CAST(uint64_t, __builtin_constant_p((x)) ? \previous definition is here ^ typedef __UINT16_TYPE__ __uint16_t; In file included from ^amdgpu_glamor.c :31: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: expected ')' ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:In file included from 64amdgpu_probe.c::4544:: In file included from note./amdgpu_probe.h: :expanded from macro 'bswap64'41 : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:365 __CAST(uint64_t, __builtin_constant_p((x)) ? \: 15 ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.herror:: 300use of undeclared identifier 'x': 1: note: to match this '(' return (((x & 0xFF00) >> 8) |../config.h : ^141 :18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] /usr/include/sys/cdefs.h:606:35: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_glamor.c:31: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: error: redefinition of '__uint64_t' as different kind of symbol bswap_64(uint64_t x) ^ ../config.h:141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h:75:18: note: expanded from macro 'uint64_t' #define uint64_t __uint64_t ^ /usr/include/sys/common_int_types.h:52:27: note: previous definition is here In file included from amdgpu_sync.c:24typedef __UINT64_TYPE__ __uint64_t;: In file included from ^./amdgpu_drv.h :46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^ /usr/include/sys/types.h:90:18: note: expanded from macro 'uint64_t' In file included from amdgpu_glamor.c#define uint64_t __uint64_t: 31 ^: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:302:15: error: use of undeclared identifier 'x' return (((x & 0xFF00000000000000ull) >> 56) | ^ In file included from amdgpu_sync.c:24: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :303:15bswap_64(uint64_t x): ^error : use of undeclared identifier 'x' ../config.h ((x & 0x00FF000000000000ull) >> 40) | ^ :141:18: note: expanded from macro 'bswap_64' #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:19: note: expanded from macro 'bswap64' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:304:15: error: use of undeclared identifier 'x' ((x & 0x0000FF0000000000ull) >> 24) | ^ __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_sync.c:24: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::1305:: 15error:: expected ')'error : use of undeclared identifier 'x'../config.h :141:18: note: ((x & 0x000000FF00000000ull) >> 8) |expanded from macro 'bswap_64' ^ #define bswap_64 bswap64 ^ /usr/include/sys/bswap.h:64:45: note: expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:300:1: note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :to match this '('306 :15../config.h:: 141error:: 18use of undeclared identifier 'x': note: expanded from macro 'bswap_64' ((x & 0x00000000FF000000ull) << 8) | #define bswap_64 bswap64 ^ ^ /usr/include/sys/bswap.h:64:2: note: expanded from macro 'bswap64' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307:15: __CAST(uint64_t, __builtin_constant_p((x)) ? \error : ^use of undeclared identifier 'x' ((x & 0x0000000000FF0000ull) << 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:308:15: error: use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /usr/include/sys/cdefs.h:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h606::30935::15 :note : errorexpanded from macro '__CAST': use of undeclared identifier 'x' #define __CAST(__dt, __st) ((__dt)(__st)) ^ ((x & 0x00000000000000FFull) << 56)); ^ In file included from amdgpu_sync.c:24: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37:: 319/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::10300:: 1warning:: type specifier missing, defaults to 'int' [-Wimplicit-int]error : redefinition of '__uint64_t' as different kind of symbolbswap_32(uint32_t x) ^ bswap_64(uint64_t x) /usr/include/sys/stdint.h^: 65:../config.h18::1416: warning18s : and note 20note: : errorexpanded from macro 'uint32_t'expanded from macro 'bswap_64' s generated. #define uint32_t __uint32_t ^ In file included from In file included from amdgpu_dri3.camdgpu_glamor.c::2931#define bswap_64 bswap64: : ^In file included from In file included from ./amdgpu_drv.h/usr/include/sys/bswap.h::/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h6446:: 9::44 : In file included from In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hnote::3737: : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::: 300expanded from macro 'bswap64': 10319:: 1warning:: __CAST(uint64_t, __builtin_constant_p((x)) ? \ type specifier missing, defaults to 'int' [-Wimplicit-int]warning : type specifier missing, defaults to 'int' [-Wimplicit-int] ^ bswap_32(uint32_t x)/usr/include/sys/types.h :^90 :../config.h18::138 :note18: :expanded from macro 'uint64_t' note: expanded from macro 'bswap_32' #define uint64_t __uint64_t ^ #define bswap_32 bswap32 ^ /usr/include/sys/bswap.h:68:19: note: expanded from macro 'bswap32' bswap_64(uint64_t x) ^ __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^/usr/include/sys/common_int_types.h :/usr/include/sys/types.h52In file included from ::amdgpu_glamor.c27::31 : note90: In file included from :previous definition is here18 :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h :note44: : expanded from macro 'uint64_t'In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:#define uint64_t __uint64_t319 : ^1typedef __UINT64_TYPE__ __uint64_t; : ^ In file included from erroramdgpu_dri3.c: :expected ')'29 : In file included from ../config.h./amdgpu_drv.h::13846:: 18In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :note37: : expanded from macro 'bswap_32'/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :300:1#define bswap_32 bswap32: ^warning : /usr/include/sys/bswap.htype specifier missing, defaults to 'int' [-Wimplicit-int]: 68:45bswap_64(uint64_t x): ^note : expanded from macro 'bswap32' ../config.h:141: __CAST(uint32_t, __builtin_constant_p((x)) ? \18 : ^ note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :expanded from macro 'bswap_64'319 :1#define bswap_64 bswap64: ^note : /usr/include/sys/bswap.hto match this '(': 64../config.h::19138:: 18note:: expanded from macro 'bswap64'note : expanded from macro 'bswap_32' __CAST(uint64_t, __builtin_constant_p((x)) ? \ ^#define bswap_32 bswap32 In file included from ^In file included from amdgpu_dri3.c/usr/include/sys/bswap.hamdgpu_sync.c::2968: :In file included from :./amdgpu_drv.h2:2446: :: In file included from In file included from note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: ./amdgpu_drv.hexpanded from macro 'bswap32'::4637: : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:: __CAST(uint32_t, __builtin_constant_p((x)) ? \30037 :: ^1 :/usr/include/sys/cdefs.h :error606: :expected ')'35/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :note302../config.h: :expanded from macro '__CAST'141 ::1518:#define __CAST(__dt, __st) ((__dt)(__st)) :error note: ^use of undeclared identifier 'x': expanded from macro 'bswap_64' In file included from #define bswap_64 bswap64amdgpu_glamor.c return (((x & 0xFF00000000000000ull) >> 56) |: ^ 31 ^: /usr/include/sys/bswap.hIn file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h64::4445: :In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hnote:: 37expanded from macro 'bswap64': /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319: 1: __CAST(uint64_t, __builtin_constant_p((x)) ? \ error ^: redefinition of '__uint32_t' as different kind of symbol/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :300:1bswap_32(uint32_t x): ^note : to match this '('../config.h :138../config.h::18141:: 18note:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hexpanded from macro 'bswap_32': 303note:: 15#define bswap_32 bswap32:expanded from macro 'bswap_64' ^error : /usr/include/sys/bswap.huse of undeclared identifier 'x': 68#define bswap_64 bswap64: 9 ^: ((x & 0x00FF000000000000ull) >> 40) | note/usr/include/sys/bswap.h: ^expanded from macro 'bswap32': 64:2: note: expanded from macro 'bswap64' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/stdint.h __CAST(uint64_t, __builtin_constant_p((x)) ? \: 65: ^18 : note: expanded from macro 'uint32_t' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:/usr/include/sys/cdefs.h304:#define uint32_t __uint32_t:60615 : ^ error:: /usr/include/sys/common_int_types.huse of undeclared identifier 'x'35 ::50 :note27: : ((x & 0x0000FF0000000000ull) >> 24) | expanded from macro '__CAST'note : ^previous definition is here #define __CAST(__dt, __st) ((__dt)(__st)) ^ typedef __UINT32_TYPE__ __uint32_t; ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:305:15: error: use of undeclared identifier 'x' In file included from amdgpu_glamor.c ((x & 0x000000FF00000000ull) >> 8) |: 31 ^: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h:44: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:321:15: error: use of undeclared identifier 'x' return (((x & 0xFF000000) >> 24) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:306:15: error: use of undeclared identifier 'x' ((x & 0x00000000FF000000ull) << 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:15: error: use of undeclared identifier 'x' In file included from ((x & 0x00FF0000) >> 8) |amdgpu_dri3.c : ^29 : In file included from ./amdgpu_drv.h:46/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :In file included from 307/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::1537:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.herror:: 300use of undeclared identifier 'x': 1: error: ((x & 0x0000000000FF0000ull) << 24) |redefinition of '__uint64_t' as different kind of symbol /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ^ bswap_64(uint64_t x): 323^:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h15 ::../config.h308: :error15141: :use of undeclared identifier 'x':18 : error ((x & 0x0000FF00) << 8) |note: use of undeclared identifier 'x': ^ expanded from macro 'bswap_64' ((x & 0x000000000000FF00ull) << 40) |#define bswap_64 bswap64 ^ ^ /usr/include/sys/bswap.h:64:9: note: expanded from macro 'bswap64' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h __CAST(uint64_t, __builtin_constant_p((x)) ? \: 324 ^: 15/usr/include/sys/types.h::/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h90: :error18309:: :In file included from 15use of undeclared identifier 'x':amdgpu_dri2.c : 32errornote: ((x & 0x000000FF) << 24));: expanded from macro 'uint64_t' ^ : In file included from use of undeclared identifier 'x'./amdgpu_drv.h#define uint64_t __uint64_t: ^46 : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:/usr/include/sys/common_int_types.h37 ((x & 0x00000000000000FFull) << 56));: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h52: 300: ^27 :: 10note:: previous definition is herewarning : type specifier missing, defaults to 'int' [-Wimplicit-int]6 warningtypedef __UINT64_TYPE__ __uint64_t;s and ^20 errors/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h generated. bswap_64(uint64_t x): 319 ^: 10/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 363/usr/include/sys/types.h::warning10: 90type specifier missing, defaults to 'int' [-Wimplicit-int]::18 : bswap_32(uint32_t x)notewarning: : expanded from macro 'uint64_t' type specifier missing, defaults to 'int' [-Wimplicit-int] ^ #define uint64_t __uint64_t /usr/include/sys/types.h ^bswap_16(uint16_t x): 80 ^ : 18In file included from :/usr/include/sys/stdint.h :note55: :amdgpu_dri2.cexpanded from macro 'uint32_t':1832: : noteIn file included from #define uint32_t __uint32_t: ./amdgpu_drv.hexpanded from macro 'uint16_t' : ^46 #define uint16_t __uint16_tMakefile:535: recipe for target 'amdgpu_pixmap.lo' failed : In file included from gmake[2]: *** [amdgpu_pixmap.lo] Error 1 In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h ^:amdgpu_sync.c37:: 24/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h : :In file included from 300./amdgpu_drv.h::In file included from 46amdgpu_glamor.c1:: 31In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.hwarning37: : :type specifier missing, defaults to 'int' [-Wimplicit-int]/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :44319: bswap_64(uint64_t x): 1^In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::../config.h37 : warning/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: ::141363type specifier missing, defaults to 'int' [-Wimplicit-int]:: 118::bswap_32(uint32_t x) ^warningnote : : ../config.htype specifier missing, defaults to 'int' [-Wimplicit-int]: expanded from macro 'bswap_64'138 :bswap_16(uint16_t x)18 :^ note#define bswap_64 bswap64: ../config.h : ^135 :expanded from macro 'bswap_32'18 :/usr/include/sys/bswap.h :#define bswap_32 bswap3264note :: 19expanded from macro 'bswap_16' ^: /usr/include/sys/bswap.hnote:: 68#define bswap_16 bswap16expanded from macro 'bswap64': 19 ^: /usr/include/sys/bswap.hnote: __CAST(uint64_t, __builtin_constant_p((x)) ? \72: expanded from macro 'bswap32' ^: 19 : note: expanded from macro 'bswap16' __CAST(uint32_t, __builtin_constant_p((x)) ? \ ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \In file included from amdgpu_sync.c ^: 24: In file included from In file included from ./amdgpu_drv.hamdgpu_glamor.c::4631: : In file included from In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.h::3744: : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hIn file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h319::371: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :error363: :expected ')'1 : ../config.herror:: 138expected ')': 18:../config.h :note135: :expanded from macro 'bswap_32'18 : note: expanded from macro 'bswap_16'#define bswap_32 bswap32 ^ #define bswap_16 bswap16/usr/include/sys/bswap.h : ^68 :/usr/include/sys/bswap.h45::72 :note45: :expanded from macro 'bswap32' note: expanded from macro 'bswap16' __CAST(uint32_t, __builtin_constant_p((x)) ? \ __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::319363::In file included from 1amdgpu_dri2.c1::32:: notenote: In file included from to match this '('amdgpu_dri3.c: to match this '('In file included from ../config.h: 29:: ../config.hIn file included from :138./amdgpu_drv.h./amdgpu_drv.h:135::4618::1846:: : noteIn file included from : In file included from noteexpanded from macro 'bswap_16': expanded from macro 'bswap_32'/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h :#define bswap_16 bswap16/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h#define bswap_32 bswap32 37 ^ ^: 37/usr/include/sys/bswap.h : /usr/include/sys/bswap.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: ::/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h68:::30030272::215::2:: 1note:note: expanded from macro 'bswap32'error : erroruse of undeclared identifier 'x': : expected ')'expanded from macro 'bswap16' __CAST(uint32_t, __builtin_constant_p((x)) ? \ return (((x & 0xFF00000000000000ull) >> 56) | ^ ../config.h ^/usr/include/sys/cdefs.h __CAST(uint16_t, __builtin_constant_p((x)) ? \: 141:: 606 ^18 :/usr/include/sys/cdefs.h ::note60635::35: :noteexpanded from macro 'bswap_64': expanded from macro '__CAST' note#define bswap_64 bswap64: expanded from macro '__CAST' ^#define __CAST(__dt, __st) ((__dt)(__st)) /usr/include/sys/bswap.h : ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h#define __CAST(__dt, __st) ((__dt)(__st))64: : ^30345 :In file included from 15amdgpu_sync.c::In file included from 24:: amdgpu_glamor.c :errorIn file included from 31note: : In file included from In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.hamdgpu_video.c:./amdgpu_drv.h:use of undeclared identifier 'x': :expanded from macro 'bswap64'4411 ((x & 0x00FF000000000000ull) >> 40) |46 : : ^ __CAST(uint64_t, __builtin_constant_p((x)) ? \: In file included from In file included from In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h./amdgpu_drv.h : 37/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37 ^::: 31946 /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: ::In file included from 3041:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h15::/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::37300:: error1: : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x'error: : 300: note363 ((x & 0x0000FF0000000000ull) >> 24) |redefinition of '__uint32_t' as different kind of symbol: : : 10 ^bswap_32(uint32_t x)1 ::^to match this '(' error../config.h: redefinition of '__uint16_t' as different kind of symbol../config.h :warning:141: 138bswap_16(uint16_t x)type specifier missing, defaults to 'int' [-Wimplicit-int]: :^1818:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: : note : noteexpanded from macro 'bswap_32'bswap_64(uint64_t x)../config.h :305: expanded from macro 'bswap_64': ^ #define bswap_32 bswap3215135: ^#define bswap_64 bswap64 error : ^/usr/include/sys/types.h18 :/usr/include/sys/bswap.h:/usr/include/sys/bswap.h90 :: :note6864::: use of undeclared identifier 'x'9expanded from macro 'bswap_16': 18note:#define bswap_16 bswap16: : ((x & 0x000000FF00000000ull) >> 8) |expanded from macro 'bswap32' ^ 2 ^note :: expanded from macro 'uint64_t'/usr/include/sys/bswap.h note:: 72 __CAST(uint32_t, __builtin_constant_p((x)) ? \expanded from macro 'bswap64' : ^9#define uint64_t __uint64_t: /usr/include/sys/types.h note:: ^expanded from macro 'bswap16'80 : __CAST(uint64_t, __builtin_constant_p((x)) ? \18 : ^In file included from __CAST(uint16_t, __builtin_constant_p((x)) ? \ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnote ^amdgpu_video.c : ::expanded from macro 'uint32_t'30611 /usr/include/sys/stdint.h/usr/include/sys/cdefs.h::55:15:#define uint32_t __uint32_t:18 : ^606: :In file included from ./amdgpu_drv.h35 note : :expanded from macro 'uint16_t': /usr/include/sys/common_int_types.herror46 :note: : 50#define uint16_t __uint16_t: :expanded from macro '__CAST'27 use of undeclared identifier 'x'In file included from : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h ^ :note : #define __CAST(__dt, __st) ((__dt)(__st))/usr/include/sys/common_int_types.h ((x & 0x00000000FF000000ull) << 8) |previous definition is here 37:: ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h 48 ^:: typedef __UINT32_TYPE__ __uint32_t;27 300:: ^1 :note : warningprevious definition is here: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_64(uint64_t x) ^typedef __UINT16_TYPE__ __uint16_t; ^ ../config.h:141:18: note: expanded from macro 'bswap_64' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:307#define bswap_64 bswap64: 15 ^: errorIn file included from /usr/include/sys/bswap.h: :use of undeclared identifier 'x'amdgpu_sync.c64 ::1924:: In file included from ((x & 0x0000000000FF0000ull) << 24) |note./amdgpu_drv.hIn file included from : expanded from macro 'bswap64'amdgpu_glamor.c:: 31 ^: 46In file included from : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86.hIn file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h44 __CAST(uint64_t, __builtin_constant_p((x)) ? \: : 37In file included from ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::37321: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h15::365 :error15: :use of undeclared identifier 'x' error: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.huse of undeclared identifier 'x': return (((x & 0xFF000000) >> 24) | 308 : ^15 return (((x & 0xFF00) >> 8) | : ^error : use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:322:fatal error15: :In file included from In file included from too many errors emitted, stopping now [-ferror-limit=]error : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hamdgpu_dri2.camdgpu_video.c::use of undeclared identifier 'x':11309: : In file included from 3215./amdgpu_drv.h: :In file included from :error./amdgpu_drv.h: :46use of undeclared identifier 'x': ((x & 0x00FF0000) >> 8) |In file included from 46/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: : ((x & 0x00000000000000FFull) << 56)); In file included from ^ ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h37:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::300300319:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h1::323:10: 1::15:: error : warningredefinition of '__uint64_t' as different kind of symbolerror error: : : bswap_64(uint64_t x)use of undeclared identifier 'x'type specifier missing, defaults to 'int' [-Wimplicit-int]expected ')' ^ ../config.h:bswap_32(uint32_t x)141 ../config.h ((x & 0x0000FF00) << 8) |:: ^ 18 ^: 141 :note/usr/include/sys/types.h: 18::80 :expanded from macro 'bswap_64'18note :: expanded from macro 'bswap_64'note #define bswap_64 bswap64: expanded from macro 'uint32_t'#define bswap_64 bswap64 ^ ^/usr/include/sys/bswap.h#define uint32_t __uint32_t: 64 /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/usr/include/sys/bswap.h::45 ^: : 64324noteIn file included from :: :amdgpu_dri3.cexpanded from macro 'bswap64': 15929:: : noteerror: In file included from expanded from macro 'bswap64' __CAST(uint64_t, __builtin_constant_p((x)) ? \./amdgpu_drv.h: : 46 ^use of undeclared identifier 'x' : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hIn file included from __CAST(uint64_t, __builtin_constant_p((x)) ? \/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h ((x & 0x000000FF) << 24)); ^:: ^300 37 :: 1/usr/include/sys/types.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 319note::190: :: to match this '('warning18: :type specifier missing, defaults to 'int' [-Wimplicit-int] ../config.hnote:: bswap_32(uint32_t x)expanded from macro 'uint64_t' 141^: 18:#define uint64_t __uint64_t ../config.hnote: : 138expanded from macro 'bswap_64': ^18 :#define bswap_64 bswap64 /usr/include/sys/common_int_types.h ^: 52/usr/include/sys/bswap.hnote::: 2764:expanded from macro 'bswap_32' :note : 2#define bswap_32 bswap32previous definition is here:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h : ^ 363typedef __UINT64_TYPE__ __uint64_t;:note 10/usr/include/sys/bswap.h: ::expanded from macro 'bswap64' warning 68 ^: :type specifier missing, defaults to 'int' [-Wimplicit-int]19 __CAST(uint64_t, __builtin_constant_p((x)) ? \: ^bswap_16(uint16_t x)note : ^expanded from macro 'bswap32' /usr/include/sys/types.h:70:18/usr/include/sys/cdefs.h __CAST(uint32_t, __builtin_constant_p((x)) ? \: ^note: 606: :expanded from macro 'uint16_t'35In file included from amdgpu_dri3.c:: 29note: #define uint16_t __uint16_tIn file included from : ./amdgpu_drv.hexpanded from macro '__CAST' : ^46 : #define __CAST(__dt, __st) ((__dt)(__st))In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hIn file included from :amdgpu_sync.c ^37 :: 24/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: Makefile:535: recipe for target 'amdgpu_kms.lo' failed In file included from :In file included from gmake[2]: *** [amdgpu_kms.lo] Error 1 amdgpu_video.c./amdgpu_drv.h:31911::461: :: In file included from In file included from error./amdgpu_drv.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :expected ')'46:: In file included from 37../config.h: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37138:: 363:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::18300::11:: In file included from notewarningerror: : : redefinition of '__uint64_t' as different kind of symbolexpanded from macro 'bswap_32'type specifier missing, defaults to 'int' [-Wimplicit-int]amdgpu_dri2.c :bswap_64(uint64_t x)32#define bswap_32 bswap32 bswap_16(uint16_t x)^ : ^^ ../config.hIn file included from ../config.h./amdgpu_drv.h:/usr/include/sys/bswap.h:141:::184668: :In file included from :45 :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hnote :: noteexpanded from macro 'bswap_64': 37 expanded from macro 'bswap32': /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h135#define bswap_64 bswap64: 302: __CAST(uint32_t, __builtin_constant_p((x)) ? \: 18 ^: ^15 /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnote :/usr/include/sys/bswap.h: ::64319::expanded from macro 'bswap_16'19:: notenoteerror: : to match this '('expanded from macro 'bswap64'#define bswap_16 bswap16 : use of undeclared identifier 'x' ^ ../config.h __CAST(uint64_t, __builtin_constant_p((x)) ? \ :/usr/include/sys/bswap.h ^138 return (((x & 0xFF00000000000000ull) >> 56) |:/usr/include/sys/types.h : ^90:18:7218::: notenote19: : :expanded from macro 'uint64_t'expanded from macro 'bswap_32' note: expanded from macro 'bswap16'#define uint64_t __uint64_t #define bswap_32 bswap32 ^ ^ /usr/include/sys/common_int_types.h/usr/include/sys/bswap.h::5268 __CAST(uint16_t, __builtin_constant_p((x)) ? \: :272 ^:: note : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnoteIn file included from : previous definition is hereexpanded from macro 'bswap32'amdgpu_sync.c : 303::2415typedef __UINT64_TYPE__ __uint64_t; __CAST(uint32_t, __builtin_constant_p((x)) ? \ : ^:In file included from ./amdgpu_drv.h : ^46 : errorIn file included from : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h/usr/include/sys/cdefs.huse of undeclared identifier 'x':: 60637:: 35/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: ((x & 0x00FF000000000000ull) >> 40) | : ^363note: 1: :expanded from macro '__CAST' error: expected ')' ../config.h#define __CAST(__dt, __st) ((__dt)(__st)): 135 ^: 18: note: expanded from macro 'bswap_16'In file included from amdgpu_dri3.c:29: In file included from #define bswap_16 bswap16./amdgpu_drv.h /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ^: 46/usr/include/sys/bswap.h::: 72304In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h15::In file included from :amdgpu_video.c 37:4511:: : In file included from ./amdgpu_drv.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:noteerror46: :: 319In file included from :: 1use of undeclared identifier 'x'/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:: 37expanded from macro 'bswap16': error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :redefinition of '__uint32_t' as different kind of symbol302 :15: errorbswap_32(uint32_t x): __CAST(uint16_t, __builtin_constant_p((x)) ? \ ((x & 0x0000FF0000000000ull) >> 24) |use of undeclared identifier 'x' ^^ ^ ../config.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h return (((x & 0xFF00000000000000ull) >> 56) |: : ^138 :36318::1 :note : noteexpanded from macro 'bswap_32': to match this '(' ../config.h#define bswap_32 bswap32: 135 ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: ::303/usr/include/sys/bswap.h:18305:::15 :note 68: 15errorexpanded from macro 'bswap_16': use of undeclared identifier 'x'::9 #define bswap_16 bswap16 :error ^: ((x & 0x00FF000000000000ull) >> 40) | use of undeclared identifier 'x' /usr/include/sys/bswap.hnote: ^: 72 : ((x & 0x000000FF00000000ull) >> 8) |expanded from macro 'bswap32' ^2 : note: __CAST(uint32_t, __builtin_constant_p((x)) ? \expanded from macro 'bswap16' ^ /usr/include/sys/types.h:80:18: __CAST(uint16_t, __builtin_constant_p((x)) ? \ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnote: 304: :expanded from macro 'uint32_t' ^ 15:/usr/include/sys/cdefs.h :error#define uint32_t __uint32_t606 : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::35use of undeclared identifier 'x': 306 ^note : ((x & 0x0000FF0000000000ull) >> 24) |15: /usr/include/sys/common_int_types.hexpanded from macro '__CAST' ^: :50 :error#define __CAST(__dt, __st) ((__dt)(__st))27: :use of undeclared identifier 'x' note ^ : previous definition is here In file included from ((x & 0x00000000FF000000ull) << 8) |amdgpu_sync.c/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:: 30524:: 15In file included from ^: typedef __UINT32_TYPE__ __uint32_t;error : ^./amdgpu_drv.huse of undeclared identifier 'x': 46 : In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h ((x & 0x000000FF00000000ull) >> 8) |: 37 ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h../config.h::307135::15/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hIn file included from :18::amdgpu_dri3.c306 :note 29: :expanded from macro 'bswap_16': error15In file included from #define bswap_16 bswap16: : use of undeclared identifier 'x'error : ^./amdgpu_drv.huse of undeclared identifier 'x' :/usr/include/sys/bswap.h ((x & 0x0000000000FF0000ull) << 24) |46 ((x & 0x00000000FF000000ull) << 8) |: 72: : ^9 ^: noteIn file included from : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hexpanded from macro 'bswap16': 37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:321: __CAST(uint16_t, __builtin_constant_p((x)) ? \15 : ^ error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: /usr/include/sys/types.h:use of undeclared identifier 'x': 30770::1518 return (((x & 0xFF000000) >> 24) |/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::: ^308error : use of undeclared identifier 'x': 15note:: expanded from macro 'uint16_t' ((x & 0x0000000000FF0000ull) << 24) |error : use of undeclared identifier 'x' ^ #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h: ((x & 0x000000000000FF00ull) << 40) |48 : ^27 : note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :previous definition is here322 :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h15::308 :typedef __UINT16_TYPE__ __uint16_t;15 : ^ errorerror: : use of undeclared identifier 'x'use of undeclared identifier 'x' ((x & 0x000000000000FF00ull) << 40) |/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ((x & 0x00FF0000) >> 8) | : 309 ^ ^: 15: error: use of undeclared identifier 'x' ((x & 0x00000000000000FFull) << 56)); ^ In file included from amdgpu_sync.c:24: In file included from ./amdgpu_drv.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::46309: :In file included from 15/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: 37:error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h323: :use of undeclared identifier 'x':: 319/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h15 ::10 :: ((x & 0x00000000000000FFull) << 56));365error warning:: : ^use of undeclared identifier 'x'15 :type specifier missing, defaults to 'int' [-Wimplicit-int] error ((x & 0x0000FF00) << 8) |: use of undeclared identifier 'x'bswap_32(uint32_t x) ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ^: 319 return (((x & 0xFF00) >> 8) |: /usr/include/sys/types.h ^10 ::80 :warning18: :type specifier missing, defaults to 'int' [-Wimplicit-int] note: bswap_32(uint32_t x)expanded from macro 'uint32_t' ^ /usr/include/sys/types.h:80#define uint32_t __uint32_t: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ^18 :: 324noteIn file included from :fatal error: 15amdgpu_dri2.c: expanded from macro 'uint32_t':too many errors emitted, stopping now [-ferror-limit=]32 :: In file included from error./amdgpu_drv.h: :use of undeclared identifier 'x'46 #define uint32_t __uint32_t: In file included from ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h ((x & 0x000000FF) << 24));: 37In file included from ^amdgpu_video.c :: 11/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :In file included from 319./amdgpu_drv.h::146:: In file included from warning/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :type specifier missing, defaults to 'int' [-Wimplicit-int]37 : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:319:bswap_32(uint32_t x)1 :^ warning: type specifier missing, defaults to 'int' [-Wimplicit-int]../config.h :138bswap_32(uint32_t x): 18^: ../config.hnote:: 138expanded from macro 'bswap_32': 18: note: expanded from macro 'bswap_32'#define bswap_32 bswap32 ^#define bswap_32 bswap32 ^/usr/include/sys/bswap.h :/usr/include/sys/bswap.h68::6819::19 :note : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnoteexpanded from macro 'bswap32': expanded from macro 'bswap32': 363:10: __CAST(uint32_t, __builtin_constant_p((x)) ? \ __CAST(uint32_t, __builtin_constant_p((x)) ? \warning : ^ ^type specifier missing, defaults to 'int' [-Wimplicit-int] In file included from amdgpu_dri2.cIn file included from bswap_16(uint16_t x)amdgpu_video.c : ^: 1132: : /usr/include/sys/types.hIn file included from :In file included from ./amdgpu_drv.h70:./amdgpu_drv.h:4618: :In file included from 46/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: :In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h37:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h37:note: : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h319expanded from macro 'uint16_t'::319 1::1 :error : errorexpected ')': #define uint16_t __uint16_texpected ')'../config.h ^../config.h ::138138:In file included from :18amdgpu_dri3.c::1829 :note : note: : expanded from macro 'bswap_32'expanded from macro 'bswap_32' In file included from ./amdgpu_drv.h#define bswap_32 bswap32: #define bswap_32 bswap32 ^46 : ^In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h/usr/include/sys/bswap.h ::37/usr/include/sys/bswap.h68::: 45/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h::68 363note:: :1expanded from macro 'bswap32'45 :: notewarning: : __CAST(uint32_t, __builtin_constant_p((x)) ? \type specifier missing, defaults to 'int' [-Wimplicit-int] ^expanded from macro 'bswap32' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hbswap_16(uint16_t x): 319^: 1 __CAST(uint32_t, __builtin_constant_p((x)) ? \:../config.h note:: 135to match this '(' ^ :../config.h :18/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h138:::18 319note::1 : noteexpanded from macro 'bswap_16': : expanded from macro 'bswap_32'note #define bswap_16 bswap16: #define bswap_32 bswap32 ^to match this '(' /usr/include/sys/bswap.h../config.h ^::138 72::1819:: note/usr/include/sys/bswap.h: :noteexpanded from macro 'bswap_32'68 : :expanded from macro 'bswap16'2 :#define bswap_32 bswap32 note ^: __CAST(uint16_t, __builtin_constant_p((x)) ? \expanded from macro 'bswap32'/usr/include/sys/bswap.h : 68 ^: __CAST(uint32_t, __builtin_constant_p((x)) ? \ 2 ^:In file included from /usr/include/sys/cdefs.hnoteamdgpu_dri3.c:: :60629:: 35In file included from expanded from macro 'bswap32'./amdgpu_drv.h:: 46 : noteIn file included from : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hexpanded from macro '__CAST': 37 __CAST(uint32_t, __builtin_constant_p((x)) ? \: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h#define __CAST(__dt, __st) ((__dt)(__st)) ^ ^: 363/usr/include/sys/cdefs.h::In file included from 606amdgpu_video.c:135:::11 : errornoteIn file included from : ./amdgpu_drv.hexpected ')': : 46../config.hexpanded from macro '__CAST': :In file included from 135 /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h::1837:: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h#define __CAST(__dt, __st) ((__dt)(__st))note: 319: : ^expanded from macro 'bswap_16'1 : error#define bswap_16 bswap16: redefinition of '__uint32_t' as different kind of symbol ^ In file included from /usr/include/sys/bswap.hamdgpu_dri2.c::bswap_32(uint32_t x)72 :3245^: : note../config.h: :expanded from macro 'bswap16'138 In file included from :./amdgpu_drv.h18::46 __CAST(uint16_t, __builtin_constant_p((x)) ? \ : noteIn file included from : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.hexpanded from macro 'bswap_32': 37 : #define bswap_32 bswap32/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h ^: 319 /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: ^:1 363::/usr/include/sys/bswap.h1: 68error:: : 9noteredefinition of '__uint32_t' as different kind of symbol: :to match this '(' notebswap_32(uint32_t x): expanded from macro 'bswap32'../config.h :^135 :18../config.h __CAST(uint32_t, __builtin_constant_p((x)) ? \: 138: ^ :note/usr/include/sys/types.h18: ::80expanded from macro 'bswap_16' :note18: #define bswap_16 bswap16: expanded from macro 'bswap_32' ^ note/usr/include/sys/bswap.h#define bswap_32 bswap32: :expanded from macro 'uint32_t'72 ^ : 2/usr/include/sys/bswap.h#define uint32_t __uint32_t: :note68: :expanded from macro 'bswap16'9 ^: /usr/include/sys/common_int_types.hnote:: 50expanded from macro 'bswap32': 27 __CAST(uint16_t, __builtin_constant_p((x)) ? \: ^note : __CAST(uint32_t, __builtin_constant_p((x)) ? \/usr/include/sys/cdefs.h previous definition is here: ^ 606/usr/include/sys/types.h::typedef __UINT32_TYPE__ __uint32_t;80 : ^18 :35 :note : noteexpanded from macro 'uint32_t': expanded from macro '__CAST' #define uint32_t __uint32_t ^ #define __CAST(__dt, __st) ((__dt)(__st))/usr/include/sys/common_int_types.h : ^50 :27: noteIn file included from In file included from amdgpu_dri3.camdgpu_video.c::: 29previous definition is here11: : In file included from ./amdgpu_drv.hIn file included from :./amdgpu_drv.h46:: 46In file included from typedef __UINT32_TYPE__ __uint32_t;/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h : ^37 : : /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hIn file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h363::371: :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :error321: :redefinition of '__uint16_t' as different kind of symbol15 : error: use of undeclared identifier 'x'bswap_16(uint16_t x) ^ return (((x & 0xFF000000) >> 24) | ../config.h ^: 135In file included from :amdgpu_dri2.c18::32 : noteIn file included from : ./amdgpu_drv.hexpanded from macro 'bswap_16': 46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h#define bswap_16 bswap16: 37 ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/usr/include/sys/bswap.h:::32132272:::91515::: error errornote: : use of undeclared identifier 'x': expanded from macro 'bswap16'use of undeclared identifier 'x' ((x & 0x00FF0000) >> 8) | ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ return (((x & 0xFF000000) >> 24) | ^ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h#define uint16_t __uint16_t: 323 ^: 15/usr/include/sys/common_int_types.h:: 48error:: 27use of undeclared identifier 'x': /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hnote ((x & 0x0000FF00) << 8) |: : ^previous definition is here322 : 15: errortypedef __UINT16_TYPE__ __uint16_t;: use of undeclared identifier 'x' ^ ((x & 0x00FF0000) >> 8) | ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:324:15: error: use of undeclared identifier 'x' ((x & 0x000000FF) << 24)); ^ In file included from amdgpu_dri3.c:29: In file included from ./amdgpu_drv.h:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h46:: 323In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h15::37 : error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :use of undeclared identifier 'x'365 :15: ((x & 0x0000FF00) << 8) | /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.herror:: 363 ^: 10use of undeclared identifier 'x': warning: type specifier missing, defaults to 'int' [-Wimplicit-int] return (((x & 0xFF00) >> 8) | ^bswap_16(uint16_t x) ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h#define uint16_t __uint16_t: 324 ^: 15: In file included from erroramdgpu_video.c: :use of undeclared identifier 'x'11 fatal error: : In file included from too many errors emitted, stopping now [-ferror-limit=]./amdgpu_drv.h : ((x & 0x000000FF) << 24));46 : ^In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:19: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ In file included from amdgpu_video.c:11: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:1: error: expected ')' ../config.h:135:/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h18::363 :note10: :expanded from macro 'bswap_16' warning: type specifier missing, defaults to 'int' [-Wimplicit-int]#define bswap_16 bswap16 ^ /usr/include/sys/bswap.hbswap_16(uint16_t x): 72 ^: 45: /usr/include/sys/types.hnote:: 70expanded from macro 'bswap16': 18: note __CAST(uint16_t, __builtin_constant_p((x)) ? \: expanded from macro 'uint16_t' ^ /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:363:#define uint16_t __uint16_t1 : ^ note: to match this '(' ../config.hIn file included from :amdgpu_dri2.c135::3218: :In file included from ./amdgpu_drv.hnote:: 46expanded from macro 'bswap_16': In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h#define bswap_16 bswap16: 37 ^: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h/usr/include/sys/bswap.h::36372::12:: warningnote: : type specifier missing, defaults to 'int' [-Wimplicit-int]expanded from macro 'bswap16' bswap_16(uint16_t x) ^ __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^../config.h :/usr/include/sys/cdefs.h135::60618::35 :note : noteexpanded from macro 'bswap_16': expanded from macro '__CAST' #define bswap_16 bswap16 #define __CAST(__dt, __st) ((__dt)(__st)) ^ ^/usr/include/sys/bswap.h :72:In file included from 19amdgpu_video.c:: 11note: : In file included from expanded from macro 'bswap16'./amdgpu_drv.h :46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: __CAST(uint16_t, __builtin_constant_p((x)) ? \363 : ^1 : error: redefinition of '__uint16_t' as different kind of symbol In file included from amdgpu_dri2.c:bswap_16(uint16_t x)32 : ^In file included from ./amdgpu_drv.h:../config.h46:: 135In file included from :/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h18::37 : note/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :expanded from macro 'bswap_16'363 :1:#define bswap_16 bswap16 error ^: expected ')'/usr/include/sys/bswap.h :72:../config.h9::135 :note18: :expanded from macro 'bswap16' note: expanded from macro 'bswap_16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ #define bswap_16 bswap16/usr/include/sys/types.h : ^70 :18/usr/include/sys/bswap.h:: 72note:: 45expanded from macro 'uint16_t': note: expanded from macro 'bswap16'#define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48: __CAST(uint16_t, __builtin_constant_p((x)) ? \27 : ^ note: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.hprevious definition is here: 363:1: typedef __UINT16_TYPE__ __uint16_t;note : ^to match this '(' ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:2: note: In file included from expanded from macro 'bswap16'amdgpu_video.c :11: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h: __CAST(uint16_t, __builtin_constant_p((x)) ? \37 : ^/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h :365/usr/include/sys/cdefs.h::15606:: 35error:: use of undeclared identifier 'x'note : expanded from macro '__CAST' return (((x & 0xFF00) >> 8) | ^ #define __CAST(__dt, __st) ((__dt)(__st)) ^ In file included from amdgpu_dri2.c:32: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: fatal error/data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h: :too many errors emitted, stopping now [-ferror-limit=]363 :1: error: redefinition of '__uint16_t' as different kind of symbol bswap_16(uint16_t x) ^ ../config.h:135:18: note: expanded from macro 'bswap_16' #define bswap_16 bswap16 ^ /usr/include/sys/bswap.h:72:9: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/types.h:70:18: note: expanded from macro 'uint16_t' #define uint16_t __uint16_t ^ /usr/include/sys/common_int_types.h:48:27: note: previous definition is here typedef __UINT16_TYPE__ __uint16_t; ^ In file included from amdgpu_dri2.c:32: In file included from ./amdgpu_drv.h:46: In file included from /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/xf86str.h:37: /data/scratch/x11/xf86-video-amdgpu/work/.buildlink/include/xorg/misc.h:365:15: error: use of undeclared identifier 'x' return (((x & 0xFF00) >> 8) | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. 6 warnings and 20 errors generated. Makefile:535: recipe for target 'drmmode_display.lo' failed gmake[2]: *** [drmmode_display.lo] Error 1 6 warnings and 20 errors generated. Makefile:535: recipe for target 'amdgpu_drm_queue.lo' failed gmake[2]: *** [amdgpu_drm_queue.lo] Error 1 6 warnings and 20 errors generated. Makefile:535: recipe for target 'amdgpu_glamor_wrappers.lo' failed gmake[2]: *** [amdgpu_glamor_wrappers.lo] Error 1 Makefile:535: recipe for target 'amdgpu_bo_helper.lo' failed gmake[2]: *** [amdgpu_bo_helper.lo] Error 1 6 warnings and 20 errors generated. 6 warnings and 20 errors generated. 6 warnings and 20 errors generated. Makefile:535: recipe for target 'amdgpu_video.lo' failed gmake[2]: *** [amdgpu_video.lo] Error 1 6 warnings and 20 errors generated. Makefile:535: recipe for target 'amdgpu_probe.lo' failed gmake[2]: *** [amdgpu_probe.lo] Error 1 6 warning6s warning and s20 and error20s error generated. s generated. Makefile:535: recipe for target 'amdgpu_dri3.lo' failed gmake[2]: *** [amdgpu_dri3.lo] Error 1 6 warnings and 20 errors generated. Makefile:535: recipe for target 'amdgpu_present.lo' failed gmake[2]: *** [amdgpu_present.lo] Error 1 Makefile:535: recipe for target 'amdgpu_sync.lo' failed gmake[2]: *** [amdgpu_sync.lo] Error 1 Makefile:535: recipe for target 'amdgpu_glamor.lo' failed gmake[2]: *** [amdgpu_glamor.lo] Error 1 Makefile:535: recipe for target 'amdgpu_dri2.lo' failed gmake[2]: *** [amdgpu_dri2.lo] Error 1 gmake[2]: Leaving directory '/data/scratch/x11/xf86-video-amdgpu/work/xf86-video-amdgpu-18.0.1/src' Makefile:460: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/x11/xf86-video-amdgpu/work/xf86-video-amdgpu-18.0.1' Makefile:392: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/x11/xf86-video-amdgpu *** Error code 1 Stop. make: stopped in /data/pkgsrc/x11/xf86-video-amdgpu