On 04/01/16 11:14, Miroslav Dobsicek wrote:
Hi
I'm running into problems with rumprun toolchain on Mac. Hints would be
welcome.
I have followed instructions for a manual build from:
https://github.com/rumpkernel/wiki/wiki/Howto:-Set-up-a-Rumprun-toolchain-in-Mac-OS-X
and everything builds fine.
It occurred to me that I could try to repeat the problem without a Mac
host by following the instructions for building the toolchain.
However, then, running
CC=x86_64-netbsd-gcc ./build-rr.sh hw
fails. The first problem is a reported missing header errno.h (and later
others) when dependencies for libc / GCDAProfiling.c are being created.
Sure enough, I ran into the same problem.
So, it seems like we've narrowed down the problem to the way the ELF
toolchain is built. Of course, only Mac folks have been running into
the problem because nobody else has been building toolchains manually.
I can't immediately look into the problem. Could the person who wrote
the instructions, assuming they see this email, try to compare the wiki
page against their notes and see if following the wiki instructions from
scratch creates a working result.