public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/23356] New: FLT_EVAL_METHOD not defined on openbsd3.4
@ 2005-08-12 17:08 fxcoudert at gcc dot gnu dot org
  2005-08-12 22:13 ` [Bug libfortran/23356] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-12 17:08 UTC (permalink / raw)
  To: gcc-bugs

On openbsd3.4, there is no FLT_EVAL_METHOD in the standard includes, so we
should think of something to do when it's not available:

/tmp/debug/ibin/./gcc/xgcc -B/tmp/debug/ibin/./gcc
-B/tmp/debug/irun/i386-unknown-openbsd3.4/bin/
-B/tmp/debug/irun/i386-unknown-openbsd3.4/lib/ -isystem
/tmp/debug/irun/i386-unknown-openbsd3.4/include -isystem
/tmp/debug/irun/i386-unknown-openbsd3.4/sys-include -DHAVE_CONFIG_H -I.
-I../../../gcc/libgfortran -I. -iquote../../../gcc/libgfortran/io -std=gnu99
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra
-Wwrite-strings -O2 -g -O2 -c ../../../gcc/libgfortran/generated/nearest_r4.c 
-fPIC -DPIC -o .libs/nearest_r4.o
../../../gcc/libgfortran/generated/nearest_r4.c: In function 'nearest_r4':
../../../gcc/libgfortran/generated/nearest_r4.c:42: error: 'FLT_EVAL_METHOD'
undeclared (first use in this function)

-- 
           Summary: FLT_EVAL_METHOD not defined on openbsd3.4
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i386-unknown-openbsd3.4
OtherBugsDependingO 16991
             nThis:


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


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

* [Bug libfortran/23356] FLT_EVAL_METHOD not defined on openbsd3.4
  2005-08-12 17:08 [Bug libfortran/23356] New: FLT_EVAL_METHOD not defined on openbsd3.4 fxcoudert at gcc dot gnu dot org
@ 2005-08-12 22:13 ` pinskia at gcc dot gnu dot org
  2005-08-30 16:01 ` fxcoudert at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-12 22:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-12 22:13 -------
This is weird as built just fine on openbsd3.1.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build


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


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

* [Bug libfortran/23356] FLT_EVAL_METHOD not defined on openbsd3.4
  2005-08-12 17:08 [Bug libfortran/23356] New: FLT_EVAL_METHOD not defined on openbsd3.4 fxcoudert at gcc dot gnu dot org
  2005-08-12 22:13 ` [Bug libfortran/23356] " pinskia at gcc dot gnu dot org
@ 2005-08-30 16:01 ` fxcoudert at gcc dot gnu dot org
  2005-09-06 17:48 ` ian at airs dot com
  2005-09-08 20:58 ` [Bug target/23356] " fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-30 16:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-08-30 15:52 -------
(In reply to comment #1)
> This is weird as built just fine on openbsd3.1.

Well, the only reference to openbsd I found in gcc-testresults are some mails
from you, with openbsd3.1 but without gfortran. I just checked in openbsd3.1
source that there is no FLT_EVAL_METHOD defined (and on the production
openbsd3.4 I have access too, there's none too), so I mark this bug as confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-30 15:52:18
               date|                            |


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


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

* [Bug libfortran/23356] FLT_EVAL_METHOD not defined on openbsd3.4
  2005-08-12 17:08 [Bug libfortran/23356] New: FLT_EVAL_METHOD not defined on openbsd3.4 fxcoudert at gcc dot gnu dot org
  2005-08-12 22:13 ` [Bug libfortran/23356] " pinskia at gcc dot gnu dot org
  2005-08-30 16:01 ` fxcoudert at gcc dot gnu dot org
@ 2005-09-06 17:48 ` ian at airs dot com
  2005-09-08 20:58 ` [Bug target/23356] " fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: ian at airs dot com @ 2005-09-06 17:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ian at airs dot com  2005-09-06 17:48 -------
Andrew Pinski pointed out that the problem is due to the setting of USER_H in
config/t-openbsd to an empty string.  That is most likely incorrect.

(The only other target which tries to set USER_H at all it i386-netware, and
that one is probably also wrong.)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian at airs dot com


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


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

* [Bug target/23356] FLT_EVAL_METHOD not defined on openbsd3.4
  2005-08-12 17:08 [Bug libfortran/23356] New: FLT_EVAL_METHOD not defined on openbsd3.4 fxcoudert at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-09-06 17:48 ` ian at airs dot com
@ 2005-09-08 20:58 ` fxcoudert at gcc dot gnu dot org
  3 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-08 20:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-08 20:58 -------
Change component to target.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libfortran                  |target


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


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

* [Bug target/23356] FLT_EVAL_METHOD not defined on openbsd3.4
       [not found] <bug-23356-10259@http.gcc.gnu.org/bugzilla/>
  2005-10-13 11:12 ` espie at nerim dot net
@ 2005-11-17 18:34 ` fxcoudert at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-11-17 18:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from fxcoudert at gcc dot gnu dot org  2005-11-17 18:34 -------
(In reply to comment #5)
> As far as OpenBSD is concerned, this bug is not important: neither 3.7,
> nor 3.8, nor -current are affected.

Well, if nobody is interested in this, closing accordingly.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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


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

* [Bug target/23356] FLT_EVAL_METHOD not defined on openbsd3.4
       [not found] <bug-23356-10259@http.gcc.gnu.org/bugzilla/>
@ 2005-10-13 11:12 ` espie at nerim dot net
  2005-11-17 18:34 ` fxcoudert at gcc dot gnu dot org
  1 sibling, 0 replies; 7+ messages in thread
From: espie at nerim dot net @ 2005-10-13 11:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from espie at nerim dot net  2005-10-13 11:11 -------
I added FLT_EVAL_METHOD to OpenBSD's math.h in january 2005.
Currently, all releases up to OpenBSD 3.5 have been discontinued.
OpenBSD 3.6 reaches end-of-life in a few months.

As far as OpenBSD is concerned, this bug is not important: neither 3.7,
nor 3.8, nor -current are affected.

It might bite some other system.

As far as I'm concerned, this is a generic issue with Linux-centric configure.
Everything is often set up to either assume no C99, or full C99 compliance, and
there are still systems in-between (to wit, libstdc++ all-or-nothing locale
approach).


-- 

espie at nerim dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |espie at nerim dot net


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


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

end of thread, other threads:[~2005-11-17 18:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-12 17:08 [Bug libfortran/23356] New: FLT_EVAL_METHOD not defined on openbsd3.4 fxcoudert at gcc dot gnu dot org
2005-08-12 22:13 ` [Bug libfortran/23356] " pinskia at gcc dot gnu dot org
2005-08-30 16:01 ` fxcoudert at gcc dot gnu dot org
2005-09-06 17:48 ` ian at airs dot com
2005-09-08 20:58 ` [Bug target/23356] " fxcoudert at gcc dot gnu dot org
     [not found] <bug-23356-10259@http.gcc.gnu.org/bugzilla/>
2005-10-13 11:12 ` espie at nerim dot net
2005-11-17 18:34 ` fxcoudert at gcc dot gnu dot 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).