From owner-freebsd-mips@FreeBSD.ORG Fri Jul 28 19:22:13 2006 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46AEF16A4DD for ; Fri, 28 Jul 2006 19:22:13 +0000 (UTC) (envelope-from rnsanchez@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0086E43D70 for ; Fri, 28 Jul 2006 19:22:05 +0000 (GMT) (envelope-from rnsanchez@gmail.com) Received: by wx-out-0102.google.com with SMTP id i26so1493396wxd for ; Fri, 28 Jul 2006 12:22:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:x-mailer:mime-version:content-type:content-transfer-encoding; b=C6e6HgiRLuGzLQD4U0+ChZwO4FsfPA8/ICsQThrqNVsWA8pV1XjMoEceCgE16Ry5xro+GI7/o4irdcgZ3QlDLM3APUHJbD489m4jWuTnusL+0Z5Pjbfj9ooH6gGbdiqN2Y5+9Qpp+tbH9T4iJ7z6+ZbbKCpwquAzNtIPdQ4R8pk= Received: by 10.70.65.10 with SMTP id n10mr2822190wxa; Fri, 28 Jul 2006 12:22:05 -0700 (PDT) Received: from sauron.lan.box ( [200.180.163.244]) by mx.gmail.com with ESMTP id i33sm7122676wxd.2006.07.28.12.22.03; Fri, 28 Jul 2006 12:22:04 -0700 (PDT) Date: Fri, 28 Jul 2006 16:22:02 -0300 From: Ricardo Nabinger Sanchez To: freebsd-mips@freebsd.org Message-Id: <20060728162202.4567446d.rnsanchez@gmail.com> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ld: cannot open crt1.o 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, 28 Jul 2006 19:22:13 -0000 Hello, I'm trying to get my mipsel-linux environment to work, but no success: % mipsel-linux-gcc test.c /usr/local/lib/gcc-lib/mipsel-linux/2.97/../../../../mipsel-linux/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status Exit 1 % cat test.c int main() { return 0; } % fgrep crt1.o -r /var/db/pkg/mipsel-linux-* Exit 1 Here there's only the crt1.o from the base gcc (not the MIPS one): % find /usr -type f -name crt1.o /usr/lib/crt1.o I feel like clearly missing something very basic here. Aren't these ports enough? devel/mipsel-linux-binutils devel/mipsel-linux-gcc devel/mipsel-linux-kernel-headers Thanks in advance. -- Ricardo Nabinger Sanchez Powered by FreeBSD "Left to themselves, things tend to go from bad to worse." From owner-freebsd-mips@FreeBSD.ORG Fri Jul 28 19:41:40 2006 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87A4F16A4DD for ; Fri, 28 Jul 2006 19:41:40 +0000 (UTC) (envelope-from ralf@denk.linux-mips.net.redhat.com) Received: from ftp.linux-mips.org (ftp.linux-mips.org [194.74.144.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7FF043D45 for ; Fri, 28 Jul 2006 19:41:39 +0000 (GMT) (envelope-from ralf@denk.linux-mips.net.redhat.com) Received: from localhost.localdomain ([127.0.0.1]:61596 "EHLO bacchus.dhis.org") by ftp.linux-mips.org with ESMTP id S8134068AbWG1Tlj (ORCPT ); Fri, 28 Jul 2006 20:41:39 +0100 Received: from denk.linux-mips.net (denk.linux-mips.net [127.0.0.1]) by bacchus.dhis.org (8.13.7/8.13.4) with ESMTP id k6SJg6PQ003415; Fri, 28 Jul 2006 15:42:06 -0400 Received: (from ralf@localhost) by denk.linux-mips.net (8.13.7/8.13.7/Submit) id k6SJg4c1003414; Fri, 28 Jul 2006 15:42:04 -0400 Date: Fri, 28 Jul 2006 15:42:04 -0400 From: Ralf Baechle To: Ricardo Nabinger Sanchez Message-ID: <20060728194204.GA28080@linux-mips.org> References: <20060728162202.4567446d.rnsanchez@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060728162202.4567446d.rnsanchez@gmail.com> User-Agent: Mutt/1.4.2.1i Cc: linux-mips@linux-mips.org, freebsd-mips@freebsd.org Subject: Re: ld: cannot open crt1.o 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, 28 Jul 2006 19:41:40 -0000 On Fri, Jul 28, 2006 at 04:22:02PM -0300, Ricardo Nabinger Sanchez wrote: > I'm trying to get my mipsel-linux environment to work, but no success: > > % mipsel-linux-gcc test.c > /usr/local/lib/gcc-lib/mipsel-linux/2.97/../../../../mipsel-linux/bin/ld: > cannot open crt1.o: No such file or directory > collect2: ld returned 1 exit status > Exit 1 > > % cat test.c > int main() { > return 0; > } > > % fgrep crt1.o -r /var/db/pkg/mipsel-linux-* > Exit 1 > > Here there's only the crt1.o from the base gcc (not the MIPS one): > % find /usr -type f -name crt1.o > /usr/lib/crt1.o > > > I feel like clearly missing something very basic here. Aren't these ports > enough? > > devel/mipsel-linux-binutils > devel/mipsel-linux-gcc > devel/mipsel-linux-kernel-headers crt1.o is part of glibc; you only seem to have installed cross versions of binutils and gcc. Ralf From owner-freebsd-mips@FreeBSD.ORG Fri Jul 28 21:31:09 2006 Return-Path: X-Original-To: freebsd-mips@freebsd.org Delivered-To: freebsd-mips@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2992316A4E1 for ; Fri, 28 Jul 2006 21:31:09 +0000 (UTC) (envelope-from rnsanchez@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F53C43D46 for ; Fri, 28 Jul 2006 21:31:08 +0000 (GMT) (envelope-from rnsanchez@gmail.com) Received: by wr-out-0506.google.com with SMTP id i7so212906wra for ; Fri, 28 Jul 2006 14:31:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=PaY+tdALS5e/4yLJGGfj5lft3gpWbLqq88yIqivITmOFCVaaSNqi+0yIWUsLxnyCps6Ub8VhoeHcZwja59a64ITUsXXASmJ2p1o5R1h4vMkxIYXGBVOblxI1iu3TySpBgtQA0Zsbecq7eWNi6yA6X1/jg7TfKMuoqIoUVLrvwoU= Received: by 10.54.66.1 with SMTP id o1mr10076117wra; Fri, 28 Jul 2006 14:31:06 -0700 (PDT) Received: from sauron.lan.box ( [200.180.163.244]) by mx.gmail.com with ESMTP id 14sm386709wrl.2006.07.28.14.31.04; Fri, 28 Jul 2006 14:31:06 -0700 (PDT) Date: Fri, 28 Jul 2006 18:31:02 -0300 From: Ricardo Nabinger Sanchez To: Ralf Baechle Message-Id: <20060728183102.1f08dcd4.rnsanchez@gmail.com> In-Reply-To: <20060728194204.GA28080@linux-mips.org> References: <20060728162202.4567446d.rnsanchez@gmail.com> <20060728194204.GA28080@linux-mips.org> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-mips@linux-mips.org, freebsd-mips@freebsd.org Subject: Re: ld: cannot open crt1.o 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, 28 Jul 2006 21:31:09 -0000 Quoting Ralf Baechle Sent on Fri, 28 Jul 2006 15:42:04 -0400 > crt1.o is part of glibc; you only seem to have installed cross versions of > binutils and gcc. Yes, I installed the mipsel-* packages from ports, on 6.1-STABLE. Does it have to be glibc or can it be uClibc? Anyway, I'll check my possibilities. In case of further problems, I bug you guys again. Thanks. ps: please note that I'm on a FreeBSD box. -- Ricardo Nabinger Sanchez Powered by FreeBSD "Left to themselves, things tend to go from bad to worse."