From owner-freebsd-mips@FreeBSD.ORG Mon Jun 7 17:09:37 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE6521065670 for ; Mon, 7 Jun 2010 17:09:37 +0000 (UTC) (envelope-from waynegong83@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 929ED8FC1E for ; Mon, 7 Jun 2010 17:09:37 +0000 (UTC) Received: by gwj20 with SMTP id 20so721187gwj.13 for ; Mon, 07 Jun 2010 10:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=oPYnJ7jRRymy3fdBM7J3jJIbxtOLHD90oT5or1Gj9xE=; b=xDHN83cmZ7MaYkPAQxh30/+R8zAKpzyNibvRpe4H0j+EM9NxfOpeCj73ue55n2Ggtn XOQra6cGk/rST6DS/yKPDWzu+lG9MgnuhpkvXZZ/5EavxtxiNAureLYfgUgezDavVLSZ d69D5MRoGyQJCa1So25WJbWmXSD+3ZXBSfOAU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=i4ExEkdSQCeEVOkA6uES/dmkMKV8Kqh1uJFBs6n6Axkz8zy7kuRTZ3jsUKKrUwc4Uw 2p7PynpzJgt4UVaqBnhDFILm4sZmfIXJDzUVnOTjuXQG8ONRpMAmb3wHtShLHmOA1OCY 3KYKh32ZlJpsda9+78JL6Mfmk6WdhhBJem/IQ= MIME-Version: 1.0 Received: by 10.229.186.211 with SMTP id ct19mr2487546qcb.206.1275929156588; Mon, 07 Jun 2010 09:45:56 -0700 (PDT) Received: by 10.220.194.4 with HTTP; Mon, 7 Jun 2010 09:45:56 -0700 (PDT) Date: Mon, 7 Jun 2010 22:15:56 +0530 Message-ID: From: waynegong L To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: build world breaks for n64 ABI X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2010 17:09:37 -0000 Hi All, Today I tried to build the toolchain/kernel for n64ABI with the toolchain patch submitted by julie on revision 208685 The tool chain and the kernel build were successful, but 'make buildworld' failed as below. cc1: warnings being treated as errors /usr/src/lib/libc/quad/fixunsdfdi.c: In function '__fixundfdi': /usr/src/lib/libc/quad/fixunsdfdi.c:72: warning: left shift count >= width of type /usr/src/lib/libc/quad/fixunsdfdi.c:72: warning: left shift count >= width of type A cursory look at the above file got me to the below line. Is this the reason for the above issue or some thing else? #define ONE_FOURTH (1 << (LONG_BITS -2)) Before doing the above, i had set my environment as below. setenv TARGET mips setenv TARGET_BIG_ENDIAN t setenv TARGET_CPUTYPE mips64 setenv TARGET_ABI n64 and then built the tool chain and kernel with OCTEON1 config file. Thanks, Wayne.