I’ve been setting up a small testbed with some intel nuc computers. I just stuffed the latest Ubuntu (16.10) on them as thats what I had to hand. Images that I build on another machine (Ubuntu 16.04) run fine. Downgrading is hard (we’re fairly remote with poor connectivity, but do have a mirror of 16.10 hence why we used that).
However, I can’t build an OSv image on the nuc. The build gets to the point where its about to cpio the files into an image, but the image never starts properly. It stops here: ... LZ loader-stripped.elf OBJCOPY loader-stripped.elf.lz -> loader-stripped.elf.lz.o LINK lzloader.elf ALIGN lzloader.elf DD loader.img boot.bin DD loader.img lzloader.elf IMGEDIT build/release.x64/loader.img IMGEDIT build/release.x64/loader.img qemu-system-x86_64: -redir tcp:10000::10000: The -redir option is deprecated. Please use '-netdev user,hostfwd=...' instead. Is there any known issue building with gcc/g++ version 6.2.0 20161005? Thats the main difference between the machines (other than one is a VM on my laptop and the other is a proper intel machine). Any suggestions as to where to start looking to debug this? The process ends up taking a lot of CPU but if I connect to it using the usual ‘gdb build/debug/loader.elf’ and ‘connect’, it doesn’t look like the process has started… Reading symbols from build/debug/loader.elf...done. (gdb) connect warning: remote target does not support file transfer, attempting to access files from local filesystem. warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. 0x0000000000000000 in ?? () If I copy the usr.img file over to my VM and try it there, it also fails to run - which suggests that its something in the generated code that is causing an issue - though I could easily be wrong there ;) Cheers, Rick -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
