From owner-freebsd-mips@FreeBSD.ORG Tue Oct 20 17:22:21 2009 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 54866106566C for ; Tue, 20 Oct 2009 17:22:21 +0000 (UTC) (envelope-from alancyang@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id 2925F8FC2A for ; Tue, 20 Oct 2009 17:22:20 +0000 (UTC) Received: by pzk40 with SMTP id 40so4350364pzk.7 for ; Tue, 20 Oct 2009 10:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZAanz1W80ZMs2gNNu1It7PsCH9gp3pcJg4CQWeJ9vFg=; b=TLgl9XHxCKcDYzntvFlFrptTMGGLejUJfT4GztFCRdys+chusHduUBTeUzjt1if5Dn 7KLsad9zkr2au5J5a9GsS5lKU+5r9f2TJNU8orgNIdAg/QpJI/U25hGx1S8skfXND6uZ oKIMlcaiV0sTpqlFMBTH8Nr+ca6ZRBtHN06kc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lYleuVh2AIPC/HyJ5m9MmjymFITa04a3ZoaHK27EezhQ7DYFGodfmXfyQI7qD+jF3J OW/72R1UjmU67zcFlyplzGbWy/EmBBmJX1iSwqlWGDs5xo9lB3Ah88aEN9vHwfymXe2L 7BE0+5B+kZSrk6SH0CoNdnwTa0Ls+sCnKNZ+w= MIME-Version: 1.0 Received: by 10.114.31.14 with SMTP id e14mr9764729wae.78.1256059340246; Tue, 20 Oct 2009 10:22:20 -0700 (PDT) In-Reply-To: <20091018.092442.329271515.imp@bsdimp.com> References: <290865fd0910161801x35bbdcd2hd77626d4dfe2465a@mail.gmail.com> <290865fd0910161856l3d988d0bqf4c600bd76b37037@mail.gmail.com> <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> <20091018.092442.329271515.imp@bsdimp.com> Date: Tue, 20 Oct 2009 10:22:19 -0700 Message-ID: <290865fd0910201022h6bfd82cev7fac4294f1e89004@mail.gmail.com> From: alan yang To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: Cavium port 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: Tue, 20 Oct 2009 17:22:21 -0000 Thanks Warner: updated the source tree, now can build OCTEON1. Will try to run it... On Sun, Oct 18, 2009 at 8:24 AM, M. Warner Losh wrote: > In message: <290865fd0910161902y626f8375m5d46881f4883c1ec@mail.gmail.com> > =A0 =A0 =A0 =A0 =A0 =A0alan yang writes: > : but ran into another failure, wonder there is a quick work around: > : --- > : -c -O -pipe =A0-std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs > : -Wstrict-prototypes =A0-Wmissing-prototypes -Wpointer-arith -Winline > : -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > : -I. -I/usr/home/alan/genova/mips/sys > : -I/usr/home/alan/genova/mips/sys/contrib/altq -D_KERNEL > : -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > : -finline-limit=3D8000 --param inline-unit-growth=3D100 --param > : large-function-growth=3D1000 =A0-EB -fno-pic -mno-abicalls -G0 -EB > : -march=3Dmips64 -mabi=3D64 -msoft-float -ffreestanding > : /usr/home/alan/genova/mips/sys/mips/mips/trap.c > : /usr/home/alan/genova/mips/sys/mips/mips/trap.c:1063: error: > : conflicting types for 'MipsEmulateBranch' > : ./machine/md_var.h:51: error: previous declaration of > : 'MipsEmulateBranch' was here > : *** Error code 1 > > Hmmm... =A0Looks like there were some changes that were stomped on by > the latest MFC. =A0We'll have to investigate why that was... =A0In the > mean time, I've restored them and fixed a few new issues and committed > the results. =A0You can at least build OCTEON1 now. =A0I've not tried to > run it, and I'd expect that it will die somewhere in the context > switch for the first task, if not sooner.... > > Warner > >