Re: kfreebsd-10 FTBFS with clang

2013-09-09 Thread Robert Millan
Christoph Egger: > ../../../dev/aic7xxx/aicasm/aicasm.c:759:2: warning: implicit declaration of > function 'TAILQ_INSERT_TAIL' is invalid in C99 > [-Wimplicit-function-declaration] > TAILQ_INSERT_TAIL(&cs_tailq, new_cs, links); > ^ > fatal error: too many errors emitted, stopping

Re: kfreebsd-10 FTBFS with clang

2013-09-05 Thread Christoph Egger
Robert Millan writes: > Christoph Egger: >> Christoph Egger writes: >>> Robert Millan writes: > clang (3.2-10) fails to build my kfreebsd-10 while gcc-4.6 builds it > just fine. Is this a known problem somewhere? Found. See #721880. If you need a workaround, you can

Re: kfreebsd-10 FTBFS with clang

2013-09-05 Thread Robert Millan
Christoph Egger: > Christoph Egger writes: >> Robert Millan writes: clang (3.2-10) fails to build my kfreebsd-10 while gcc-4.6 builds it just fine. Is this a known problem somewhere? >>> >>> Found. See #721880. >>> >>> If you need a workaround, you can add -D__FreeBSD_kernel__ to CFLAGS

Re: kfreebsd-10 FTBFS with clang

2013-09-05 Thread Christoph Egger
Christoph Egger writes: > Robert Millan writes: >>> clang (3.2-10) fails to build my kfreebsd-10 while gcc-4.6 builds it >>> just fine. Is this a known problem somewhere? >> >> Found. See #721880. >> >> If you need a workaround, you can add -D__FreeBSD_kernel__ to CFLAGS in >> debian/patches/003_

Re: kfreebsd-10 FTBFS with clang

2013-09-05 Thread Christoph Egger
Robert Millan writes: >> clang (3.2-10) fails to build my kfreebsd-10 while gcc-4.6 builds it >> just fine. Is this a known problem somewhere? > > Found. See #721880. > > If you need a workaround, you can add -D__FreeBSD_kernel__ to CFLAGS in > debian/patches/003_glibc_dev_aicasm.diff Seems to no

Re: kfreebsd-10 FTBFS with clang

2013-09-04 Thread Robert Millan
Christoph Egger: > 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? Found. See #721880. If you need a workaround, you can add -D__FreeBSD_kernel__ to CFLAGS in debian/patches/003_glibc_dev_aicasm.diff -- Robert Milla

Re: kfreebsd-10 FTBFS with clang

2013-08-30 Thread Robert Millan
Christoph Egger: > /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; Sounds like there's some issue with system headers. is supposed to be including , which in turn will provide __lwpid_t. Can you ch

kfreebsd-10 FTBFS with clang

2013-08-30 Thread Christoph Egger
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