public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/60468] New: ./fpu-target.h:93:3: error: unknown type name 'choke'
@ 2014-03-08 23:20 danglin at gcc dot gnu.org
  2014-06-07 10:50 ` [Bug libfortran/60468] " fxcoudert at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: danglin at gcc dot gnu.org @ 2014-03-08 23:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60468

            Bug ID: 60468
           Summary: ./fpu-target.h:93:3: error: unknown type name 'choke'
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
              Host: hppa1.1-hp-hpux10.20
            Target: hppa1.1-hp-hpux10.20
             Build: hppa1.1-hp-hpux10.20

Build of libgfortran fails here:

libtool: compile:  /xxx/gnu/gcc/objdir/./gcc/xgcc -B/xxx/gnu/gcc/objdir/./gcc/
-
B/opt/gnu/gcc/gcc-4.9/hppa1.1-hp-hpux10.20/bin/
-B/opt/gnu/gcc/gcc-4.9/hppa1.1-h
p-hpux10.20/lib/ -isystem /opt/gnu/gcc/gcc-4.9/hppa1.1-hp-hpux10.20/include
-isystem /opt/gnu/gcc/gcc-4.9/hppa1.1-hp-hpux10.20/sys-include -DHAVE_CONFIG_H
-I. -
I../../../gcc/libgfortran -iquote../../../gcc/libgfortran/io
-I../../../gcc/libg
fortran/../gcc -I../../../gcc/libgfortran/../gcc/config
-I../../../gcc/libgfortr
an/../libquadmath -I../.././gcc -I../../../gcc/libgfortran/../libgcc
-I../libgcc
 -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definitio
n -Wextra -Wwrite-strings -fcx-fortran-rules -g -O2 -MT fpu.lo -MD -MP -MF
.deps
/fpu.Tpo -c ../../../gcc/libgfortran/runtime/fpu.c  -fPIC -DPIC -o .libs/fpu.o
In file included from ../../../gcc/libgfortran/runtime/fpu.c:29:0:
./fpu-target.h: In function 'get_fpu_except_flags':
./fpu-target.h:93:3: error: unknown type name 'choke'
   choke me   ^

Problem is sysv version of fpu-target.h has been selected because configure
found fpsetmask but it didn't find fp_except or fp_rnd because they are
defined in <math.h>, not <ieeefp.h>.  The fp routines are also declared
in <math.h>.

On hpux11, this doesn't happen because fpsetmask is gone.  As a result,
generic support is selected. This is probably not optimal but
that's another issue.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-15 16:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-08 23:20 [Bug libfortran/60468] New: ./fpu-target.h:93:3: error: unknown type name 'choke' danglin at gcc dot gnu.org
2014-06-07 10:50 ` [Bug libfortran/60468] " fxcoudert at gcc dot gnu.org
2014-06-07 10:50 ` fxcoudert at gcc dot gnu.org
2014-06-07 15:43 ` dave.anglin at bell dot net
2014-06-15  9:44 ` fxcoudert at gcc dot gnu.org
2014-06-15 16:05 ` fxcoudert at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).