cremes' OpenDarwin Blog
See all the tasks and projects that I may or may not be currently working on for the OpenDarwin project at www.opendarwin.org

 



Project Downloads:

OpenDarwin & contributors:


My Other Projects:

External Links:




Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Sunday, March 14, 2004


After much hair-pulling and teeth-gnashing, I narrowed down the cause of the kernel panics on OpenDarwin 6.6.2. If the driver was compiled with optimization flag -O3 then it would panic every time. If I changed the optimization to -O0, no crashes.

Copying over a set of x86 binaries that had been compiled on darwin 7.x and running them on OD 6.x also worked fine. This points squarely at a bug in gcc that shipped with OD 6.x. It must be reordering some instructions that result in a null pointer being evaluated (or some other similar problem).

I'll see if I can't narrow it down to a single line of offending code and fix it programatically. If that doesn't work, then I'll just add a note to the README specifying this problem and its workaround.

9:00:42 AM    comment []




Click here to visit the Radio UserLand website. © Copyright 2004 Chuck Remes.
Last update: 10/2/04; 11:48:09 AM.

March 2004
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Feb   Apr