Thanks Richard, I traced it down to a symbol being brought in from libc that brought in other symbols that collided with ones on the kernel.
Btw, with your latest changes I have merged them in with the latest 9front and its running on my Pi 1 and Pi 2. Only weird problem is when I do fshalt -r. My pi2 goes unstable with panics on reboot. Cold reset brings it back to normal. Does your latest code work on Pi zero? I don't yet have one to test it. Chris On Sep 2, 2016, at 12:11 PM, Richard Miller <9f...@hamnavoe.com> wrote: >> Is it that the linker prefers a symbol from a .5 file over the .a file? > > I believe it's supposed to pick the first one it finds. Object files and > libraries are processed in the order in which they appear on the command line. > On my system proc.5 appears before libc.a in the ld command, and > libc.a(sleep.5) > doesn't contain any symbols other than sleep, so there should be no reason > for ld to pull it in from the library. > >