On Tue, Jun 24, 2014 at 10:11:32AM +0200, FX wrote:
> Here?s a patch fixing the diff issue with configure.host and the doc (which
> apparently is only triggered by some versions of texinfo).
> Apart from that, functionnaly identical, so I?ll paste here the ?history? of
> the patch:
>
> ---------------------------------------------------
>
> Since last time, I incorporated Uros? comments on the
> libgfortran/config/fpu-387.h part, and add some documentation to the manual
> (list of supported targets, and required compilation flags for full IEE
> support).
>
> OK to commit?
>
Not yet.
On i386-*-freebsd
In file included from ../../../gcc4x/libgfortran/runtime/fpu.c:29:0:
./fpu-target.h: In function 'set_fpu_trap_exceptions':
./fpu-target.h:31:3: error: unknown type name 'fp_except'
fp_except cw = fpgetmask();
...
gmake[3]: *** [fpu.lo] Error 1
gmake[3]: Leaving directory
`/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd11.0/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/home/kargl/gcc/obj4x/i386-unknown-freebsd11.0/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/usr/home/kargl/gcc/obj4x'
Looking at the libgfortran/config.log shows that there is an error
in the config test for fp_except_t.
configure:26048: checking for fp_except
configure:26048: /home/kargl/gcc/obj4x/./gcc/xgcc
-B/home/kargl/gcc/obj4x/./gcc/ -B/home/kargl/work/i386-unknown-freebsd11.0/bin/
-B/home/kargl/work/i386-unknown-freebsd11.0/lib/ -isystem
/home/kargl/work/i386-unknown-freebsd11.0/include -isystem
/home/kargl/work/i386-unknown-freebsd11.0/sys-include -c -std=gnu11 -g -O2
conftest.c >&5
conftest.c: In function 'main':
conftest.c:261:13: error: 'fp_except' undeclared (first use in this function)
if (sizeof (fp_except))
^
conftest.c:261:13: note: each undeclared identifier is reported only once for
each function it appears in
configure:26048: $? = 1
configure: failed program was:
...
configure:26061: /home/kargl/gcc/obj4x/./gcc/xgcc
-B/home/kargl/gcc/obj4x/./gcc/ -B/home/kargl/work/i386-unknown-freebsd11.0/bin/
-B/home/kargl/work/i386-unknown-freebsd11.0/lib/ -isystem
/home/kargl/work/i386-unknown-freebsd11.0/include -isystem
/home/kargl/work/i386-unknown-freebsd11.0/sys-include -c -std=gnu11 -g -O2
conftest.c >&5
conftest.c: In function 'main':
conftest.c:261:26: error: expected expression before ')' token
if (sizeof ((fp_except_t)))
^
configure:26061: $? = 1
configure: failed program was:
| /* confdefs.h */