Re: Crashes in world built w/ clang: FP registers?

2011-09-19 Thread Roman Divacky
On Sun, Sep 18, 2011 at 11:05:55AM -0500, Jason Harmening wrote: > > Can you try building just tcsh ? I wonder if -O0 makes any difference... > > > > in either case, can you give me preprocessed (clang -E) source that > > exhibits this bug (check with objdump -d that the unaligned sse read > > is t

Re: Crashes in world built w/ clang: FP registers?

2011-09-19 Thread Roman Divacky
On Mon, Sep 19, 2011 at 05:46:54PM +0200, Roman Divacky wrote: > On Sun, Sep 18, 2011 at 11:05:55AM -0500, Jason Harmening wrote: > > > Can you try building just tcsh ? I wonder if -O0 makes any difference... > > > > > > in either case, can you give me preprocessed (clang -E) source that > > > exhi

Re: Crashes in world built w/ clang: FP registers?

2011-09-17 Thread Jason Harmening
> Can you reproduce the crash with -O0 ? > buildworld fails w/ -O0, for the reason reported here: http://lists.freebsd.org/pipermail/freebsd-current/2011-June/025563.html I tried w/ -O1 a couple of weeks ago, and it had the same crashy behavior. ___ fr

Re: Crashes in world built w/ clang: FP registers?

2011-09-17 Thread Hartmann, O.
On 09/17/11 11:02, Kostik Belousov wrote: > On Fri, Sep 16, 2011 at 10:34:40PM -0500, Jason Harmening wrote: >> Hi everyone, >> >> Using clang as the default compiler, the kernel and drivers will work >> fine, but a lot of programs in the base system and ports will crash w/ >> SIGBUS. In fact, so

Re: Crashes in world built w/ clang: FP registers?

2011-09-17 Thread Kostik Belousov
On Fri, Sep 16, 2011 at 10:34:40PM -0500, Jason Harmening wrote: > Hi everyone, > > Using clang as the default compiler, the kernel and drivers will work > fine, but a lot of programs in the base system and ports will crash w/ > SIGBUS. In fact, so much of the stuff in the chroot'ed world will >

Crashes in world built w/ clang: FP registers?

2011-09-16 Thread Jason Harmening
Hi everyone, Using clang as the default compiler, the kernel and drivers will work fine, but a lot of programs in the base system and ports will crash w/ SIGBUS. In fact, so much of the stuff in the chroot'ed world will crash (everything from csh to gcc) that it's basically unusable. I finally g