Hi,
I just wanted to update my amd64 workstation to an up-to-date current,
but i just hit a compilation problem for libpthread_dbg (same error
with cross-compilation from i386) :
dependall ===> lib/libpthread_dbg
# compile libpthread_dbg/pthread_dbg.ln
CC=/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-gcc
/local/src/NetBSD/tool/amd64/bin/x86_64--netbsd-lint -chapbxzF -d
/local/src/NetBSD/dest/amd64/usr/include
-I/local/src/NetBSD/src/lib/libpthread_dbg/../libpthread/arch/x86_64
-I/local/src/NetBSD/src/lib/libpthread_dbg/../libpthread
-I/local/src/NetBSD/src/lib/libpthread_dbg -i
/local/src/NetBSD/src/lib/libpthread_dbg/pthread_dbg.c
/local/src/NetBSD/dest/amd64/usr/include/machine/reg.h(82): incomplete
structure or union fxsave64: fxstate [31]
/local/src/NetBSD/dest/amd64/usr/include/machine/reg.h(83): warning: zero sized
struct [47]
/local/src/NetBSD/dest/amd64/usr/include/signal.h(207): warning: dubious tag
declaration: struct sigcontext [85]
/local/src/NetBSD/src/lib/libpthread_dbg/pthread_dbg.c(560): warning:
conversion from 'unsigned long' may lose accuracy [132]
/local/src/NetBSD/src/lib/libpthread_dbg/pthread_dbg.c(908): warning:
conversion from 'unsigned long' may lose accuracy [132]
/local/src/NetBSD/src/lib/libpthread_dbg/pthread_dbg.c(1159): warning:
conversion from 'unsigned long' may lose accuracy [132]
*** Failed target: pthread_dbg.ln
The problem seems that `fxsave64' definition is protected with `#ifdef
_KERNEL' in `machine/mcontext.h', which leads to a sero sized struct
in `machine/reg.h'.
Thanks in advance,
Regards.
--
Nicolas Joly
Biological Software and Databanks.
Institut Pasteur, Paris.
|