This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]