9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Balwinder S Dheeman <bsd.SANSPAM@cto.homelinux.net>
To: 9fans@9fans.net
Subject: Re: [9fans] 9vx crashing
Date: Wed, 21 Apr 2010 12:27:37 +0000	[thread overview]
Message-ID: <nm63a7x3oq.ln2@news.homelinux.net> (raw)
In-Reply-To: <e2bfb01f0977eb4c4564cec6a8755631@kw.quanstro.net>

On 04/21/2010 05:05 PM, erik quanstrom wrote:
>>> While I could spend time trying to tracing through the code to figure out what
>>> is going on, I have opted for the moment to update the base root I am using as
>>> the old one is just shy of two years old, and the newer one seem to run
>>> correctly so far.  If this problem creeps up again I'll start debugging it in
>>> earnest.
>>
>> Try http://werc.homelinux.net/hacks/nano9/
>
> what bug does this fix that you think you've
> fixed that addresses this particular bug?

Sorry, forget to mention that I also spend a lot of time on figuring out
why newly build 9vx from hg was crashing both on FreeBSD and Linux, but
all in a vain (currently don't have access to an OS/X machine).

I'm not sure, if it was a correct fix, but removing -melf_i386 option
did the trick; hence a patch:

 diff -r 8184025094f4 src/Makefrag
--- a/src/Makefrag	Mon Oct 05 02:53:41 2009 -0400
+++ b/src/Makefrag	Fri Mar 12 22:16:57 2010 +0530
@@ -21,7 +21,7 @@
 # VX32_AR		:= vx32-ar
 # VX32_OBJCOPY	:= vx32-objcopy
 VX32_CC		:= gcc -m32
-VX32_LD		:= ld -melf_i386
+VX32_LD		:= ld
 VX32_AR		:= ar
 VX32_OBJCOPY	:= objcopy


I have GCC 4.4.3 and ld 2.20, both on FreeBSD 8.0-RELEASE and Debian
5.0.4 as well.

--
Balwinder S "bdheeman" Dheeman        Registered Linux User: #229709
Anu'z Linux@HOME (Unix Shoppe)        Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India         Plan9, T2, Arch/Debian/FreeBSD/XP
Home: http://werc.homelinux.net/      Visit: http://counter.li.org/



  reply	other threads:[~2010-04-21 12:27 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 10:45 [9fans] Fossil robustness Adriano Verardo
2010-04-20 11:12 ` maht
2010-04-20 11:29   ` Adriano Verardo
2010-04-20 12:32     ` erik quanstrom
2010-04-20 12:50       ` Adriano Verardo
2010-04-21  4:49       ` [9fans] updating 9vx root EBo
2010-04-21  5:18         ` Fernan Bolando
2010-04-21  5:29           ` EBo
2010-04-21  5:45             ` Fernan Bolando
2010-04-21  6:31         ` yy
2010-04-21 11:58           ` EBo
2010-04-21 12:20             ` EBo
2010-04-20 11:13 ` [9fans] Fossil robustness John Soros
2010-04-20 11:39   ` Adriano Verardo
2010-04-20 12:18     ` John Soros
2010-04-20 12:37 ` erik quanstrom
2010-04-20 16:05 ` Anthony Sorace
2010-04-20 17:55   ` [9fans] 9vx crashing EBo
2010-04-20 18:05     ` erik quanstrom
2010-04-20 18:13       ` EBo
2010-04-21  8:39         ` Balwinder S Dheeman
2010-04-21  8:56           ` ron minnich
2010-04-21 11:22           ` erik quanstrom
2010-04-21 12:27             ` Balwinder S Dheeman [this message]
2010-04-21 13:05               ` EBo
2010-04-21 13:10                 ` ron minnich
2010-04-21 13:17                   ` EBo
     [not found]                   ` <twig.1271856045.77201@swcp.com>
2010-04-21 13:22                     ` EBo
2010-04-26  4:18           ` lucio
2010-04-26  4:27             ` EBo
2010-04-26  4:30               ` lucio
2010-04-26 10:13                 ` EBo
2010-04-26 12:30                   ` lucio
2010-04-26 15:15             ` Balwinder S Dheeman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nm63a7x3oq.ln2@news.homelinux.net \
    --to=bsd.sanspam@cto.homelinux.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).