test build on 10.x latest development (wink wink)

217 views
Skip to first unread message

jasonbelec

unread,
Aug 21, 2013, 2:00:32 PM8/21/13
to maczfs...@googlegroups.com
Ok, pulled the new stuff down for spl and zfs, ran

./autogen.sh


./configure CC=llvm-gcc CXX=llvm-g++ --prefix=/usr/local


make


seemed OK until (spl)

../../include/sys/timer.h:35:9: warning: 'USEC_PER_SEC' macro redefined

#define USEC_PER_SEC    1000000         /* microseconds per second */

        ^

/System/Library/Frameworks/Kernel.framework/Headers/mach/clock_types.h:85:9: note: previous definition is

      here

#define USEC_PER_SEC    1000000ull      /* microseconds per second */

        ^

In file included from spl-atomic.c:32:

In file included from ../../include/sys/atomic.h:34:

In file included from ../../include/sys/types.h:42:

../../include/sys/stropts.h:125:1: error: static declaration of 'memchr' follows non-static declaration

memchr(const void *s, int c, size_t n)

^

/System/Library/Frameworks/Kernel.framework/Headers/libkern/libkern.h:150:14: note: previous declaration is

      here

extern void     *memchr(const void *, int, size_t);

                 ^

spl-atomic.c:51:68: warning: incompatible pointer to integer conversion passing 'void *' to parameter of

      type 'uint64_t' (aka 'unsigned long long') [-Wint-conversion]

    return (void *)__sync_val_compare_and_swap((uint64_t *)target, cmp, new);

                                                                   ^~~

spl-atomic.c:51:73: warning: incompatible pointer to integer conversion passing 'void *' to parameter of

      type 'uint64_t' (aka 'unsigned long long') [-Wint-conversion]

    return (void *)__sync_val_compare_and_swap((uint64_t *)target, cmp, new);

                                                                        ^~~

3 warnings and 1 error generated.

make[3]: *** [spl-spl-atomic.o] Error 1

make[2]: *** [all-recursive] Error 1

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2



in zfs not so good...

Making all in KernelExports

  CC       kextsymboltool.o

warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-variable'?

      [-Wunknown-warning-option]

In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:

In file included from /usr/include/libc.h:37:

../../../lib/libspl/include/string.h:32:15: error: expected parameter declarator

extern size_t strlcat(char *dst, const char *src, size_t dstsize);

              ^

/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'

  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))

                                           ^

/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'

#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)

                                                             ^

/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'

#    define _USE_FORTIFY_LEVEL 2

                               ^

In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:

In file included from /usr/include/libc.h:37:

../../../lib/libspl/include/string.h:32:15: error: expected ')'

/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'

  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))

                                           ^

/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'

#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)

                                                             ^

/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'

#    define _USE_FORTIFY_LEVEL 2

                               ^

../../../lib/libspl/include/string.h:32:15: note: to match this '('

/usr/include/secure/_string.h:111:44: note: expanded from macro 'strlcat'

  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))

                                           ^

/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'

#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)

                                                    ^

In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:

In file included from /usr/include/libc.h:37:

../../../lib/libspl/include/string.h:32:15: error: conflicting types for '__builtin___strlcat_chk'

extern size_t strlcat(char *dst, const char *src, size_t dstsize);

              ^

/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'

  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))

  ^

../../../lib/libspl/include/string.h:32:15: note: '__builtin___strlcat_chk' is a builtin with type 'unsigned

      long (char *, const char *, unsigned long, unsigned long)'

/usr/include/secure/_string.h:111:3: note: expanded from macro 'strlcat'

  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))

  ^

In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:

In file included from /usr/include/libc.h:37:

../../../lib/libspl/include/string.h:33:15: error: expected parameter declarator

extern size_t strlcpy(char *dst, const char *src, size_t len);

              ^

/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy'

  __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))

                                           ^

/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'

#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)

                                                             ^

/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'

#    define _USE_FORTIFY_LEVEL 2

                               ^

In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:

In file included from /usr/include/libc.h:37:

../../../lib/libspl/include/string.h:33:15: error: expected ')'

/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy'

  __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))

                                           ^

/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz'

#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)

                                                             ^

/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL'

#    define _USE_FORTIFY_LEVEL 2

                               ^

../../../lib/libspl/include/string.h:33:15: note: to match this '('

/usr/include/secure/_string.h:105:44: note: expanded from macro 'strlcpy'

  __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))

                                           ^

/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz'

#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0)

                                                    ^

In file included from ../../../module/zfs/KernelExports/kextsymboltool.c:23:

In file included from /usr/include/libc.h:37:

../../../lib/libspl/include/string.h:33:15: error: conflicting types for '__builtin___strlcpy_chk'

extern size_t strlcpy(char *dst, const char *src, size_t len);

              ^

/usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy'

  __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))

  ^

../../../lib/libspl/include/string.h:33:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned

      long (char *, const char *, unsigned long, unsigned long)'

/usr/include/secure/_string.h:105:3: note: expanded from macro 'strlcpy'

  __builtin___strlcpy_chk (dest, src, len, __darwin_obsz (dest))

  ^

1 warning and 6 errors generated.

make[4]: *** [kextsymboltool.o] Error 1

make[3]: *** [all-recursive] Error 1

make[2]: *** [all-recursive] Error 1

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2







jasonbelec

unread,
Aug 22, 2013, 11:24:29 AM8/22/13
to maczfs...@googlegroups.com
well got something working under 10.8.4, copied files across to 10.neuf and no go so far

Jason Belec

unread,
Aug 22, 2013, 1:48:48 PM8/22/13
to maczfs...@googlegroups.com
Maybe I lied... Running some tests. 

Jason
Sent from my iPhone

On Aug 22, 2013, at 11:24 AM, jasonbelec <jason...@belecmartin.com> wrote:

well got something working under 10.8.4, copied files across to 10.neuf and no go so far

--
See http://MacZFS.org/ for more information on this project.
---
You received this message because you are subscribed to the Google Groups "MacZFS-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maczfs-devel...@googlegroups.com.
Visit this group at http://groups.google.com/group/maczfs-devel.

jasonbelec

unread,
Aug 22, 2013, 2:52:43 PM8/22/13
to maczfs...@googlegroups.com
Well copying over the kexts and and chown-ing doesn't seem to take hold under 10.neuf. I get the already loaded command.
However I see zero new features. ;) Dadnabit! Something has gone horribly WRONG. Don't PANIC! I have backups........

Graham Perrin

unread,
Sep 9, 2013, 3:46:02 PM9/9/13
to maczfs...@googlegroups.com
<https://github.com/zfs-osx/zfs/commits/master> includes Mavericks build fixes (2013-09-01) and more. 

jasonbelec

unread,
Sep 24, 2013, 3:12:49 PM9/24/13
to maczfs...@googlegroups.com
That wasn't much help, however the script (thanks ilovezfs) on the developer forum sorted out what I had wrong, all is working just fine now.
Reply all
Reply to author
Forward
0 new messages