Thanks for the replies. I tried switching to dwarf.. no sucess. I see what is happening. The last step in the scheme of the build system is running ctfconvert on the various *.o files, predictably converting the debug info to ctf format.
The ctf format AFAIK is primarily for mdb. Mdb is a fine tool for assembler/kernel debugging. Source debugging is preferable for some work, at least for me. I do not know if there is an easy fix for this issue, my solution is to hack an option, probably an env variable to disable the ctfconvert pass. Ctf does not appear to be useful for any of the source debuggers (dbx or gdb). BTW switching to dwarf reveales what appears to be a build anomaly... Apparently, ctfconvert runs twice on at least one of the .o files. This seems to cause no problem with the stabs format, but breaks the build when dwarf is used, and it tries to convert lib/libnsl/amd64/pics/rpc_comdata1.o twice. -- This message posted from opensolaris.org