[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

kfreebsd-10 FTBFS with clang



Moin!

clang (3.2-10) fails to build my kfreebsd-10 while gcc-4.6 builds it
just fine. Is this a known problem somewhere?

  Christoph

==

clang -O2 -pipe  -D_GNU_SOURCE -isystem /usr/include/freebsd -I../../../dev/aic7xxx/aicasm -std=gnu99 -Qunused-arguments -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c ../../../dev/aic7xxx/aicasm/aicasm_symbol.c
In file included from ../../../dev/aic7xxx/aicasm/aicasm_symbol.c:46:
In file included from /usr/include/freebsd/sys/param.h:38:
In file included from /usr/include/x86_64-kfreebsd-gnu/sys/param.h:28:
In file included from /usr/include/signal.h:80:
/usr/include/x86_64-kfreebsd-gnu/bits/siginfo.h:207:7: error: unknown type name '__lwpid_t'; did you mean '__pid_t'?
      __lwpid_t threadid;
      ^
/usr/include/x86_64-kfreebsd-gnu/bits/types.h:142:25: note: '__pid_t' declared here
__STD_TYPE __PID_T_TYPE __pid_t;        /* Type of process identifications.  */
                        ^
1 error generated.
*** [aicasm_symbol.o] Error code 1

Stop in /home/christoph/scratch/kfreebsd-10/flavor-10.0-0-amd64/sys/amd64/compile/DEBCUSTOM.
*** [aicasm] Error code 1

Stop in /home/christoph/scratch/kfreebsd-10/flavor-10.0-0-amd64/sys/amd64/compile/DEBCUSTOM.
make: *** [build-flavor-amd64-stamp] Error 1
rm src-flavor-amd64-stamp
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Reply to: