Closed Bug 98321 Opened 23 years ago Closed 23 years ago

HAVE_DEMANGLE not being used in code

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: matt, Assigned: netscape)

Details

When attempting to make the debug build on Linux, it fails because it
can't find the symbol cplus_demangle.  As far as I can tell, this is
because the use of cplus_demangle() isn't being bracketed by checks for
HAVE_DEMANGLE; in fact, acording to LXR, HAVE_DEMNAGLE doesn't appear
anywhere except for configure.in and configure

cplus_demangle() only appears to be used in /xpcom/base and /tools/leaky,
so I'm filing this under component XPCOM.
MOZ_DEMANGLE_SYMBOLS appears to be the define that switches cplus_demangle 
on/off.  This appears to be bracketed by HAVE_DEMANGLE in the configure.in 
file, so it should not be using cplus_demangle unless HAVE_DEMANGLE is defined, 
which is what you are requesting.  I do not know why it is not working for 
you.  I am going to reassign it to the default build owner to see if he knows 
of any problem with this define.
Assignee: kandrot → seawood
Component: XPCOM → Build Config
QA Contact: scc → granrose
I don't see how that problem would occur.  HAVE_DEMANGLE is only set if
configure detects that you have -liberty and that it contains cplus_demangle. 
Do you see that problem with the recent milestone release (0.9.6) or a cvs build?
Looks like it's fixed; when I filed the bug, the debug build wouldn't compile
without libiberty.  Marking FIXED.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Hate to be the bearer of bad news, but that's soon to be the situation again. 
See bug 112470 .
verified
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.