Re: spec file with aarch64 specific Fortran build flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sébastien Le Roux <sebastien.leroux@xxxxxxxxxxxxxxxx> writes:

> Dear all,
> in the past weeks the updates of GCC for both Fedora and Debian have 
> introduce few identical Fortran modifications:
>
> fortran/108961
> fortran/109684
> fortran/110825
>
> As a result my I cannot build the RPM package (nor the Debian package) 
> for my program 'atomes' anymore,
> because the ARM 64 build failed with the same error related to an OpenMP 
> instruction in a Fortran file.

I reproduced this error and it looks like a compiler bug:

fortran/spherical.F90: In function ‘plegendre_’:
fortran/spherical.F90:345:12: warning: ‘pll’ may be used uninitialized [-Wmaybe-uninitialized]
  345 | END FUNCTION
      |            ^
fortran/spherical.F90:307:40: note: ‘pll’ was declared here
  307 |   DOUBLE PRECISION :: fact, oldfact, pll, pmm, pmmp1, omx2
      |                                        ^
fortran/spherical.F90: In function ‘sphericals_._omp_fn.1’:
fortran/spherical.F90:179:36: error: unrecognizable insn:
  179 |   !$OMP DO SCHEDULE(STATIC,NS/NUMTH)
      |                                    ^
(insn 1295 924 926 20 (parallel [
            (set (reg:DI 24 x24)
                (zero_extend:DI (mem/c:SI (plus:DI (reg/f:DI 29 x29)
                            (const_int -260 [0xfffffffffffffefc])) [29 %sfp+-260 S4 A32])))
            (set (reg:DI 7 x7)
                (zero_extend:DI (mem/c:SI (plus:DI (reg/f:DI 29 x29)
                            (const_int -256 [0xffffffffffffff00])) [29 %sfp+-256 S4 A32])))
        ]) "fortran/spherical.F90":184:35 -1
     (nil))
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbols
during RTL pass: cprop_hardreg
fortran/spherical.F90:179:36: internal compiler error: in extract_insn, at recog.cc:2791
Please submit a full bug report, with preprocessed source.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [Makefile:1230: fortran/spherical.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/Atomes-GNU-1.1.12/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory
'/builddir/build/BUILD/Atomes-GNU-1.1.12/src'


Have you already reported this issue upstream?

> It was pointed out to me that the build succeed changing the -'O2' 
> option of the Fortran FLAGS by '-O1'.
>
> Following this :
>
> https://fedoraproject.org/wiki/Changes/RPMMacrosForBuildFlags

After a discussion in this mailing list there was an agreement to
restrict the scope of this change and use different names.
Now, the packages can't use _pkg_extra_* anymore.


-- 
Tulio Magno
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux