error on building tool_chain_rump

Jan-Ralph Sroka Jan-Ralph.Sroka at ...6...
Mon Aug 14 19:16:54 CEST 2017

Hello everyone,

following the release-notes 14.05 I try to build the tool_chain_rump.

I am running Ubuntu 16.04 LTS.

Maybe someone can point out my mistake or refer me to a file with  
instructions since i was not able to
find one myself.

I get the following Output:

./ fsck_ext2fs rumpsrc/sbin/fsck_ext2fs/  
( cd rumpsrc/sbin/fsck_ffs &&  
/home/j-r/UNI/genode/contrib/rumprun/rumptools/rumpmake LIBCRT0=  
BUILDRUMP_CFLAGS="-fPIC -std=gnu99 -D__NetBSD__ " )
     compile  fsck_ffs/dir.o
     compile  fsck_ffs/inode.o
inode.c: In function 'swap_dinode2':
inode.c:378:21: error: iteration 2u invokes undefined behavior  
      dp2->di_extb[j] = bswap64(dp2->di_extb[j]);
inode.c:377:4: note: containing loop
     for (j = 0; j < (UFS_NDADDR + UFS_NIADDR + UFS_NXADDR); j++)
inode.c: In function 'swap_dinode1':
inode.c:362:22: error: iteration 12u invokes undefined behavior  
         dp1->di_db[j] = bswap32(dp1->di_db[j]);
inode.c:361:4: note: containing loop
     for (j = 0; j < (UFS_NDADDR + UFS_NIADDR); j++)
cc1: all warnings being treated as errors

*** Failed target:  inode.o
*** Failed command:  
-O2 -g -fPIC -std=gnu99 -D__NetBSD__ -std=gnu99 -Werror  
-Wno-unused-but-set-variable -Wno-unused-local-typedefs  
-D__NetBSD__ -Ulinux -U__linux -U__linux__ -U__gnu_linux__  
-I/home/j-r/UNI/genode/contrib/rumprun/rumpsrc/sbin/dump -DPROGRESS  
-DWAPBL_DEBUG_PRINT=0 -c inode.c
*** Error code 1

nbmake[2]: stopped in  
Makefile:128: recipe for target 'rumpsrc/sbin/fsck_ffs/' failed
make[1]: *** [rumpsrc/sbin/fsck_ffs/] Error 1
make[1]: Leaving directory '/home/j-r/UNI/genode/contrib/rumprun'
tool/tool_chain_rump:86: recipe for target  
'contrib/rumprun/.compile.tag' failed
make: *** [contrib/rumprun/.compile.tag] Error 2

Thank you in advance,

More information about the users mailing list