public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/107223] New: GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17':
@ 2022-10-11 21:24 skoerner at nvidia dot com
  2022-10-11 23:30 ` [Bug libfortran/107223] " pinskia at gcc dot gnu.org
  2022-10-12  7:10 ` skoerner at nvidia dot com
  0 siblings, 2 replies; 3+ messages in thread
From: skoerner at nvidia dot com @ 2022-10-11 21:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107223
           Summary: GCC 12.2 fails compilation on Linux PowerPC In
                    function 'bessel_jn_r17':
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: skoerner at nvidia dot com
  Target Milestone: ---

../.././libgfortran/generated/bessel_r17.c: In function 'bessel_jn_r17':
../.././libgfortran/generated/bessel_r17.c:83:20: error: implicit declaration
of function 'jnq'; did you mean 'jnl'? [-Werror=implicit-function-declaration]
   83 |   last1 = MATHFUNC(jn) (n2, x);
      |                    ^~
../.././libgfortran/generated/bessel_r17.c:34:28: note: in definition of macro
'MATHFUNC'
   34 | #define MATHFUNC(funcname) funcname ## q
      |                            ^~~~~~~~
../.././libgfortran/generated/bessel_r17.c: In function 'bessel_yn_r17':
../.././libgfortran/generated/bessel_r17.c:153:20: error: implicit declaration
of function 'ynq'; did you mean 'ynl'? [-Werror=implicit-function-declaration]
  153 |   last1 = MATHFUNC(yn) (n1, x);
      |                    ^~
../.././libgfortran/generated/bessel_r17.c:34:28: note: in definition of macro
'MATHFUNC'
   34 | #define MATHFUNC(funcname) funcname ## q
      |                            ^~~~~~~~


4.14.0-115.el7a.ppc64le RHEL 7.6

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

* [Bug libfortran/107223] GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17':
  2022-10-11 21:24 [Bug fortran/107223] New: GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17': skoerner at nvidia dot com
@ 2022-10-11 23:30 ` pinskia at gcc dot gnu.org
  2022-10-12  7:10 ` skoerner at nvidia dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-11 23:30 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2022-10-11
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
What configure options did you pass?
How did you do the build?

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

* [Bug libfortran/107223] GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17':
  2022-10-11 21:24 [Bug fortran/107223] New: GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17': skoerner at nvidia dot com
  2022-10-11 23:30 ` [Bug libfortran/107223] " pinskia at gcc dot gnu.org
@ 2022-10-12  7:10 ` skoerner at nvidia dot com
  1 sibling, 0 replies; 3+ messages in thread
From: skoerner at nvidia dot com @ 2022-10-12  7:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Sebastian Koerner <skoerner at nvidia dot com> ---
I used these packages (from source)
mpfr-4.1.0
gmp-6.2.1
mpc-1.2.1
binutils-2.38
gcc-12.2.0
isl-0.24

and this configure line
./configure --prefix=<foo>  --enable-gold --enable-plugin
--enable-languages=c,c++,fortran,objc,obj-c++ --with-gcc-major-version-only
--enable-shared --enable-static --disable-multilib --without-included-gettext
--enable-threads=posix --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
--enable-gnu-unique-object --enable-linker-build-id --disable-libquadmath
--disable-libquadmath-support --enable-default-pie --enable-secureplt
--enable-multiarch --disable-werror  --with-cpu=power8
--enable-targets=powerpcle-linux --with-long-double-128
--enable-checking=release --build=powerpc64le-unknown-linux-gnu
--host=powerpc64le-unknown-linux-gnu --target=powerpc64le-unknown-linux-gnu

Now that I read it: disable-quadmath? But why is working on gcc 11.3.0 and with
12.2.0 on x86 and aarch64?

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

end of thread, other threads:[~2022-10-12  7:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-11 21:24 [Bug fortran/107223] New: GCC 12.2 fails compilation on Linux PowerPC In function 'bessel_jn_r17': skoerner at nvidia dot com
2022-10-11 23:30 ` [Bug libfortran/107223] " pinskia at gcc dot gnu.org
2022-10-12  7:10 ` skoerner at nvidia dot com

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