From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 21 Apr 2010 07:05:43 -0600 To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>, "Balwinder S Dheeman" From: "EBo" Message-ID: In-Reply-To: References: , Subject: Re: [9fans] 9vx crashing Topicbox-Message-UUID: 0b58933e-ead6-11e9-9d60-3106f5b1d025 > 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; Without the -melf_i386 option I get the the following error: ld -o vxa/zlib/ezlib -Llibvxc -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/32/ -g -L. libvxc/vx32/crt0.o vxa/zlib/ezlib.vo vxa/zlib/compress.vo vxa/zlib/deflate.vo vxa/zlib/trees.vo vxa/zlib/adler32.vo vxa/zlib/crc32.vo vxa/zlib/zutil.vo -lc -lgcc ld: skipping incompatible libvxc/libc.a when searching for -lc ld: errno: TLS definition in /lib64/libc.so.6 section .tbss mismatches non-TLS reference in vxa/zlib/ezlib.vo Removing both the -melf_i386 and -mfp-ret-in-387 resulted in the same. I'm using GCC 4.3.4 and ld 2.18 on Gentoo updated/synchronized daily. I should also note that my hardware is an AMD x86_64 EBo --