Date: Sat, 9 Aug 2003 14:53:51 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Liste FreeBSD-alpha <freebsd-alpha@freebsd.org> Subject: Re: Problem with ld-elf.so: program does not launch. Message-ID: <20030809215351.GA51932@athlon.pn.xcllnt.net> In-Reply-To: <20030809205149.GA14947@graf.pompo.net> References: <20030809205149.GA14947@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > <http://bento.freebsd.org/errorlogs/alpha-4-latest/metis-edf-3.log>. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030809215351.GA51932>