| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:to:from:subject:message-id:date:mime-version | |
| :content-type:content-transfer-encoding; q=dns; s=default; b=v0p | |
| 2vt5P5tuY8Iu88x2IdTLs+5i4RUrG2qxpUERsFJK0ewN54jOgdrD8+isaIqRywd+ | |
| I4ChdLP7zNKfni+mNVePoqywXhTomQBoRcAnFoApbHiAoZKWrjVAghK0jG06cwFk | |
| PZdyZtY3uWOUSjrby/4UpMAQPkLK0DVrSVEWMwSE= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:to:from:subject:message-id:date:mime-version | |
| :content-type:content-transfer-encoding; s=default; bh=nHkR7JYTt | |
| 9PV5hbIm82cOjl/BmI=; b=HSwo8gjZT8KMtRpCVJv6x2gWAGEttrp4Uq/dSjllp | |
| TOCZJgA1aOHwdJu6nZhCU4GDbLRNU9QFk7CfDTqW2+G8b8DjGWu0xD8QMj7M3WpV | |
| HqsIAfMxv2Nr2abzMvB/HeGINZN/+fRUtvmF7fhGgYXo4EHaKdPN05lkRgjc2gSp | |
| AU= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
| X-HELO: | cc-smtpout1.netcologne.de |
| To: | cygwin AT cygwin DOT com |
| From: | Thomas Koenig <tkoenig AT netcologne DOT de> |
| Subject: | gfortran segfaults on "Hello world" |
| Message-ID: | <564CFB0C.9000803@netcologne.de> |
| Date: | Wed, 18 Nov 2015 23:26:20 +0100 |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
| MIME-Version: | 1.0 |
Hi,
gfortran appears to be broken (segfault) with the newest cygwin
version I just downloaded. It segfaults on a "Hello, world" program.
gcc works fine.
The warnings on the GMP and MPFR headers make me suspect that some
dependency may be broken.
Here's what happens:
$ gfortran.exe hello.f
<built-in>: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$ which gfortran
/usr/bin/gfortran
$ ldd /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/f951.exe
ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll
(0x7ff96d540000)
KERNEL32.DLL => /cygdrive/c/Windows/system32/KERNEL32.DLL
(0x7ff96b8d0000)
KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll
(0x7ff96a760000)
cygcloog-isl-4.dll => /usr/bin/cygcloog-isl-4.dll (0x3fc700000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000)
cyggmp-10.dll => /usr/bin/cyggmp-10.dll (0x3fb610000)
cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3fa2f0000)
cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3f69d0000)
cygisl-10.dll => /usr/bin/cygisl-10.dll (0x3f68e0000)
cygmpc-3.dll => /usr/bin/cygmpc-3.dll (0x3f63f0000)
cygmpfr-4.dll => /usr/bin/cygmpfr-4.dll (0x3f6390000)
cygz.dll => /usr/bin/cygz.dll (0x3f4930000)
cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3fbc50000)
$ gfortran -v hello.f
Driving: gfortran -v hello.f -l gfortran -shared-libgcc
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with:
/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/src/gcc-4.9.3/configure
--srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.x86_64/src/gcc-4.9.3
--prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc
--docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C
--build=x86_64-pc-cygwin --host=x86_64-pc-cygwin
--target=x86_64-pc-cygwin --without-libiconv-prefix
--without-libintl-prefix --libexecdir=/usr/lib --enable-shared
--enable-shared-libgcc --enable-static
--enable-version-specific-runtime-libs --enable-bootstrap
--enable-__cxa_atexit --with-dwarf2 --with-tune=generic
--enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite
--enable-threads=posix --enable-libatomic --enable-libgomp
--disable-libitm --enable-libquadmath --enable-libquadmath-support
--enable-libssp --enable-libada --enable-libgcj-sublibs
--disable-java-awt --disable-symvers
--with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as
--with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix
--without-libintl-prefix --with-system-zlib --enable-linker-build-id
Thread model: posix
gcc version 4.9.3 (GCC)
COLLECT_GCC_OPTIONS='-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/f951.exe hello.f -ffixed-form
-quiet -dumpbase hello.f -mtune=generic -march=x86-64 -auxbase hello
-version -fintrinsic-modules-path
/usr/lib/gcc/x86_64-pc-cygwin/4.9.3/finclude -o /tmp/ccsadurw.s
GNU Fortran (GCC) version 4.9.3 (x86_64-pc-cygwin)
compiled by GNU C version 4.9.3, GMP version 6.0.0, MPFR
version 3.1.2-p11, MPC version 1.0.3
warning: GMP header version 6.0.0 differs from library version 6.1.0.
warning: MPFR header version 3.1.2-p11 differs from library version 3.1.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU Fortran (GCC) version 4.9.3 (x86_64-pc-cygwin)
compiled by GNU C version 4.9.3, GMP version 6.0.0, MPFR
version 3.1.2-p11, MPC version 1.0.3
warning: GMP header version 6.0.0 differs from library version 6.1.0.
warning: MPFR header version 3.1.2-p11 differs from library version 3.1.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
<built-in>: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Any ideas?
Regards
Thomas
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |