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:

./mkremote.sh fsck_ext2fs rumpsrc/sbin/fsck_ext2fs/fsck_ext2fs.ro  
rump/lib/libutil.a
( cd rumpsrc/sbin/fsck_ffs &&  
/home/j-r/UNI/genode/contrib/rumprun/rumptools/rumpmake LIBCRT0=  
BUILDRUMP_CFLAGS="-fPIC -std=gnu99 -D__NetBSD__ " fsck_ffs.ro )
     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  
[-Werror=aggressive-loop-optimizations]
      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  
[-Werror=aggressive-loop-optimizations]
         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:  
/home/j-r/UNI/genode/contrib/rumprun/rumptools/bin/x86_64--netbsd-gcc  
-O2 -g -fPIC -std=gnu99 -D__NetBSD__ -std=gnu99 -Werror  
-Wno-unused-but-set-variable -Wno-unused-local-typedefs  
-Wno-maybe-uninitialized  
-I/home/j-r/UNI/genode/contrib/rumprun/rumptools/compat/include  
-D__NetBSD__ -Ulinux -U__linux -U__linux__ -U__gnu_linux__  
-DHAVE_POSIX_MEMALIGN -DHAVE_PTHREAD_SETNAME_2  
--sysroot=/home/j-r/UNI/genode/contrib/rumprun/rumptools/dest  
-I/home/j-r/UNI/genode/contrib/rumprun/rumpsrc/sbin/fsck  
-I/home/j-r/UNI/genode/contrib/rumprun/rumpsrc/sbin/dump -DPROGRESS  
-DWAPBL_DEBUG_PRINT=0 -c inode.c
*** Error code 1

Stop.
nbmake[2]: stopped in  
/home/j-r/UNI/genode/contrib/rumprun/rumpsrc/sbin/fsck_ffs
Makefile:128: recipe for target 'rumpsrc/sbin/fsck_ffs/fsck_ffs.ro' failed
make[1]: *** [rumpsrc/sbin/fsck_ffs/fsck_ffs.ro] 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,
Jan







More information about the users mailing list