Build started on Fri Mar 24 08:48:22 UTC 2023

exec: export LC_ALL=C ; { gcc -I/usr/pkg/include -E os.h 2>/dev/null | grep -v ^# | grep ' | cut -f 2 -d' ; }
__bswap16
__bswap32
$0
call_pal %1 # PAL_rdunique
=r
i
NetBSD

exec: export LC_ALL=C ; { gcc -I/usr/pkg/include -E archtest.c 2>/dev/null | grep -v ^# | grep ' | cut -f 2 -d' ; }
__bswap16
__bswap32
$0
call_pal %1 # PAL_rdunique
=r
i
alpha

exec: export LC_ALL=C ; { gcc -I/usr/pkg/include -E endiantest.c 2>/dev/null | grep -v ^# ; }




static __inline long long __zeroll(void) { return 0; }
static __inline unsigned long long __zeroull(void) { return 0; }
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short int __int16_t;
typedef short unsigned int __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef long int __int64_t;
typedef long unsigned int __uint64_t;





typedef long int __intptr_t;
typedef long unsigned int __uintptr_t;


typedef __int8_t int8_t;




typedef __uint8_t uint8_t;




typedef __int16_t int16_t;




typedef __uint16_t uint16_t;




typedef __int32_t int32_t;




typedef __uint32_t uint32_t;




typedef __int64_t int64_t;




typedef __uint64_t uint64_t;




typedef __intptr_t intptr_t;




typedef __uintptr_t uintptr_t;



typedef signed char int_least8_t;
typedef unsigned char uint_least8_t;
typedef short int int_least16_t;
typedef short unsigned int uint_least16_t;
typedef int int_least32_t;
typedef unsigned int uint_least32_t;
typedef long int int_least64_t;
typedef long unsigned int uint_least64_t;


typedef int int_fast8_t;
typedef unsigned int uint_fast8_t;
typedef int int_fast16_t;
typedef unsigned int uint_fast16_t;
typedef int int_fast32_t;
typedef unsigned int uint_fast32_t;
typedef long int int_fast64_t;
typedef long unsigned int uint_fast64_t;



typedef long int intmax_t;
typedef long unsigned int uintmax_t;














typedef int __cpu_simple_lock_nv_t;
typedef long int __register_t;
typedef unsigned long __paddr_t;







typedef char * __caddr_t;
typedef __uint32_t __gid_t;
typedef __uint32_t __in_addr_t;
typedef __uint16_t __in_port_t;
typedef __uint32_t __mode_t;
typedef __int64_t __off_t;
typedef __int32_t __pid_t;
typedef __uint8_t __sa_family_t;
typedef unsigned int __socklen_t;
typedef __uint32_t __uid_t;
typedef __uint64_t __fsblkcnt_t;
typedef __uint64_t __fsfilcnt_t;

struct __tag_wctrans_t;
typedef struct __tag_wctrans_t *__wctrans_t;

struct __tag_wctype_t;
typedef struct __tag_wctype_t *__wctype_t;





typedef union {
 __int64_t __mbstateL;
 char __mbstate8[128];
} __mbstate_t;
typedef __builtin_va_list __va_list;
typedef uint8_t u_int8_t;
typedef uint16_t u_int16_t;
typedef uint32_t u_int32_t;
typedef uint64_t u_int64_t;





typedef __in_addr_t in_addr_t;




typedef __in_port_t in_port_t;





uint32_t htonl(uint32_t) __attribute__((__const__));
uint16_t htons(uint16_t) __attribute__((__const__));
uint32_t ntohl(uint32_t) __attribute__((__const__));
uint16_t ntohs(uint16_t) __attribute__((__const__));





















uint16_t bswap16(uint16_t) __asm("__bswap16") __attribute__((__const__));
uint32_t bswap32(uint32_t) __asm("__bswap32") __attribute__((__const__));

uint64_t bswap64(uint64_t) __attribute__((__const__));


static __inline void __attribute__((__unused__)) be16enc(void *dst, uint16_t u) { u = ((uint16_t)(__builtin_constant_p((((uint16_t)((u))))) ? (((uint16_t)(((((((uint16_t)((u)))) & 0xff00) >> 8) | (((((uint16_t)((u)))) & 0x00ff) << 8))))) : bswap16(((uint16_t)((u)))))); __builtin_memcpy(dst, &u, sizeof(u)); }
static __inline void __attribute__((__unused__)) be32enc(void *dst, uint32_t u) { u = ((uint32_t)(__builtin_constant_p((((uint32_t)((u))))) ? (((uint32_t)(((((((uint32_t)((u)))) & 0xff000000) >> 24) | (((((uint32_t)((u)))) & 0x00ff0000) >> 8) | (((((uint32_t)((u)))) & 0x0000ff00) << 8) | (((((uint32_t)((u)))) & 0x000000ff) << 24))))) : bswap32(((uint32_t)((u)))))); __builtin_memcpy(dst, &u, sizeof(u)); }
static __inline void __attribute__((__unused__)) be64enc(void *dst, uint64_t u) { u = ((uint64_t)(__builtin_constant_p((((uint64_t)((u))))) ? (((uint64_t)(((((((uint64_t)((u)))) & 0xff00000000000000ull) >> 56) | (((((uint64_t)((u)))) & 0x00ff000000000000ull) >> 40) | (((((uint64_t)((u)))) & 0x0000ff0000000000ull) >> 24) | (((((uint64_t)((u)))) & 0x000000ff00000000ull) >> 8) | (((((uint64_t)((u)))) & 0x00000000ff000000ull) << 8) | (((((uint64_t)((u)))) & 0x0000000000ff0000ull) << 24) | (((((uint64_t)((u)))) & 0x000000000000ff00ull) << 40) | (((((uint64_t)((u)))) & 0x00000000000000ffull) << 56))))) : bswap64(((uint64_t)((u)))))); __builtin_memcpy(dst, &u, sizeof(u)); }
static __inline void __attribute__((__unused__)) le16enc(void *dst, uint16_t u) { u = (u); __builtin_memcpy(dst, &u, sizeof(u)); }
static __inline void __attribute__((__unused__)) le32enc(void *dst, uint32_t u) { u = (u); __builtin_memcpy(dst, &u, sizeof(u)); }
static __inline void __attribute__((__unused__)) le64enc(void *dst, uint64_t u) { u = (u); __builtin_memcpy(dst, &u, sizeof(u)); }
static __inline uint16_t __attribute__((__unused__)) be16dec(const void *buf) { uint16_t u; __builtin_memcpy(&u, buf, sizeof(u)); return ((uint16_t)(__builtin_constant_p((((uint16_t)((u))))) ? (((uint16_t)(((((((uint16_t)((u)))) & 0xff00) >> 8) | (((((uint16_t)((u)))) & 0x00ff) << 8))))) : bswap16(((uint16_t)((u)))))); }
static __inline uint32_t __attribute__((__unused__)) be32dec(const void *buf) { uint32_t u; __builtin_memcpy(&u, buf, sizeof(u)); return ((uint32_t)(__builtin_constant_p((((uint32_t)((u))))) ? (((uint32_t)(((((((uint32_t)((u)))) & 0xff000000) >> 24) | (((((uint32_t)((u)))) & 0x00ff0000) >> 8) | (((((uint32_t)((u)))) & 0x0000ff00) << 8) | (((((uint32_t)((u)))) & 0x000000ff) << 24))))) : bswap32(((uint32_t)((u)))))); }
static __inline uint64_t __attribute__((__unused__)) be64dec(const void *buf) { uint64_t u; __builtin_memcpy(&u, buf, sizeof(u)); return ((uint64_t)(__builtin_constant_p((((uint64_t)((u))))) ? (((uint64_t)(((((((uint64_t)((u)))) & 0xff00000000000000ull) >> 56) | (((((uint64_t)((u)))) & 0x00ff000000000000ull) >> 40) | (((((uint64_t)((u)))) & 0x0000ff0000000000ull) >> 24) | (((((uint64_t)((u)))) & 0x000000ff00000000ull) >> 8) | (((((uint64_t)((u)))) & 0x00000000ff000000ull) << 8) | (((((uint64_t)((u)))) & 0x0000000000ff0000ull) << 24) | (((((uint64_t)((u)))) & 0x000000000000ff00ull) << 40) | (((((uint64_t)((u)))) & 0x00000000000000ffull) << 56))))) : bswap64(((uint64_t)((u)))))); }
static __inline uint16_t __attribute__((__unused__)) le16dec(const void *buf) { uint16_t u; __builtin_memcpy(&u, buf, sizeof(u)); return (u); }
static __inline uint32_t __attribute__((__unused__)) le32dec(const void *buf) { uint32_t u; __builtin_memcpy(&u, buf, sizeof(u)); return (u); }
static __inline uint64_t __attribute__((__unused__)) le64dec(const void *buf) { uint64_t u; __builtin_memcpy(&u, buf, sizeof(u)); return (u); }


typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;

typedef unsigned char unchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;


typedef uint64_t u_quad_t;
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef int64_t longlong_t;
typedef uint64_t u_longlong_t;

typedef int64_t blkcnt_t;
typedef int32_t blksize_t;


typedef __fsblkcnt_t fsblkcnt_t;




typedef __fsfilcnt_t fsfilcnt_t;






typedef __caddr_t caddr_t;
typedef int64_t daddr_t;


typedef uint64_t dev_t;
typedef uint32_t fixpt_t;


typedef __gid_t gid_t;



typedef uint32_t id_t;
typedef uint64_t ino_t;
typedef long key_t;


typedef __mode_t mode_t;



typedef uint32_t nlink_t;


typedef __off_t off_t;




typedef __pid_t pid_t;


typedef int32_t lwpid_t;
typedef uint64_t rlim_t;
typedef int32_t segsz_t;
typedef int32_t swblk_t;


typedef __uid_t uid_t;



typedef int mqd_t;

typedef unsigned long cpuid_t;

typedef int psetid_t;

typedef volatile __cpu_simple_lock_nv_t __cpu_simple_lock_t;


__off_t lseek(int, __off_t, int);
int ftruncate(int, __off_t);
int truncate(const char *, __off_t);








typedef int32_t __devmajor_t, __devminor_t;
typedef unsigned int clock_t;




typedef long int ptrdiff_t;




typedef long unsigned int size_t;





typedef long int ssize_t;




typedef __int64_t time_t;




typedef int clockid_t;




typedef int timer_t;




typedef int suseconds_t;




typedef unsigned int useconds_t;











typedef __uint32_t __fd_mask;
typedef struct fd_set {
 __fd_mask fds_bits[(((256) + ((32) - 1)) / (32))];
} fd_set;



typedef struct kauth_cred *kauth_cred_t;

typedef int pri_t;
typedef __cpu_simple_lock_t pthread_spin_t;




typedef pthread_spin_t __pthread_spin_t;
struct pthread_queue_struct_t { struct __pthread_st *ptqh_first; struct __pthread_st **ptqh_last; };
typedef struct pthread_queue_struct_t pthread_queue_t;

struct __pthread_st;
struct __pthread_attr_st;
struct __pthread_mutex_st;
struct __pthread_mutexattr_st;
struct __pthread_cond_st;
struct __pthread_condattr_st;
struct __pthread_spin_st;
struct __pthread_rwlock_st;
struct __pthread_rwlockattr_st;
struct __pthread_barrier_st;
struct __pthread_barrierattr_st;

typedef struct __pthread_st *pthread_t;
typedef struct __pthread_attr_st pthread_attr_t;
typedef struct __pthread_mutex_st pthread_mutex_t;
typedef struct __pthread_mutexattr_st pthread_mutexattr_t;
typedef struct __pthread_cond_st pthread_cond_t;
typedef struct __pthread_condattr_st pthread_condattr_t;
typedef struct __pthread_once_st pthread_once_t;
typedef struct __pthread_spinlock_st pthread_spinlock_t;
typedef struct __pthread_rwlock_st pthread_rwlock_t;
typedef struct __pthread_rwlockattr_st pthread_rwlockattr_t;
typedef struct __pthread_barrier_st pthread_barrier_t;
typedef struct __pthread_barrierattr_st pthread_barrierattr_t;
typedef int pthread_key_t;

struct __pthread_attr_st {
 unsigned int pta_magic;

 int pta_flags;
 void *pta_private;
};
struct __pthread_mutex_st {
 unsigned int ptm_magic;
 __pthread_spin_t ptm_errorcheck;
 union {
  unsigned char ptm_ceiling;
  __pthread_spin_t ptm_unused;
 };



 volatile pthread_t ptm_owner;
 pthread_t * volatile ptm_waiters;
 unsigned int ptm_recursed;
 void *ptm_spare2;
};
struct __pthread_mutexattr_st {
 unsigned int ptma_magic;
 void *ptma_private;
};





struct __pthread_cond_st {
 unsigned int ptc_magic;


 __pthread_spin_t ptc_lock;
 pthread_queue_t ptc_waiters;

 pthread_mutex_t *ptc_mutex;
 void *ptc_private;
};
struct __pthread_condattr_st {
 unsigned int ptca_magic;
 void *ptca_private;
};




struct __pthread_once_st {
 pthread_mutex_t pto_mutex;
 int pto_done;
};



struct __pthread_spinlock_st {
 unsigned int pts_magic;
 __pthread_spin_t pts_spin;
 int pts_flags;
};
struct __pthread_rwlock_st {
 unsigned int ptr_magic;


 __pthread_spin_t ptr_interlock;

 pthread_queue_t ptr_rblocked;
 pthread_queue_t ptr_wblocked;
 unsigned int ptr_nreaders;
 volatile pthread_t ptr_owner;
 void *ptr_private;
};
struct __pthread_rwlockattr_st {
 unsigned int ptra_magic;
 void *ptra_private;
};




struct __pthread_barrier_st {
 unsigned int ptb_magic;


 pthread_spin_t ptb_lock;

 pthread_queue_t ptb_waiters;
 unsigned int ptb_initcount;
 unsigned int ptb_curcount;
 unsigned int ptb_generation;

 void *ptb_private;
};




struct __pthread_barrierattr_st {
 unsigned int ptba_magic;
 void *ptba_private;
};

typedef struct {
 __uint32_t __bits[4];
} sigset_t;
typedef struct

               sigaltstack

      {
 void *ss_sp;
 size_t ss_size;
 int ss_flags;
} stack_t;

typedef long sig_atomic_t;




typedef union sigval {
 int sival_int;
 void *sival_ptr;
} sigval_t;

struct _ksiginfo {
 int _signo;
 int _code;
 int _errno;


 int _pad;

 union {
  struct {
   __pid_t _pid;
   __uid_t _uid;
   sigval_t _value;
  } _rt;

  struct {
   __pid_t _pid;
   __uid_t _uid;
   int _status;
   clock_t _utime;
   clock_t _stime;
  } _child;

  struct {
   void *_addr;
   int _trap;
   int _trap2;
   int _trap3;
  } _fault;

  struct {
   long _band;
   int _fd;
  } _poll;

  struct {
   int _sysnum;
   int _retval[2];
   int _error;
   uint64_t _args[8];
  } _syscall;

  struct {
   int _pe_report_event;
   union {
    __pid_t _pe_other_pid;
    lwpid_t _pe_lwp;
   } _option;
  } _ptrace_state;
 } _reason;
};
typedef union siginfo {
 char si_pad[128];
 struct _ksiginfo _info;
} siginfo_t;




typedef unsigned long __greg_t;
typedef __greg_t __gregset_t[34];
typedef struct {
 union {
  unsigned long __fp_regs[32];
  double __fp_dregs[32];
 } __fp_fr;
 unsigned long __fp_fpcr;
} __fpregset_t;

typedef struct {
 __gregset_t __gregs;
 __fpregset_t __fpregs;
} mcontext_t;
static __inline void *
__lwp_getprivate_fast(void)
{
 register void *__tmp __asm("$0");

 __asm volatile("call_pal %1 # PAL_rdunique"
  : "=r" (__tmp)
  : "i" (0x009e ));

 return __tmp;
}

typedef struct __ucontext ucontext_t;

struct __ucontext {
 unsigned int uc_flags;
 ucontext_t * uc_link;
 sigset_t uc_sigmask;
 stack_t uc_stack;
 mcontext_t uc_mcontext;



};





struct sigaction {
 union {
  void (*_sa_handler)(int);


  void (*_sa_sigaction)(int, siginfo_t *, void *);

 } _sa_u;
 sigset_t sa_mask;
 int sa_flags;
};
typedef void (*sig_t)(int);
struct sigstack {
 void *ss_sp;
 int ss_onstack;
};
struct sigevent {
 int sigev_notify;
 int sigev_signo;
 union sigval sigev_value;
 void (*sigev_notify_function)(union sigval);
 void *sigev_notify_attributes;
};


void (*signal(int, void (*)(int)))(int);
void (*bsd_signal(int, void (*)(int)))(int);

int sigqueue(__pid_t, int, const union sigval);


int sigqueueinfo(__pid_t, const siginfo_t *);









big

exec: export LC_ALL=C ; { [ -n "/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ] && export PKG_CONFIG_LIBDIR="/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ; /tmp/pkgbuild/sysutils/flashrom/work.alpha/.tools/bin/pkg-config --libs libftdi1 || /tmp/pkgbuild/sysutils/flashrom/work.alpha/.tools/bin/pkg-config --libs libftdi || printf "%s" "-lftdi -lusb" ; }
-L/usr/pkg/lib -lftdi1 -Wl,-R/usr/pkg/lib -lusb-1.0 

exec: export LC_ALL=C ; { [ -n "/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ] && export PKG_CONFIG_LIBDIR="/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ; /tmp/pkgbuild/sysutils/flashrom/work.alpha/.tools/bin/pkg-config --cflags-only-I libftdi1 ; }
-I/usr/pkg/include/libftdi1 -I/usr/pkg/include/libusb-1.0 

exec: export LC_ALL=C ; { [ -n "/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ] && export PKG_CONFIG_LIBDIR="/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig"; /tmp/pkgbuild/sysutils/flashrom/work.alpha/.tools/bin/pkg-config --cflags-only-I libusb-1.0  || printf "%s" "-I/usr/include/libusb-1.0" ; }
-I/usr/pkg/include/libusb-1.0 

exec: export LC_ALL=C ; { [ -n "/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ] && export PKG_CONFIG_LIBDIR="/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig"; /tmp/pkgbuild/sysutils/flashrom/work.alpha/.tools/bin/pkg-config --cflags-only-I libusb-1.0  || printf "%s" "-I/usr/include/libusb-1.0" ; }
-I/usr/pkg/include/libusb-1.0 

exec: export LC_ALL=C ; { [ -n "/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ] && export PKG_CONFIG_LIBDIR="/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig"; /tmp/pkgbuild/sysutils/flashrom/work.alpha/.tools/bin/pkg-config --cflags-only-I libusb-1.0  || printf "%s" "-I/usr/include/libusb-1.0" ; }
-I/usr/pkg/include/libusb-1.0 

Checking for a C compiler... exec: export LC_ALL=C ; { [ -n "/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig" ] && export PKG_CONFIG_LIBDIR="/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/lib/pkgconfig:/tmp/pkgbuild/sysutils/flashrom/work.alpha/.buildlink/share/pkgconfig"; /tmp/pkgbuild/sysutils/flashrom/work.alpha/.tools/bin/pkg-config --cflags-only-I libusb-1.0  || printf "%s" "-I/usr/include/libusb-1.0" ; }
-I/usr/pkg/include/libusb-1.0 


exec: gcc -I/usr/pkg/include -I/usr/pkg/include/libusb-1.0  -O2 -mieee -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib .test.c -o .test
found.
