Matthew Dillon wrote: > I got an odd bug report for DragonFly today. Apparently the module loader > was broken, the kernel complained about not being able to find > 'globaldata'. > > It turns out that the kernel's internal ELF loader is misinterpreting > an ABS symbol (i.e. set with .SET in assembly) whos value is 0 as being > 'not found', and once that is fixed it was also confusing the absolute > symbol with a COMMON symbol.
Thanks for the pointer. FWIW, We use -fno-common on 5.x to avoid common symbols even existing in the first place. There were a few missing externs that this turned up. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"