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 li...@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 via email to