From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13787 invoked by alias); 2 Mar 2002 06:46:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13765 invoked by uid 71); 2 Mar 2002 06:46:02 -0000 Date: Fri, 01 Mar 2002 22:46:00 -0000 Message-ID: <20020302064602.13761.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Billinghurst, David \(CRTS\)" Subject: RE: libgcj/5789: boehm-gc won't build on irix - irix assembler chokes on #indent Reply-To: "Billinghurst, David \(CRTS\)" X-SW-Source: 2002-03/txt/msg00022.txt.bz2 List-Id: The following reply was made to PR libgcj/5789; it has been noted by GNATS. From: "Billinghurst, David (CRTS)" To: Cc: , , Subject: RE: libgcj/5789: boehm-gc won't build on irix - irix assembler chokes on #indent Date: Sat, 2 Mar 2002 09:53:54 +0800 Version: 3.1 and 3.2 System: mips-sgi-irix6.5 The problem Error compiling boehm-gc/mips_sgi_mach_dep.S as: Error: /usr/include/sys/regdef.h, line 17: Expected cpp-generated = line number as INTERNAL ERROR: /usr/lib32/cmplrs/asm returned non-zero status 1 Cause The Irix header files /usr/include/sys/regdef.h /usr/include/sgidefs.h /usr/include/sys/asm.h contain #ident "$Revision: 3.52 $" lines. The gcc cpp passess these through to the .s file, and the irix assembler chokes on them. If the lines are removed from the .s file it can be assembled. The irix cpp removes #ident lines. Work around Renaming the file to .s works in this case, as irix assembler=20 runs the irix cpp on the file by default. This was the case for=20 gcc-3.0. Proper fix Don't know. Perhaps: - get gcc cpp to remove #ident lines - fix headers