On 03/12/14 01:15, Andy Ray wrote: >> It should more or less work on any compiler that targets the right ISA. >> Just set CC (and optionally AR/NM/OBJCOPY) in the env when you run >> buildrump.sh. >> >> If it doesn't work, let us know ;) > > > I didn't have a lot of luck with the linux cross compiler > (arm-none-eabi-). They were failing during buildrump with pointer > mismatch errors in drivers related to devmajor(minor)_t / int.
That shouldn't happen (unless maybe you left out -k to buildrump.sh, which you shouldn't in this case). The rump kernel type system is self-contained (apart from some minor ridiculousness with printf leaking through from the compiler ... don't ask) Can you post the exact command line? Also post the exact error. > I am currently trying to get the early stages of > rumpuser-baremetal/buildme.sh to run. It's specifically failing while > running 'makeuserlib' for 'libc'. > > The first problem is it looks for a tool called 'nbgenassym' which > isn't available in 'buildrump.sh/obj/tooldir/bin'. I just copied this > from the cross compiler and the build continues a little bit further > to > > nbmake: don't know how to make __aeabi_read_tp.S. Stop > > This file does exist in libc/arch/arm/sys but the libc config is not > including this directory. Been picking over this for a while and I'm > not too sure how to proceed. > > Perhaps my cross compiler arch isn't a good pick - there seem to be > other options like arm32, evbearm-el...or maybe the nbgenassym hack is > a bit smelly. arm does have its intricacies, mostly because there's no "the arm". I guess the problem is that nobody has tried to build "userland" for ARM, so there's some usual build system silliness involved. Justin usually has some sort of plans for this kind of stuff. But I can try ploughing through it tomorrow if he doesn't respond first. Meanwhile, I think you can just comment the offensive stuff out of the Makefiles under libc/arch/arm for now and see what happens. Another trick you can use to proceed is just ignore the whole of userspace for now. There's probably a few bits to keep you busy for a day with getting rump_init() finishing on ARM, so just run make in rumpuser-baremetal with as "make RUMPRUN_PRESENT=no" Sorry that things weren't quite as simple as advertised ... ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
