This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: seg.fault compiling quantum-espresso


Check the gcc -v output below. The problem will probably occur in all Arch
based distros. My notebook has Manjaro, and it is now updated to 7.3.1 as
well... and gives the same problem.

If you want to reproduce, you can try to compile the fox.tgz package that
is in the archive folder of quantum-espresso. That's where the seg.fault
happens.

I don't think I'll have time this week to compile gcc and make tests.
Yesterday I've put quantum-espresso to work using the PGI community edition
compilers. So, now it is working and I have to focus on the results.

But if I find time, I'll let you know.

----------------------------------------------------

[gerson@tintin ~]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.3.1 20180312 (GCC)




--
Gerson J. Ferreira
Prof. Dr. @ InFis - UFU
----------------------------------------------
Nanosciences group <http://www.infis.ufu.br/gnano>
Institute of Physics
Federal University of Uberlândia, Brazil
----------------------------------------------

On Sun, Apr 22, 2018 at 3:44 AM, Xi Ruoyao <ryxi@stu.xidian.edu.cn> wrote:

> On 2018-04-20 21:41 -0300, Gerson J. Ferreira wrote:
> > Dear gcc/gnu,
> >
> > I'm trying to compile quantum espresso in Arch/Angergos/Manjaro Linux,
> but
> > the compiler itself is giving a seg.fault.
> >
> > - It works on Manjaro, with f95 version 7.3.0
> > - But fails on Antergos with f95 version 7.3.1
>
> Which version of GCC (`gcc -v`) did you used?
>
> You can try to build GCC from source on Antergos.  If the newly built GCC
> works normally, you should report the issue to Angergos maintainer.
> --
> Xi Ruoyao <ryxi@stu.xidian.edu.cn>
> School of Aerospace Science and Technology, Xidian University
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]