From owner-freebsd-alpha@FreeBSD.ORG Sat Aug 9 14:53:53 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AD0237B401 for ; Sat, 9 Aug 2003 14:53:53 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4846543F93 for ; Sat, 9 Aug 2003 14:53:52 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h79LrqwO063647 for ; Sat, 9 Aug 2003 14:53:52 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h79Lrpif051986 for ; Sat, 9 Aug 2003 14:53:51 -0700 (PDT) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h79Lrp3j051985 for freebsd-alpha@freebsd.org; Sat, 9 Aug 2003 14:53:51 -0700 (PDT) (envelope-from marcel) Date: Sat, 9 Aug 2003 14:53:51 -0700 From: Marcel Moolenaar To: Liste FreeBSD-alpha Message-ID: <20030809215351.GA51932@athlon.pn.xcllnt.net> References: <20030809205149.GA14947@graf.pompo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030809205149.GA14947@graf.pompo.net> User-Agent: Mutt/1.5.4i Subject: Re: Problem with ld-elf.so: program does not launch. X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 21:53:53 -0000 On Sat, Aug 09, 2003 at 10:51:49PM +0200, Thierry Thomas wrote: > Hello, > > I have ported metis-edf (cad/metis-edf) to FreeBSD, it runs fine on > i386, but it aborts on alpha. On Bento, the log is at > . Try linking using cc(1) instead of ld(1). If you use ld(1) directly, you better know what you're doing. Something like: cc -v -o ../onmetis.exe onmetis.o io.o smbfactor.o ecri11.o lect11.o lect00.o -lmetis -lm -lg2c The -v option should also tell you what you need on the ld(1) line and in what order if you still want or need to use ld(1) directly. Another cause can be that ld-elf.so.1 doesn't handle a particular relocation yet, but fails to abort. This is more tricky to debug if you don't have root and/or console access to the machine. HTH, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net