This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Boehm-GC] Limit +ESdbgasm to HPUX cc on PA
- From: Roger Sayle <roger at eyesopen dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: gcc-patches at gcc dot gnu dot org, <hans_boehm at hp dot com>
- Date: Fri, 4 Jul 2003 11:12:15 -0600 (MDT)
- Subject: Re: [Boehm-GC] Limit +ESdbgasm to HPUX cc on PA
Hi Dave,
> > The following tweak fixes two aspects of the breakage. The first is
> > to only use +ESdbgasm with the native HP compiler, the second is to
> > only use it on PA-Risc. The flag isn't used by HP's ia64 compilers
> > on HPUX which instead silently ignore it for backwards compatibility.
>
> I suspect this option can be dropped completely. It's not documented
> anywhere that I can find. Although the HP compiler on PA_RISC accepts
> it, I can't see any difference in the assembler output of a little test
> program.
I found a relevant hit with google listing the compiler error message:
cc: warning 616: Use of _asm with debug requires use of the +ESgdbgasm
command line option. Invalid executable may result.
boehm-gc is built with debugging and I didn't check but it could
potentially be using _asm on HPUX. I'm guessing whoever added it
to configure.host must have had a good reason to do so.
However, I'm not the first to have run into this problem:
http://www.dotgnu.org/pipermail/developers/2002-May/007136.html
Roger
--