Date: Mon, 19 Sep 2011 17:46:54 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: Jason Harmening <jason.harmening@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Crashes in world built w/ clang: FP registers? Message-ID: <20110919154654.GA35232@freebsd.org> In-Reply-To: <CAM=8qa=jkgYX1L_txCvJzPOtWjoSc3U=ZhY1Jpj0YU%2Bm97OsBQ@mail.gmail.com> References: <CAM=8qan5K6025J5oBT25s4fz9YgT15mp5SpNsEdzR0Fw%2BHVwig@mail.gmail.com> <20110917062309.GA82256@freebsd.org> <CAM=8qamT19pHEsD86hE-RSoW%2BWO63otm9O-0x2kJR7jhdhEF9g@mail.gmail.com> <20110917214448.GA87874@freebsd.org> <CAM=8qa=jkgYX1L_txCvJzPOtWjoSc3U=ZhY1Jpj0YU%2Bm97OsBQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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 there) and show me how to reproduce that... I'll try that here.
> >
> >
> > To be honest, I am not sure why others are not seeing this behaviour :(
> >
> > roman
> >
>
> Building w/ -O0 eliminated the crash in csh at least. In that case,
> tw_collect() isn't even using the SSE registers.
> I've attached the objdump output for csh for both the -O2 and -O0
> cases, along w/ the preprocessor output for tw.parse.c.
it doesnt build for me.. with tons of errors like
pes ~$ clang tw.parse.cpp
In file included from ../../contrib/tcsh/tw.parse.c:1:
In file included from ../../contrib/tcsh/tw.parse.c:36:
In file included from ../../contrib/tcsh/sh.h:38:
/usr/include/stddef.h:57:19: error: cannot combine with previous 'type-name'
declaration specifier
typedef __wchar_t wchar_t;
^
how did you get the preprocessed file? and/or how do you compile it?
roman
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110919154654.GA35232>
