=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for mingw-w64-i686-winpthreads-9.0.0
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/scratch/work/cross/mingw-w64-i686-winpthreads/work/mingw-w64-v9.0.0/mingw-w64-libraries/winpthreads'
Making all in .
gmake[2]: Entering directory '/scratch/work/cross/mingw-w64-i686-winpthreads/work/mingw-w64-v9.0.0/mingw-w64-libraries/winpthreads'
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-barrier.lo -MD -MP -MF src/.deps/libwinpthread_la-barrier.Tpo -c -o src/libwinpthread_la-barrier.lo `test -f 'src/barrier.c' || echo './'`src/barrier.c
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-cond.lo -MD -MP -MF src/.deps/libwinpthread_la-cond.Tpo -c -o src/libwinpthread_la-cond.lo `test -f 'src/cond.c' || echo './'`src/cond.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-barrier.lo -MD -MP -MF src/.deps/libwinpthread_la-barrier.Tpo -c src/barrier.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-barrier.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-cond.lo -MD -MP -MF src/.deps/libwinpthread_la-cond.Tpo -c src/cond.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-cond.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-barrier.lo -MD -MP -MF src/.deps/libwinpthread_la-barrier.Tpo -c src/barrier.c -o src/libwinpthread_la-barrier.o >/dev/null 2>&1
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-cond.lo -MD -MP -MF src/.deps/libwinpthread_la-cond.Tpo -c src/cond.c -o src/libwinpthread_la-cond.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-barrier.Tpo src/.deps/libwinpthread_la-barrier.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-misc.lo -MD -MP -MF src/.deps/libwinpthread_la-misc.Tpo -c -o src/libwinpthread_la-misc.lo `test -f 'src/misc.c' || echo './'`src/misc.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-misc.lo -MD -MP -MF src/.deps/libwinpthread_la-misc.Tpo -c src/misc.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-misc.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-misc.lo -MD -MP -MF src/.deps/libwinpthread_la-misc.Tpo -c src/misc.c -o src/libwinpthread_la-misc.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-cond.Tpo src/.deps/libwinpthread_la-cond.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-mutex.lo -MD -MP -MF src/.deps/libwinpthread_la-mutex.Tpo -c -o src/libwinpthread_la-mutex.lo `test -f 'src/mutex.c' || echo './'`src/mutex.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-mutex.lo -MD -MP -MF src/.deps/libwinpthread_la-mutex.Tpo -c src/mutex.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-mutex.o
mv -f src/.deps/libwinpthread_la-misc.Tpo src/.deps/libwinpthread_la-misc.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-rwlock.lo -MD -MP -MF src/.deps/libwinpthread_la-rwlock.Tpo -c -o src/libwinpthread_la-rwlock.lo `test -f 'src/rwlock.c' || echo './'`src/rwlock.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-rwlock.lo -MD -MP -MF src/.deps/libwinpthread_la-rwlock.Tpo -c src/rwlock.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-rwlock.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-mutex.lo -MD -MP -MF src/.deps/libwinpthread_la-mutex.Tpo -c src/mutex.c -o src/libwinpthread_la-mutex.o >/dev/null 2>&1
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-rwlock.lo -MD -MP -MF src/.deps/libwinpthread_la-rwlock.Tpo -c src/rwlock.c -o src/libwinpthread_la-rwlock.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-mutex.Tpo src/.deps/libwinpthread_la-mutex.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-spinlock.lo -MD -MP -MF src/.deps/libwinpthread_la-spinlock.Tpo -c -o src/libwinpthread_la-spinlock.lo `test -f 'src/spinlock.c' || echo './'`src/spinlock.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-spinlock.lo -MD -MP -MF src/.deps/libwinpthread_la-spinlock.Tpo -c src/spinlock.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-spinlock.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-spinlock.lo -MD -MP -MF src/.deps/libwinpthread_la-spinlock.Tpo -c src/spinlock.c -o src/libwinpthread_la-spinlock.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-spinlock.Tpo src/.deps/libwinpthread_la-spinlock.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-thread.lo -MD -MP -MF src/.deps/libwinpthread_la-thread.Tpo -c -o src/libwinpthread_la-thread.lo `test -f 'src/thread.c' || echo './'`src/thread.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-thread.lo -MD -MP -MF src/.deps/libwinpthread_la-thread.Tpo -c src/thread.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-thread.o
mv -f src/.deps/libwinpthread_la-rwlock.Tpo src/.deps/libwinpthread_la-rwlock.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-ref.lo -MD -MP -MF src/.deps/libwinpthread_la-ref.Tpo -c -o src/libwinpthread_la-ref.lo `test -f 'src/ref.c' || echo './'`src/ref.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-ref.lo -MD -MP -MF src/.deps/libwinpthread_la-ref.Tpo -c src/ref.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-ref.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-ref.lo -MD -MP -MF src/.deps/libwinpthread_la-ref.Tpo -c src/ref.c -o src/libwinpthread_la-ref.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-ref.Tpo src/.deps/libwinpthread_la-ref.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-sem.lo -MD -MP -MF src/.deps/libwinpthread_la-sem.Tpo -c -o src/libwinpthread_la-sem.lo `test -f 'src/sem.c' || echo './'`src/sem.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-sem.lo -MD -MP -MF src/.deps/libwinpthread_la-sem.Tpo -c src/sem.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-sem.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-thread.lo -MD -MP -MF src/.deps/libwinpthread_la-thread.Tpo -c src/thread.c -o src/libwinpthread_la-thread.o >/dev/null 2>&1
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-sem.lo -MD -MP -MF src/.deps/libwinpthread_la-sem.Tpo -c src/sem.c -o src/libwinpthread_la-sem.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-sem.Tpo src/.deps/libwinpthread_la-sem.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-sched.lo -MD -MP -MF src/.deps/libwinpthread_la-sched.Tpo -c -o src/libwinpthread_la-sched.lo `test -f 'src/sched.c' || echo './'`src/sched.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-sched.lo -MD -MP -MF src/.deps/libwinpthread_la-sched.Tpo -c src/sched.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-sched.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-sched.lo -MD -MP -MF src/.deps/libwinpthread_la-sched.Tpo -c src/sched.c -o src/libwinpthread_la-sched.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-thread.Tpo src/.deps/libwinpthread_la-thread.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-clock.lo -MD -MP -MF src/.deps/libwinpthread_la-clock.Tpo -c -o src/libwinpthread_la-clock.lo `test -f 'src/clock.c' || echo './'`src/clock.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-clock.lo -MD -MP -MF src/.deps/libwinpthread_la-clock.Tpo -c src/clock.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-clock.o
mv -f src/.deps/libwinpthread_la-sched.Tpo src/.deps/libwinpthread_la-sched.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.  -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-nanosleep.lo -MD -MP -MF src/.deps/libwinpthread_la-nanosleep.Tpo -c -o src/libwinpthread_la-nanosleep.lo `test -f 'src/nanosleep.c' || echo './'`src/nanosleep.c
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-nanosleep.lo -MD -MP -MF src/.deps/libwinpthread_la-nanosleep.Tpo -c src/nanosleep.c  -DDLL_EXPORT -DPIC -o src/.libs/libwinpthread_la-nanosleep.o
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-clock.lo -MD -MP -MF src/.deps/libwinpthread_la-clock.Tpo -c src/clock.c -o src/libwinpthread_la-clock.o >/dev/null 2>&1
libtool: compile:  i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I./include -DIN_WINPTHREAD -DWINPTHREAD_DBG=1 -D__USE_MINGW_ANSI_STDIO=0 -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libwinpthread_la-nanosleep.lo -MD -MP -MF src/.deps/libwinpthread_la-nanosleep.Tpo -c src/nanosleep.c -o src/libwinpthread_la-nanosleep.o >/dev/null 2>&1
mv -f src/.deps/libwinpthread_la-clock.Tpo src/.deps/libwinpthread_la-clock.Plo
/bin/sh ./libtool   --tag=RC --mode=compile i686-w64-mingw32-windres  -i src/version.rc -o src/version.lo
libtool: compile:  i686-w64-mingw32-windres -i src/version.rc  -o src/.libs/version.o
libtool: compile:  i686-w64-mingw32-windres -i src/version.rc -o src/version.o >/dev/null 2>&1
depbase=`echo src/libgcc/dll_dependency.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.   -I/usr/pkg/include  -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libgcc/dll_dependency.o -MD -MP -MF $depbase.Tpo -c -o src/libgcc/dll_dependency.o src/libgcc/dll_dependency.S &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/libgcc/dll_math.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I.   -I/usr/pkg/include -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -MT src/libgcc/dll_math.o -MD -MP -MF $depbase.Tpo -c -o src/libgcc/dll_math.o src/libgcc/dll_math.c &&\
mv -f $depbase.Tpo $depbase.Po
mv -f src/.deps/libwinpthread_la-nanosleep.Tpo src/.deps/libwinpthread_la-nanosleep.Plo
rm -f fakelib/libgcc_eh.a
i686-w64-mingw32-ar cru fakelib/libgcc_eh.a  
i686-w64-mingw32-ranlib fakelib/libgcc_eh.a
rm -f fakelib/libgcc_s.a
i686-w64-mingw32-ar cru fakelib/libgcc_s.a  
i686-w64-mingw32-ranlib fakelib/libgcc_s.a
rm -f fakelib/libgcc.a
i686-w64-mingw32-ar cru fakelib/libgcc.a src/libgcc/dll_dependency.o src/libgcc/dll_math.o 
i686-w64-mingw32-ranlib fakelib/libgcc.a
/bin/sh ./libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc -Wall -DWIN32_LEAN_AND_MEAN -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -no-undefined -version-info 1:0:0 -L./fakelib -Wc,-no-pthread -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o libwinpthread.la -rpath /usr/pkg/cross/i686-w64-mingw32-winpthreads/mingw/lib src/libwinpthread_la-barrier.lo src/libwinpthread_la-cond.lo src/libwinpthread_la-misc.lo src/libwinpthread_la-mutex.lo src/libwinpthread_la-rwlock.lo src/libwinpthread_la-spinlock.lo src/libwinpthread_la-thread.lo src/libwinpthread_la-ref.lo src/libwinpthread_la-sem.lo src/libwinpthread_la-sched.lo src/libwinpthread_la-clock.lo src/libwinpthread_la-nanosleep.lo src/version.lo  
libtool: link: i686-w64-mingw32-gcc -shared  src/.libs/libwinpthread_la-barrier.o src/.libs/libwinpthread_la-cond.o src/.libs/libwinpthread_la-misc.o src/.libs/libwinpthread_la-mutex.o src/.libs/libwinpthread_la-rwlock.o src/.libs/libwinpthread_la-spinlock.o src/.libs/libwinpthread_la-thread.o src/.libs/libwinpthread_la-ref.o src/.libs/libwinpthread_la-sem.o src/.libs/libwinpthread_la-sched.o src/.libs/libwinpthread_la-clock.o src/.libs/libwinpthread_la-nanosleep.o src/.libs/version.o   -L./fakelib -L/usr/pkg/lib  -O2 -no-pthread -Wl,-zrelro -Wl,-R/usr/pkg/lib   -o .libs/libwinpthread-1.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libwinpthread.dll.a
/usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/ld: unrecognized option '-zrelro'
/usr/pkg/cross/i686-w64-mingw32/i686-w64-mingw32/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:680: libwinpthread.la] Error 1
gmake[2]: Leaving directory '/scratch/work/cross/mingw-w64-i686-winpthreads/work/mingw-w64-v9.0.0/mingw-w64-libraries/winpthreads'
gmake[1]: *** [Makefile:876: all-recursive] Error 1
gmake[1]: Leaving directory '/scratch/work/cross/mingw-w64-i686-winpthreads/work/mingw-w64-v9.0.0/mingw-w64-libraries/winpthreads'
gmake: *** [Makefile:488: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/cross/mingw-w64-i686-winpthreads
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/cross/mingw-w64-i686-winpthreads