https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97692
Bug ID: 97692 Summary: GNU Fortran is not working Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: nju044 at hotmail dot com Target Milestone: --- Created attachment 49492 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49492&action=edit build error log I'm integrating meta-ros into xilinx zynqmp. Console output snapshot: | checking whether -lc should be explicitly linked in... no | checking dynamic linker characteristics... GNU/Linux ld.so | checking how to hardcode library paths into programs... immediate | checking for shl_load... no | checking for shl_load in -ldld... no | checking for dlopen... no | checking for dlopen in -ldl... yes | checking whether a program can dlopen itself... cross | checking whether stripping libraries is possible... yes | checking if libtool supports shared libraries... yes | checking whether to build shared libraries... yes | checking whether to build static libraries... no | checking for aarch64-xilinx-linux-gfortran... aarch64-xilinx-linux-gfortran -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot | checking whether we are using the GNU Fortran compiler... no | checking whether aarch64-xilinx-linux-gfortran -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot accepts -g... no | checking if libtool supports shared libraries... yes | checking whether to build shared libraries... yes | checking whether to build static libraries... no | libtool.m4: error: problem compiling FC test program | checking for aarch64-xilinx-linux-gfortran -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot option to produce PIC... | checking if aarch64-xilinx-linux-gfortran -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot static flag works... no | checking if aarch64-xilinx-linux-gfortran -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot supports -c -o file.o... no | checking if aarch64-xilinx-linux-gfortran -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot supports -c -o file.o... (cached) no | checking whether the aarch64-xilinx-linux-gfortran -march=armv8-a+crc -mtune=cortex-a72.cortex-a53 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot linker (aarch64-xilinx-linux-ld --sysroot=/home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/recipe-sysroot ) supports shared libraries... yes | checking dynamic linker characteristics... (cached) GNU/Linux ld.so | checking how to hardcode library paths into programs... immediate | checking whether the GNU Fortran compiler is working... no | configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching /home/kn/xlxnew/petalinux/map_loc_os/zcu104/build/tmp/work/aarch64-xilinx-linux/libgfortran/9.2.0-r0/gcc-9.2.0/build.aarch64-xilinx-linux.aarch64-xilinx-linux/aarch64-xilinx-linux/libgfortran/config.log