On 26/08/14 13:05, Peter Holm wrote: >>> ./buildnb.sh buildrump >>> >>> --- GCDAProfiling.d --- >>> /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd11.0/4.6.4/include-fixed/sys/types.h:54:24: >>> fatal error: sys/_types.h: No such file or directory >>> compilation terminated. >>> --- InstrProfilingFile.d --- >>> /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd11.0/4.6.4/include-fixed/stdio.h:54:23: >>> fatal error: sys/_null.h: No such file or directory >>> compilation terminated. >>> >>> http://people.freebsd.org/~pho/rumprun-posix-3.txt >> >> It should not be including headers from /usr/local/.../include-fixed. >> I'm not sure why that happens, since I can see from the log that there >> is a --sysroot on the cc command line. > > Removed: > "/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd11.0/4.6.4/include*"
What, the directory from the file system? I'm really confused as to what that directory is and why the compiler is wanting to use it, but if that did the trick, good. I'd rather avoid anyone else sailing into the same mine, though. > Added "REALCC=gcc46" to cc.in. (is there a better way?) No idea. I guess you can define REALCC in the env before running the script. Part of the problem is that we're still trying to figure out what, specifically, should be implemented, so the "how" part is a bit lacking. For this specific case, we're trying to figure out how to construct a toolchain that can build application stacks on top of rump kernels on various platforms (POSIX userspace, Xen, bare metal...). At least I'm not aware of any other project solving the same problem, so it's a question of slowly but surely figuring out how to do things. So, when I say "no idea", I really mean it ;) > Stopped at "mktemp: illegal option -- -" Apparently a linuxism had crept in. Try again. For the trivial fixes, I'm happy to accept a pull requests too ;) ------------------------------------------------------------------------------ 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
