From owner-freebsd-hackers Sun Feb 1 14:50:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA21326 for hackers-outgoing; Sun, 1 Feb 1998 14:50:52 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.scsn.net (scsn.net [206.25.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA21301 for ; Sun, 1 Feb 1998 14:50:33 -0800 (PST) (envelope-from dmaddox@scsn.net) Received: from rhiannon.scsn.net ([208.133.153.64]) by mail.scsn.net (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-41950U6000L1100S0) with ESMTP id AAA177; Sun, 1 Feb 1998 16:43:52 -0500 Received: (from root@localhost) by rhiannon.scsn.net (8.8.8/8.8.7) id QAA11143; Sun, 1 Feb 1998 16:45:34 -0500 (EST) (envelope-from root) Message-ID: <19980201164534.00142@scsn.net> Date: Sun, 1 Feb 1998 16:45:34 -0500 From: dmaddox@scsn.net (Donald J. Maddox) To: Terry Lambert Cc: hasty@rah.star-gate.com, hfwirth@eunet.at, giffunip@asme.org, hackers@FreeBSD.ORG Subject: Re: Can't get Linux-gdb (from ports collection) to work Reply-To: dmaddox@scsn.net Mail-Followup-To: Terry Lambert , hasty@rah.star-gate.com, hfwirth@eunet.at, giffunip@asme.org, hackers@FreeBSD.ORG References: <19980201093839.06233@scsn.net> <199802012135.OAA00244@usr09.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199802012135.OAA00244@usr09.primenet.com>; from Terry Lambert on Sun, Feb 01, 1998 at 09:35:22PM +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" On Sun, Feb 01, 1998 at 09:35:22PM +0000, Terry Lambert wrote: > > I can build Mesa2.6b5 using the linux-glide target with no problems; > > however, if I try to use the linux-386-glide target, every program > > that uses the Mesa libraries will coredump with an illegal instruction > > exception. It seems that the assembler doesn't do it's job as well > > under our emulation as it does under Linux... > > Stupid question: > > Since you built the Linux code on FreeBSD using the Linux > tools, did you remember to "brandelf" them Linux so FreeBSD > doesn't think they are FreeBSD ELF binaries? As far as I know, brandelf is only necessary for statically-linked ELF binaries. Also, as I stated above, the binaries that are produced work fine if I use the linux-glide target, so it would appear that branding is definitely not the problem. I'm pretty sure it's been established now that the old binutils present in our linux_devel port have problems with Mesa even under Linux.