Current-Users archive

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

Building fails on librumpvfs



Greetings,

I am trying to build NetBSD-current (with Clang, without Gcc) for i386 and amd64, but both keep failing on


/dist/src/lib/librumpvfs/../../sys/rump/../kern/vfs_vnode.c:246:9: error: unsupported: typedef changes linkage of anonymous type, but linkage was already computed
        return atomic_load_relaxed(&vp->v_usecount);
               ^
/dist/src/lib/librumpvfs/../../sys/rump/../sys/atomic.h:435:2: note: expanded from macro 'atomic_load_relaxed'
        __ATOMIC_PTR_CHECK(__al_ptr);                                         \
        ^
/dist/src/lib/librumpvfs/../../sys/rump/../sys/atomic.h:409:2: note: expanded from macro '__ATOMIC_PTR_CHECK'
        CTASSERT(sizeof(*(p)) <= __ATOMIC_SIZE_MAX);                          \
        ^
/dist/src/lib/librumpvfs/../../sys/rump/../lib/libkern/libkern.h:255:22: note: expanded from macro 'CTASSERT'
#define CTASSERT(x)             __CTASSERT(x)
                                ^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
/dist/src/lib/librumpvfs/../../sys/rump/../sys/cdefs.h:174:30: note: expanded from macro '__CTASSERT0'
#define __CTASSERT0(x, y, z)    __CTASSERT1(x, y, z)
                                ^
/dist/src/lib/librumpvfs/../../sys/rump/../sys/cdefs.h:178:4: note: expanded from macro '__CTASSERT1'
        } y ## z ## _struct __unused
          ^
<scratch space>:100:1: note: expanded from here
__ctassert11_struct
^
note: use a tag name here to establish linkage prior to definition
1 error generated.


Also, when I am trying to do the build with MKRUMP=no, it fails on building 'rescue'. Is RUMP required and cannot be turned off?

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index