Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g5R1bqnC026777 for ; Wed, 26 Jun 2002 18:37:52 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g5R1bqF3026776 for linux-xfs-outgoing; Wed, 26 Jun 2002 18:37:52 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from mymail.canadawired.com (209-139-208-5.canadawired.com [209.139.208.5]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g5R1binC026747 for ; Wed, 26 Jun 2002 18:37:45 -0700 Received: from alexa.myfakedomain.not (209-139-208-103.canadawired.com [209.139.208.103]) by mymail.canadawired.com (8.9.3/8.9.1) with ESMTP id SAA19395 for ; Wed, 26 Jun 2002 18:41:09 -0700 (PDT) (envelope-from rep@canadawired.com) Received: by alexa.myfakedomain.not (Postfix, from userid 1000) id AEB34D1CE7; Wed, 26 Jun 2002 18:41:39 -0700 (PDT) Date: Wed, 26 Jun 2002 18:41:39 -0700 From: Ron Peterson To: linux-xfs@oss.sgi.com Subject: 2.5-cvs and gcc-3.1 oops Message-ID: <20020627014139.GA4422@alexa> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20 X-Spam-Level: Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Hi, I am trying to compile today's 2.5-xfs from cvs using gcc-3.1. I get the following error: gcc -Wp,-MD,./.page_buf_locking.o.d -D__KERNEL__ -I/usr/src/linux-2.5-xfs/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O3 -march=i686 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -I. -funsigned-char -DKBUILD_BASENAME=page_buf_locking -c -o page_buf_locking.o pagebuf/page_buf_locking.c {standard input}: Assembler messages: {standard input}:404: Error: suffix or operands invalid for `bsf' make[2]: *** [page_buf_locking.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs/xfs' make[1]: *** [xfs] Error 2 make[1]: Leaving directory `/usr/src/linux-2.5-xfs/linux/fs' make: *** [fs] Error 2 The system I am using was built with gcc-3.1 and the 2.5-xfs cvs kernel headers. It uses the 2.5-xfs cvs kernel from a few days ago, built with gcc-3.04 and the 2.4.18 kernel headers. Today's 2.5-xfs cvs builds ok with these. I found a mention of a similar problem mentioned on the web, with a suggestion to make a change to the ffs() function from asm/bitops.h. This didn't work. The error message was the same. Does anyone have any suggestions? Thanks, Ron