[Bug 195934] clang350-import branch not working on sparc64

[email protected]
Newsgroups gmane.os.freebsd.devel.sparc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934

--- Comment #9 from [email protected] ---
failing with clang also;

clang  -O2 -pipe   -I/usr/src/lib/libc/include
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/sparc64 -DNLS 
-I/usr/src/lib/libc/sparc64/sys -D__DBINTERFACE_PRIVATE
-I/usr/src/lib/libc/../../contrib/gdtoa
-I/usr/src/lib/libc/../../contrib/libc-vis -DINET6 -I/usr/obj/usr/src/lib/libc
-I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE
-I/usr/src/lib/libc/../libmd -I/usr/src/lib/libc/../../contrib/jemalloc/include
-I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime 
-I/usr/src/lib/libc/locale -I/usr/src/lib/libc/sparc64/fpu -DBROKEN_DES
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter
-Qunused-arguments -fno-dwarf2-cfi-asm -I/usr/src/lib/libutil
-I/usr/src/lib/msun/sparc64 -I/usr/src/lib/msun/src -c
/usr/src/lib/libc/sparc64/fpu/fpu.c -o fpu.o
In file included from /usr/src/lib/libc/sparc64/fpu/fpu.c:72:
/usr/src/lib/libc/../../include/signal.h:84:60: error: expected function body
      after function declarator
int     sigwait(const sigset_t * __restrict, int * __restrict) __nonnull_all;
                                                               ^
In file included from /usr/src/lib/libc/sparc64/fpu/fpu.c:76:
/usr/src/lib/libc/../../include/stdlib.h:90:44: error: expected function body
      after function declarator
void    *calloc(size_t, size_t) __malloc_like __result_use_check
                                              ^
/usr/src/lib/libc/../../include/stdlib.h:98:36: error: expected function body
      after function declarator
void    *malloc(size_t) __malloc_like __result_use_check __alloc_size(1);
                                      ^
/usr/src/lib/libc/../../include/stdlib.h:105:31: error: expected function body
      after function declarator
void    *realloc(void *, size_t) __result_use_check __alloc_size(2);
                                 ^
/usr/src/lib/libc/../../include/stdlib.h:159:52: error: expected function body
      after function declarator
void *  aligned_alloc(size_t, size_t) __malloc_like __alloc_align(1)
                                                    ^
/usr/src/lib/libc/../../include/stdlib.h:175:59: error: expected function body
      after function declarator
int      posix_memalign(void **, size_t, size_t) __nonnull(1) __alloc_align(2)
                                                              ^
/usr/src/lib/libc/../../include/stdlib.h:307:44: error: expected function body
      after function declarator
void    *reallocarray(void *, size_t, size_t) __result_use_check
__alloc_size(2)
                                              ^
/usr/src/lib/libc/../../include/stdlib.h:309:32: error: expected function body
      after function declarator
void    *reallocf(void *, size_t) __alloc_size(2);
                                  ^
In file included from /usr/src/lib/libc/sparc64/fpu/fpu.c:77:
/usr/src/lib/libc/../../include/unistd.h:330:45: error: expected function body
      after function declarator
int      execl(const char *, const char *, ...) __sentinel;
                                                ^
/usr/src/lib/libc/../../include/unistd.h:332:46: error: expected function body
      after function declarator
int      execlp(const char *, const char *, ...) __sentinel;
                                                 ^
10 errors generated.
*** Error code 1

craig@stinger:~ % clang --version
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: sparc64-unknown-freebsd10.1
Thread model: posix

please advise :)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.