public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64
@ 2011-02-08 17:37 mexas at bristol dot ac.uk
  2011-02-09  7:43 ` [Bug fortran/47648] " burnus at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mexas at bristol dot ac.uk @ 2011-02-08 17:37 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: libgfortran/libgfortran.h:53:29: fatal error:
                    quadmath_weak.h: No such f ile or directory - FreeBSD
                    ia64
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mexas@bristol.ac.uk


# uname -a
FreeBSD mech-cluster241.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #1
r216732: Mon Dec 27 13:22:47 GMT 2010    
root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV  ia64
# 

Building gcc46 gives:

libtool: compile:  /usr/ports/lang/gcc46/work/build/./gcc/xgcc
-B/usr/ports/lang/gcc46/work/build/./
gcc/ -B/usr/local/ia64-portbld-freebsd9.0/bin/
-B/usr/local/ia64-portbld-freebsd9.0/lib/ -isystem /u
sr/local/ia64-portbld-freebsd9.0/include -isystem
/usr/local/ia64-portbld-freebsd9.0/sys-include -DH
AVE_CONFIG_H -I. -I../.././../gcc-4.6-20110205/libgfortran
-iquote../.././../gcc-4.6-20110205/libgfo
rtran/io -I../.././../gcc-4.6-20110205/libgfortran/../gcc
-I../.././../gcc-4.6-20110205/libgfortran/
../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-prototypes
-Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules
-ffunction-sections -fdata-section
s -g -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT backtrace.lo -MD
-MP -MF .deps/backtrac
e.Tpo -c ../.././../gcc-4.6-20110205/libgfortran/runtime/backtrace.c  -fPIC
-DPIC -o .libs/backtrace
.o
In file included from
../.././../gcc-4.6-20110205/libgfortran/runtime/backtrace.c:25:0:
../.././../gcc-4.6-20110205/libgfortran/libgfortran.h:53:29: fatal error:
quadmath_weak.h: No such file or directory
compilation terminated.
In file included from ../.././../gcc-4.6-20110205/libgfortran/fmain.c:4:0:
../.././../gcc-4.6-20110205/libgfortran/libgfortran.h:53:29: fatal error:
quadmath_weak.h: No such file or directory
compilation terminated.
gmake[3]: *** [fmain.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: *** [backtrace.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/lang/gcc46/work/build/ia64-portbld-freebsd9.0/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'


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

* [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64
  2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
@ 2011-02-09  7:43 ` burnus at gcc dot gnu.org
  2011-02-13 10:12 ` burnus at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-02-09  7:43 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-09 07:05:13 UTC ---
See PR 47649 for configure logs.

The issue is that __float128 is supported, but due to missing functionality
(unclear whether FreeBSD's libc or libgcc should provide them) libquadmath does
not build - cf. bug 47649 comment 5.

The question is how one solves this. A work around would be disable libquadmath
via libgfortran's configure if it is not available. As REAL(16) will be still
available, there will be test-suite failures.

I think a proper workaround is to build with --disable-libquadmath-support
until the _U_Q* are supported. The question is only whether this is a GCC bug
(libgcc) or a FreeBSD bug (libc).


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

* [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64
  2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
  2011-02-09  7:43 ` [Bug fortran/47648] " burnus at gcc dot gnu.org
@ 2011-02-13 10:12 ` burnus at gcc dot gnu.org
  2011-02-14 21:02 ` burnus at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-02-13 10:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-13 09:48:57 UTC ---
Possibly related: PR 47716. (Same symptoms on NetBSD 5.1 - but it fails on
x86-64 while for FreeBSD it only fails on ia64 while [cf. PR 47642] x86-64
works.)


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

