Re: kfreebsd-10 FTBFS with clang
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 now [-ferror-limit=] 9 warnings and 20 errors generated. *** [aicasm.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 Maybe you have an idea? Okay, this was a bug in freebsd-glue. It is fixed now... -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/522e5a07.3020...@debian.org
Re: kfreebsd-10 FTBFS with clang
Robert Millan r...@debian.org 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 not be enough. I'll wait and try with the fixed clang in the evening. Christoph -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871u53v99p@anonymous.siccegge.de
Re: kfreebsd-10 FTBFS with clang
Christoph Egger christ...@debian.org writes: Robert Millan r...@debian.org 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 not be enough. I'll wait and try with the fixed clang in the evening. Seems to fail the same way after that patch as it fails with gcc-4.6 so I guess it's just HEAD being broken Christoph -- 9FED 5C6C E206 B70A 5857 70CA 9655 22B9 D49A E731 Debian Developer | Lisp Hacker | CaCert Assurer -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ob87tsim@anonymous.siccegge.de
Re: kfreebsd-10 FTBFS with clang
Christoph Egger: Christoph Egger christ...@debian.org writes: Robert Millan r...@debian.org 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 not be enough. I'll wait and try with the fixed clang in the evening. Seems to fail the same way after that patch as it fails with gcc-4.6 so I guess it's just HEAD being broken Now that I see, it's clang-3.3 that I fixed. Not clang-3.2. I tried these combinations before writing my mail: - Patched clang-3.3 - Unpatched clang-3.3 with workaround and they both worked. Please can you check? (fixed clang-3.3 has been uploaded) -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/52289ca8.90...@debian.org
Re: kfreebsd-10 FTBFS with clang
Robert Millan r...@debian.org writes: Christoph Egger: Christoph Egger christ...@debian.org writes: Robert Millan r...@debian.org 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 not be enough. I'll wait and try with the fixed clang in the evening. Seems to fail the same way after that patch as it fails with gcc-4.6 so I guess it's just HEAD being broken Now that I see, it's clang-3.3 that I fixed. Not clang-3.2. I tried these combinations before writing my mail: - Patched clang-3.3 - Unpatched clang-3.3 with workaround and they both worked. Please can you check? (fixed clang-3.3 has been uploaded) I have now fixed clang-3.3 -9 trying to build svn 255267 Still failing: clang -O2 -pipe -D_GNU_SOURCE -isystem /usr/include/freebsd -D__FreeBSD_kernel__ -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-pa rameter -Wcast-align -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c ../../../dev/aic7xxx/aicasm/aicasm.c In file included from ../../../dev/aic7xxx/aicasm/aicasm.c:63: ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:149:2: error: type name requires a specifier or qualifier TAILQ_ENTRY(critical_section) links; ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:149:14: error: a parameter list without types is only allowed in a function definition TAILQ_ENTRY(critical_section) links; ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:149:31: error: expected ';' at end of declaration list TAILQ_ENTRY(critical_section) links; ^ ; ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:168:2: error: type name requires a specifier or qualifier TAILQ_ENTRY(scope) scope_links; ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:168:14: error: a parameter list without types is only allowed in a function definition TAILQ_ENTRY(scope) scope_links; ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:168:20: error: expected ';' at end of declaration list TAILQ_ENTRY(scope) scope_links; ^ ; ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:169:2: error: type name requires a specifier or qualifier TAILQ_HEAD(, scope) inner_scope; ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:169:13: error: expected parameter declarator TAILQ_HEAD(, scope) inner_scope; ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:169:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TAILQ_HEAD(, scope) inner_scope; ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:169:21: error: expected ';' at end of declaration list TAILQ_HEAD(, scope) inner_scope; ^ ; ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TAILQ_HEAD(cs_tailq, critical_section); ^~ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:178:12: error: a parameter list without types is only allowed in a function definition TAILQ_HEAD(cs_tailq, critical_section); ^ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] TAILQ_HEAD(scope_tailq, scope); ^~ ../../../dev/aic7xxx/aicasm/aicasm_symbol.h:180:12: error: a parameter list without types is only allowed in a function definition TAILQ_HEAD(scope_tailq, scope); ^ ../../../dev/aic7xxx/aicasm/aicasm.c:124:2: warning: implicit declaration of function 'STAILQ_INIT' is invalid in C99 [-Wimplicit-function-declaration] STAILQ_INIT(patches); ^ ../../../dev/aic7xxx/aicasm/aicasm.c:125:2: warning: implicit declaration of function 'SLIST_INIT' is invalid in C99 [-Wimplicit-function-declaration] SLIST_INIT(search_path); ^ ../../../dev/aic7xxx/aicasm/aicasm.c:127:2: warning: implicit declaration of function 'TAILQ_INIT' is invalid in C99 [-Wimplicit-function-declaration] TAILQ_INIT(cs_tailq); ^ ../../../dev/aic7xxx/aicasm/aicasm.c:240:5: warning: implicit declaration of function 'SLIST_INSERT_HEAD' is invalid in C99 [-Wimplicit-function-declaration] SLIST_INSERT_HEAD(search_path, include_dir, ^ ../../../dev/aic7xxx/aicasm/aicasm.c:241:9: error: use of undeclared identifier 'links'; did you mean 'link'? links);
Re: kfreebsd-10 FTBFS with clang
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 Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5227caaa.5060...@debian.org
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 -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87y57jmp8n@mitoraj.siccegge.de
Re: kfreebsd-10 FTBFS with clang
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. bits/siginfo.h is supposed to be including sys/_types.h, which in turn will provide __lwpid_t. Can you check? -- Robert Millan -- To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/522112b9.4090...@debian.org