public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Trouble building with -DDEBUG_MANGLE
@ 2008-08-21 13:10 Cooper, Karl (US SSA)
  2008-08-21 15:03 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Cooper, Karl (US SSA) @ 2008-08-21 13:10 UTC (permalink / raw)
  To: gcc-help

...gcc/cp/mangle.c mentions DEBUG_MANGLE.  Since I'm trying to figure
out how gcc 4.2.3 is mangling thunk names, I thought I'd build gcc 4.2.3
with that macro turned on:

make BOOT_CFLAGS="-DDEBUG_MANGLE" bootstrap

...but this does not succeed; the build fails with an internal compiler
error caused by a segmentation fault.

Does anyone have any experience building a relatively recent gcc with
DEBUG_MANGLE turned on?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Trouble building with -DDEBUG_MANGLE
  2008-08-21 13:10 Trouble building with -DDEBUG_MANGLE Cooper, Karl (US SSA)
@ 2008-08-21 15:03 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2008-08-21 15:03 UTC (permalink / raw)
  To: Cooper, Karl (US SSA); +Cc: gcc-help

"Cooper, Karl (US SSA)" <karl.cooper@baesystems.com> writes:

> ...gcc/cp/mangle.c mentions DEBUG_MANGLE.  Since I'm trying to figure
> out how gcc 4.2.3 is mangling thunk names, I thought I'd build gcc 4.2.3
> with that macro turned on:
>
> make BOOT_CFLAGS="-DDEBUG_MANGLE" bootstrap
>
> ...but this does not succeed; the build fails with an internal compiler
> error caused by a segmentation fault.
>
> Does anyone have any experience building a relatively recent gcc with
> DEBUG_MANGLE turned on?

I haven't used DEBUG_MANGLE, but I can tell you that the mangling is
documented at http://codesourcery.com/cxx-abi/ .  (Ignore the bit
about Itanium--gcc uses that ABI for all processors.)

Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-21 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-21 13:10 Trouble building with -DDEBUG_MANGLE Cooper, Karl (US SSA)
2008-08-21 15:03 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).