* [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64
  2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
  2011-02-09  7:43 ` [Bug fortran/47648] " burnus at gcc dot gnu.org
  2011-02-13 10:12 ` burnus at gcc dot gnu.org
@ 2011-02-14 21:02 ` burnus at gcc dot gnu.org
  2011-02-15 21:31 ` burnus at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-02-14 21:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-14 20:56:26 UTC ---
Created attachment 23341
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23341
Possible libgfortran.dg/configure patch

The attached patch should allow to build libgfortran without
--disable-libquadmath-support. It does so by copying the check from
libquadmath.

I would be happy if someone could test this test on a machine where it failed
before.

(Note: A complimentary patch to support the missing bits on FreeBSD/ia64 would
be still useful.)


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

* [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64
  2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
                   ` (2 preceding siblings ...)
  2011-02-14 21:02 ` burnus at gcc dot gnu.org
@ 2011-02-15 21:31 ` burnus at gcc dot gnu.org
  2011-02-22 11:06 ` [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such file " burnus at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-02-15 21:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-15 21:30:46 UTC ---
Author: burnus
Date: Tue Feb 15 21:30:43 2011
New Revision: 170200

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170200
Log:
2011-02-15  Tobias Burnus  <burnus@net-b.de>

        PR fortran/47716
        PR fortran/47648
        * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from
        libquadmath, which uses more features.
        * configure: Regenerate.


Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/acinclude.m4
    trunk/libgfortran/configure


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

* [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such file or directory - FreeBSD ia64
  2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
                   ` (3 preceding siblings ...)
  2011-02-15 21:31 ` burnus at gcc dot gnu.org
@ 2011-02-22 11:06 ` burnus at gcc dot gnu.org
  2014-03-22 19:45 ` dominiq at lps dot ens.fr
  2015-09-05 10:37 ` dominiq at lps dot ens.fr
  6 siblings, 0 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-02-22 11:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-02-22 10:57:48 UTC ---
STATUS:

- libgfortran uses the same check as libquadmath;
  thus, there should be no build issue anymore as
  libquadmath support is disabled for libgfortran.
  (The Fortran FE still can generate calls for REAL(16).)

- The issue that on FreeBSD libquadmath is not supported remains unsolved.
  The problem is that some support (_U_Q*) is missing.
  The support could come either from FreeBSD's libc or from libgcc.
  Cf. bug 47649 comment 5.


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

* [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such file or directory - FreeBSD ia64
  2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
                   ` (4 preceding siblings ...)
  2011-02-22 11:06 ` [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such file " burnus at gcc dot gnu.org
@ 2014-03-22 19:45 ` dominiq at lps dot ens.fr
  2015-09-05 10:37 ` dominiq at lps dot ens.fr
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-03-22 19:45 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-03-22
     Ever confirmed|0                           |1

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Is it still a problem?


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

* [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such file or directory - FreeBSD ia64
  2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
                   ` (5 preceding siblings ...)
  2014-03-22 19:45 ` dominiq at lps dot ens.fr
@ 2015-09-05 10:37 ` dominiq at lps dot ens.fr
  6 siblings, 0 replies; 8+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-09-05 10:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47648

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Is it still a problem?

No answer since a year and a half. Closing as FIXED. Please open new PR(s) for
remaining issue(s).


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

end of thread, other threads:[~2015-09-05 10:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-08 17:37 [Bug fortran/47648] New: libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such f ile or directory - FreeBSD ia64 mexas at bristol dot ac.uk
2011-02-09  7:43 ` [Bug fortran/47648] " burnus at gcc dot gnu.org
2011-02-13 10:12 ` burnus at gcc dot gnu.org
2011-02-14 21:02 ` burnus at gcc dot gnu.org
2011-02-15 21:31 ` burnus at gcc dot gnu.org
2011-02-22 11:06 ` [Bug fortran/47648] libgfortran/libgfortran.h:53:29: fatal error: quadmath_weak.h: No such file " burnus at gcc dot gnu.org
2014-03-22 19:45 ` dominiq at lps dot ens.fr
2015-09-05 10:37 ` dominiq at lps dot ens.fr

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).