Bug#788102: The code doesn't compile on kfreebsd

2016-02-23 Thread Steven Chamberlain
Mathieu Malaterre wrote: > Thanks a lot for the update. Could you send me the actual full debdiff > you used. Here is what I get from fall.d.o when I use your patch: > > [...] > IexMathFpu.cpp: In function 'void > Iex_2_2::setFpExceptionHandler(Iex_2_2::FpExceptionHandler)': > IexMathFpu.cpp:482:9

Bug#788102: The code doesn't compile on kfreebsd

2016-02-23 Thread Mathieu Malaterre
On Tue, Feb 23, 2016 at 5:17 AM, Steven Chamberlain wrote: > Hi, > > Mathieu Malaterre wrote: >> Steven Chamberlain wrote: >> > Gianfranco Costamagna wrote: >> >> file.c:5:38: error: ‘mcontext_t’ has no member named ‘fpregs’ >> >> uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr; >> > >> > FreeBSD

Bug#788102: The code doesn't compile on kfreebsd

2016-02-22 Thread Steven Chamberlain
Hi, Mathieu Malaterre wrote: > Steven Chamberlain wrote: > > Gianfranco Costamagna wrote: > >> file.c:5:38: error: ‘mcontext_t’ has no member named ‘fpregs’ > >> uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr; > > > > FreeBSD doesn't seem to have fpregs in mcontext_t or sigcontext. > > But I thi

Bug#788102: The code doesn't compile on kfreebsd

2015-09-15 Thread Mathieu Malaterre
Steven, On Wed, Jul 22, 2015 at 6:55 PM, Steven Chamberlain wrote: > Hello, > > Gianfranco Costamagna wrote: >> file.c:5:38: error: ‘mcontext_t’ has no member named ‘fpregs’ >> uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr; > > FreeBSD doesn't seem to have fpregs in mcontext_t or sigcontext. >

Bug#788102: The code doesn't compile on kfreebsd

2015-09-14 Thread Mathieu Malaterre
On Mon, Sep 14, 2015 at 2:33 PM, Mathieu Malaterre wrote: > On Wed, Jul 22, 2015 at 6:55 PM, Steven Chamberlain > wrote: >> Hello, >> >> Gianfranco Costamagna wrote: >>> file.c:5:38: error: ‘mcontext_t’ has no member named ‘fpregs’ >>> uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr; >> >> FreeB

Bug#788102: The code doesn't compile on kfreebsd

2015-09-14 Thread Mathieu Malaterre
On Wed, Jul 22, 2015 at 6:55 PM, Steven Chamberlain wrote: > Hello, > > Gianfranco Costamagna wrote: >> file.c:5:38: error: ‘mcontext_t’ has no member named ‘fpregs’ >> uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr; > > FreeBSD doesn't seem to have fpregs in mcontext_t or sigcontext. > But I thi

Bug#788102: The code doesn't compile on kfreebsd

2015-08-08 Thread Andreas Metzler
On 2015-07-22 Steven Chamberlain wrote: [...] > I see that FreeBSD Ports has ilmbase-2.20 and succeeded building > libIexMath, yet they don't seem to have patched this source file. > I should try building it on a real FreeBSD system, to compare the > build log with that of a GNU/kFreeBSD system.

Bug#788102: The code doesn't compile on kfreebsd

2015-07-22 Thread Steven Chamberlain
Hello, Gianfranco Costamagna wrote: > file.c:5:38: error: ‘mcontext_t’ has no member named ‘fpregs’ > uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr; FreeBSD doesn't seem to have fpregs in mcontext_t or sigcontext. But I think mc_fpstate might be the same thing; but that isn't implemented as a

Bug#788102: The code doesn't compile on kfreebsd

2015-07-22 Thread Gianfranco Costamagna
Hi Malat >Could someone please let me know if the following is valid on kFreeBSD ? > >#include >#include >int main() >ucontext_t ucon; >uint32_t mxcsr = ucon.uc_mcontext.fpregs->mxcsr; >uint16_t cw= ucon.uc_mcontext.fpregs->cwd; >} missing {, anyway: file.c:5:38: error: ‘mcontext_t’ has