On 25/08/14 16:46, Antti Kantee wrote:
> However, what Justin said about rumprun-posix requiring gcc might apply
> for now (I didn't test).

I tried running buildnb.sh with CC=clang on this Ubuntu host.  Results 
are below.  Patches are of course very welcome, though the easiest 
"solution" is using gcc from ports, like Justin suggested.

#   compile  cat/cat.o
/home/pooka/tmp/rumprun-posix/rumptools/bin/x86_64--netbsd-clang -O2 -g 
-fPIC -std=gnu99 -D__NetBSD__   -std=gnu99 -Werror 
-I/home/pooka/tmp/rumprun-posix/rumptools/compat/include -D__NetBSD__ 
-Ulinux -U__linux -U__linux__ -U__gnu_linux__ 
--sysroot=/home/pooka/tmp/rumprun-posix/rumptools/dest  -c 
/home/pooka/tmp/rumprun-posix/rumpsrc/bin/cat/cat.c
: ctfconvert -g -L VERSION cat.o
#      link  cat/cat.ro
/home/pooka/tmp/rumprun-posix/rumptools/bin/x86_64--netbsd-clang 
-nostdlib -r -Wl,-dc -o cat.ro cat.o
clang: warning: argument unused during compilation: '-r'
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 
00000000004001c0
cat.o: In function `main':
/home/pooka/tmp/rumprun-posix/rumpsrc/bin/cat/cat.c:80: undefined 
reference to `setprogname'
/home/pooka/tmp/rumprun-posix/rumpsrc/bin/cat/cat.c:81: undefined 
reference to `__setlocale50'
/home/pooka/tmp/rumprun-posix/rumpsrc/bin/cat/cat.c:110: undefined 
reference to `__sF'
[...]

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to