Problem with debug info...

Hi

CC -V

CC: Sun C++ 5.9 Linux_i386 Build27_2 2006/08/02

CC -g -c test.cpp

>> Assertion: DBGGEN ERROR: FILE="../src/dbg_dwarf2.c", LINE=%7605, DW_DLE_DEBUGINFO_ERROR [DBG_GEN 5.1.18] (../lnk/dbg_dbggen.cc, line 4336)

while processing test.cpp at line 0.

I can not paste test.cpp here though, it's quite huge since I created it with CC -E, but anyway, perhaps someone at sun is interested ?

/Lars

[510 byte] By [Lars_V] at [2007-11-26 10:45:40]
# 1

This looks like bugid 6456470. It's fixed in our development

branch, but the fix won't be available until Express 3 which

isn't for a month or two. The problem is related to the way

symbols and types reference other symbols and types. You

can work around it by not using -g for those source files where

it happens. Not a very good workaround, I know. Of course,

that's why we have express releases. To find problems like

this as early as possible. ;-)

--chris

ChrisQuenelle at 2007-7-7 2:57:47 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2
Yep, thanks for the quick reply...I'm looking forward for your next release/Lars
Lars_V at 2007-7-7 2:57:47 > top of Java-index,Development Tools,Solaris and Linux Development Tools...