From owner-freebsd-mips@FreeBSD.ORG Tue Jul 15 22:54:52 2008 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 C59AC1065678 for ; Tue, 15 Jul 2008 22:54:52 +0000 (UTC) (envelope-from ehmoeok@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 8F75B8FC14 for ; Tue, 15 Jul 2008 22:54:52 +0000 (UTC) (envelope-from ehmoeok@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so6621087rvf.43 for ; Tue, 15 Jul 2008 15:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=Cj5YvK/2o5NpYW7jud/NIKnG4z7845Ycrc/jK4qMU/o=; b=m5Xijn97Sk25JFa/2vdERE7VSxkQiZrWCfC14vP1Rmkb5bhxZQyEV2h83qEuOR0hQf XmJaHfjiGxnJ9hNMMSKwiUJcOrgBqWgy3Kc7kx3KOfZlWoTvRBk8Rionq+fy3gqw1dh1 /5I8+MhC73MfEgm1YLCc4Y+OhjM9wFcw3mwsw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=CqHSTaUK3gnvDtE6w4kwryZ8gtstk49GC99NbLscJczi7nNxpgxHQw5eJNRr3CnNYX y9AXzKsgr26nLlnrE3Ek7MUBiWczCr1tPTtNMtqCRRNaJ2sV4ax8hvP/t6fENjRERSHp kP0aw/mxFufo+BOuyr33CCo1Oh0lLDQlcdnZA= Received: by 10.141.29.21 with SMTP id g21mr7799892rvj.248.1216160778579; Tue, 15 Jul 2008 15:26:18 -0700 (PDT) Received: from ?168.179.151.215? ( [168.179.151.215]) by mx.google.com with ESMTPS id f42sm12271685rvb.5.2008.07.15.15.26.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 15 Jul 2008 15:26:17 -0700 (PDT) Message-ID: <487D2407.8070001@gmail.com> Date: Tue, 15 Jul 2008 17:26:15 -0500 From: Erik Moe User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: FreeBSD Mips Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Building FreeBSD MIPS 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, 15 Jul 2008 22:54:52 -0000 Question, is current the FreeBSD MIPS code in a state where one could build a kernel? I've got the latest code from svn://svn.freebsd.org/base/head. I'm trying to build the kernel-toolchain with the following script: #!/bin/sh SRCROOT=/usr/home/emoe/fbsd-mips/current-svn/head export MAKEOBJDIRPREFIX=/usr/home/emoe/fbsd-mips/build-current-svn TARGET_ARCH=mips TARGET=mips TARGET_CPUTYPE=mips32 cd ${SRCROOT} make TARGET_ARCH=mips TARGET=mips TARGET_CPUTYPE=mips32 kernel-toolchain #make TARGET_ARCH=mips NO_MODULES=yes MIPS_LITTLE_ENDIAN=yes \ # buildkernel KERNCONF=MALTA I getting the following error: make: don't know how to make /usr/home/emoe/fbsd-mips/current-svn/head/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config//.c. Stop I believe that this is because the GCC_CPU variable is not being set in gnu/usr.bin/cc/Makefile.tgt TARGET_ARCH?= ${MACHINE_ARCH} .if ${TARGET_ARCH} == "arm" GCC_CPU= arm .elif ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64" GCC_CPU= i386 .elif ${TARGET_ARCH} == "ia64" TARGET_CPU_DEFAULT= MASK_GNU_AS|MASK_GNU_LD GCC_CPU= ia64 .elif ${TARGET_ARCH} == "powerpc" GCC_CPU= rs6000 .elif ${TARGET_ARCH} == "sparc64" GCC_CPU= sparc TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc .endif So my assumption is that all the pieces to build the MIPS tool-chain aren't there. Erik Moe ehmoeok@gmail.com From owner-freebsd-mips@FreeBSD.ORG Wed Jul 16 19:37:32 2008 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 55C00106566B for ; Wed, 16 Jul 2008 19:37:32 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from luidgi.portaone.com (luidgi.portaone.com [195.138.219.143]) by mx1.freebsd.org (Postfix) with ESMTP id 2FCBC8FC13 for ; Wed, 16 Jul 2008 19:37:31 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from mail.pbxpress.com ([65.61.203.142] helo=leaf.pbxpress.com) by luidgi.portaone.com (8.11.3/8.11.3) with ESMTP (TLSv1:AES256-SHA:256)id 1KJCod-000JI7-K5; Wed, 16 Jul 2008 12:37:31 -0700 Received: from jeeves.bluezbox.com (k3-gw.portaone.com [193.28.87.193]) (authenticated bits=0) by leaf.pbxpress.com (8.13.3/8.13.3) with ESMTP id m6GJfCsh023617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Jul 2008 12:41:16 -0700 (PDT) (envelope-from gonzo@freebsd.org) Message-ID: <487E4DF6.1020106@freebsd.org> Date: Wed, 16 Jul 2008 22:37:26 +0300 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.14 (X11/20080704) MIME-Version: 1.0 To: Erik Moe References: <487D2407.8070001@gmail.com> In-Reply-To: <487D2407.8070001@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, recieved from trusted server Cc: freebsd-mips@freebsd.org Subject: Re: Building FreeBSD MIPS 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: Wed, 16 Jul 2008 19:37:32 -0000 Erik Moe wrote: > I getting the following error: > > make: don't know how to make > /usr/home/emoe/fbsd-mips/current-svn/head/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config//.c. > Stop > > I believe that this is because the GCC_CPU variable is not being set in > gnu/usr.bin/cc/Makefile.tgt The problem is not only in that. We're waiting for proper toolchain import to happen. Meanwhile, if you're interested I can provide mips2 snapshot or patch against HEAD. -- gonzo From owner-freebsd-mips@FreeBSD.ORG Thu Jul 17 15:32:49 2008 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 62170106566B for ; Thu, 17 Jul 2008 15:32:49 +0000 (UTC) (envelope-from ehmoeok@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0BC8FC15 for ; Thu, 17 Jul 2008 15:32:49 +0000 (UTC) (envelope-from ehmoeok@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so7375341rvf.43 for ; Thu, 17 Jul 2008 08:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=EGkVRNwrqMIJwT7e2joo3QnTMfH8RoE7H+mcjf5yO8w=; b=EPgw1mti2KRHmjFcFDo0uD77iEyH1rh1XyMRjpSyi/8Cdn6/sVOY3bsRdafuQTdCI1 BByRHbS3CDJyOBy5/NKXc4ZrnzKmwSniHaFB7+axp6g1ZMfroOAkMk0rubzw8FhtP8iU iwwzJ5inEES6HSszexVBOQ2um+YAVZuVvo4UE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=vsd/DO1CC0yyOa0/lESiauadroQCyVXhLO6DIjMZ15JqnHpx0yFkQDyi8ViIbSzw6d KIt8TJklcYI6FXGNodGIHjMq4A6+nYGPBDkC7i1VtlEF16jlriylMg68+2DOE7MEZQ1F FuwWAi9ZS5AksKi0fK3R/ofLsGFIEkdTboSvw= Received: by 10.141.5.3 with SMTP id h3mr1259368rvi.138.1216308768424; Thu, 17 Jul 2008 08:32:48 -0700 (PDT) Received: by 10.141.98.6 with HTTP; Thu, 17 Jul 2008 08:32:48 -0700 (PDT) Message-ID: Date: Thu, 17 Jul 2008 09:32:48 -0600 From: "Erik Moe" To: "Oleksandr Tymoshenko" In-Reply-To: <487E4DF6.1020106@freebsd.org> MIME-Version: 1.0 References: <487D2407.8070001@gmail.com> <487E4DF6.1020106@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mips@freebsd.org Subject: Re: Building FreeBSD MIPS 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: Thu, 17 Jul 2008 15:32:49 -0000 If you have a patch against HEAD that would be great. Thanks, On Wed, Jul 16, 2008 at 1:37 PM, Oleksandr Tymoshenko wrote: > Erik Moe wrote: > >> I getting the following error: >> >> make: don't know how to make >> /usr/home/emoe/fbsd-mips/current-svn/head/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config//.c. >> Stop >> >> I believe that this is because the GCC_CPU variable is not being set in >> gnu/usr.bin/cc/Makefile.tgt >> > The problem is not only in that. We're waiting for proper toolchain > import > to happen. Meanwhile, if you're interested I can provide mips2 snapshot or > patch against HEAD. > > -- > gonzo > From owner-freebsd-mips@FreeBSD.ORG Fri Jul 18 13:07:43 2008 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 7712A106566B for ; Fri, 18 Jul 2008 13:07:43 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from luidgi.portaone.com (luidgi.portaone.com [195.138.219.143]) by mx1.freebsd.org (Postfix) with ESMTP id 49F598FC0A for ; Fri, 18 Jul 2008 13:07:43 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from mail.pbxpress.com ([65.61.203.142] helo=leaf.pbxpress.com) by luidgi.portaone.com (8.11.3/8.11.3) with ESMTP (TLSv1:AES256-SHA:256)id 1KJpgU-000IKx-QP; Fri, 18 Jul 2008 06:07:42 -0700 Received: from jeeves.bluezbox.com (k3-gw.portaone.com [193.28.87.193]) (authenticated bits=0) by leaf.pbxpress.com (8.13.3/8.13.3) with ESMTP id m6IDBI0o074424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jul 2008 06:11:25 -0700 (PDT) (envelope-from gonzo@freebsd.org) Message-ID: <48809595.4000006@freebsd.org> Date: Fri, 18 Jul 2008 16:07:33 +0300 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.14 (X11/20080704) MIME-Version: 1.0 To: Erik Moe References: <487D2407.8070001@gmail.com> <487E4DF6.1020106@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, recieved from trusted server Cc: freebsd-mips@freebsd.org Subject: Re: Building FreeBSD MIPS 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: Fri, 18 Jul 2008 13:07:43 -0000 Erik Moe wrote: > If you have a patch against HEAD that would be great. http://people.freebsd.org/~gonzo/mips2.diff.gz -- gonzo