* [64 bit] linking with gfortran: error message in w32api/libkernel32.a
@ 2015-03-31 13:33 Seher, Holger Dr.
2015-03-31 16:36 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Seher, Holger Dr. @ 2015-03-31 13:33 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2231 bytes --]
Dear Cygwin community,
I'm trying to compile and link some software we recently acquired using gfortran (4.9.2) under Cygwin64 (1.7.35-1) on Windows 7 (see attachment for installed packages). On Linux the program is linked correctly with both gfortran and ifort. However while linking with Cygwin64 I get the following error messages:
--ERRORS------------------
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/crtbegin.o:cygming-crtbegin.c:(.text+0x2b): relocation truncated to fit: R_X86_64_PC32 against symbol `__imp_GetModuleHandleA' defined in .idata$5 section in /usr/lib/w32api/libkernel32.a(dcxms00548.o)
/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/crtbegin.o:cygming-crtbegin.c:(.text+0x47): relocation truncated to fit: R_X86_64_PC32 against symbol `__imp_GetProcAddress' defined in .idata$5 section in /usr/lib/w32api/libkernel32.a(dcxms00598.o)
XXX.o:XXX.f:(.text+0x12a): relocation truncated to fit: R_X86_64_PC32 against symbol `XXX_' defined in COMMON section in XXX.o
--ERRORS------------------
Used fflags: gfortran -O0 -fdefault-integer-8 -fdefault-double-8 -fdefault-real-8 -ffixed-form -fbacktrace -fopenmp -fstack-arrays -mcmodel=large
If I use the -mcmodel=medium on Linux the program does not link due to size problems. That's why I use -mcmodel=large.
I did some search for this error and found some related posts e.g.
https://sourceware.org/ml/cygwin-developers/2013-04/msg00010.html
http://stackoverflow.com/questions/20458291/problems-compiling-gfortran-in-cygwin-with-large-memory-requirements
However, no real solution is presented in these and other posts.
As far as I understand the error message and as stated by Corinna in https://sourceware.org/ml/cygwin-developers/2013-04/msg00011.html
--QUOTE------------------
That's apparently a bug in the Cygwin w32api implementation of the mingw libs. On 64 bit, a lot of simple functions of the w32api, or functions used under the hood of inline functions, are implemented as compiler intrinsics in the Microsoft Visual compilers.
--QUOTE------------------
It seems that the w32api does not have the 64 bit functionality I need. Is there a fflag I missed? But since it works fine on Linux it seems to be a Cygwin64 problem.
Holger
[-- Attachment #2: packages.txt --]
[-- Type: text/plain, Size: 41647 bytes --]
Cygwin Package Information
Package Version Status
_autorebase 001002-1 OK
_update-info-dir 00413-1 OK
adwaita-icon-theme 3.14.1-1 OK
adwaita-themes 3.14.2.3-2 OK
alternatives 1.3.30c-10 OK
asymptote 2.32-2 OK
autoconf 13-1 OK
autoconf2.1 2.13-12 OK
autoconf2.5 2.69-3 OK
automake1.14 1.14.1-2 OK
base-cygwin 3.8-1 OK
base-files 4.2-3 OK
bash 4.3.33-1 OK
biber 1.5-1 OK
binutils 2.25-1 OK
binutils-debuginfo 2.25-1 OK
bzip2 1.0.6-2 OK
ca-certificates 2.3-1 OK
cgdb 0.6.7-1 OK
cgdb-debuginfo 0.6.7-1 OK
cmake 3.1.2-1 OK
cmake-gui 3.1.2-1 OK
colorgcc 1.3.2-2 OK
coreutils 8.23-4 OK
csih 0.9.8-6 OK
cygutils 1.4.14-1 OK
cygwin 1.7.35-1 OK
cygwin-debuginfo 1.7.35-1 OK
cygwin-devel 1.7.35-1 OK
cygwin32 1.7.34-1 OK
cygwin32-binutils 2.25-1 OK
cygwin32-binutils-debuginfo 2.25-1 OK
cygwin32-default-manifest 6.4-1 OK
cygwin32-gcc-core 4.9.2-1 OK
cygwin32-gcc-debuginfo 4.9.2-1 OK
cygwin32-gcc-fortran 4.9.2-1 OK
cygwin32-gcc-g++ 4.9.2-1 OK
cygwin32-gcc-objc 4.9.2-1 OK
cygwin32-gcc-objc++ 4.9.2-1 OK
cygwin32-w32api-headers 3.2.0-1 OK
cygwin32-w32api-runtime 3.2.0-1 OK
damageproto 1.2.1-1 OK
dash 0.5.8-3 OK
dbus 1.8.16-1 OK
dbus-x11 1.8.16-1 OK
desktop-file-utils 0.21-1 OK
dialog 1.2-20150225-2 OK
diffutils 3.3-2 OK
dos2unix 7.2-1 OK
dri-drivers 10.3.7-1 OK
ed 1.10-1 OK
editrights 1.03-1 OK
fbpanel 6.1-6 OK
file 5.22-1 OK
findutils 4.5.12-1 OK
fixesproto 5.0-1 OK
font-adobe-dpi75 1.0.2-1 OK
font-alias 1.0.3-1 OK
font-encodings 1.0.4-1 OK
font-misc-misc 1.1.1-1 OK
fontconfig 2.11.1-2 OK
gamin 0.1.10-15 OK
gawk 4.1.1-1 OK
gcc-core 4.9.2-3 OK
gcc-debuginfo 4.9.2-3 OK
gcc-fortran 4.9.2-3 OK
gcc-g++ 4.9.2-3 OK
gcc-objc 4.9.2-3 OK
gcc-objc++ 4.9.2-3 OK
gcc-tools-epoch1-autoconf 2.59-2 OK
gcc-tools-epoch1-automake 1.9.6-2 OK
gcc-tools-epoch2-autoconf 2.64-2 OK
gcc-tools-epoch2-automake 1.11.6-1 OK
gccmakedep 1.0.3-1 OK
gd 2.1.1-1 OK
gdb 7.8-2 OK
gdbm-debuginfo 1.11-1 OK
gdk-pixbuf2.0-svg 2.40.8-1 OK
getent 2.18.90-4 OK
gettext 0.19.4-1 OK
ghostscript 9.15-2 OK
ghostscript-fonts-other 6.0-1 OK
ghostscript-fonts-std 8.11-1 OK
glproto 1.4.17-1 OK
gmp 6.0.0a-2 OK
gnome-icon-theme 3.10.0-1 OK
gnuplot 5.0.0-1 OK
grep 2.21-2 OK
groff 1.22.3-1 OK
gsettings-desktop-schemas 3.14.1-1 OK
gsl 1.16-1 OK
gtk-update-icon-cache 3.14.10-1 OK
gtk2.0-engines-pixmap 2.24.27-1 OK
gzip 1.6-1 OK
hicolor-icon-theme 0.12-1 OK
hostname 3.13-1 OK
ImageMagick 6.9.0.0-3 OK
info 5.2-3 OK
ipc-utils 1.0-2 OK
jgraph 8.4-1 OK
kbproto 1.0.6-1 OK
less 458-2 OK
libarchive13 3.1.2-2 OK
libargp 20110921-2 OK
libasn1_8 1.5.3-1 OK
libasprintf0 0.19.4-1 OK
libatk1.0_0 2.14.0-1 OK
libatomic1 4.9.2-3 OK
libattr1 2.4.46-1 OK
libaudio2 1.9.3-1 OK
libautotrace3 0.31.1-16 OK
libblkid1 2.25.2-2 OK
libbz2-devel 1.0.6-2 OK
libbz2_1 1.0.6-2 OK
libcairo2 1.12.18-2 OK
libcatgets1 1.1-2 OK
libcharset1 1.14-3 OK
libcloog-isl4 0.18.0-2 OK
libcom_err2 1.42.12-2 OK
libcroco0.6_3 0.6.8-1 OK
libcrypt0 1.1-1 OK
libcurl4 7.41.0-1 OK
libdatrie1 0.2.8-1 OK
libdb5.3 5.3.21-1 OK
libdbus1_3 1.8.16-1 OK
libdialog11 1.2-20140112-1 OK
libdialog12 1.2-20150225-2 OK
libEGL1 10.3.7-1 OK
libEMF1 1.0.7-1 OK
libexpat-devel 2.1.0-3 OK
libexpat1 2.1.0-3 OK
libfam0 0.1.10-15 OK
libffi6 3.2.1-1 OK
libfftw3_3 3.3.4-1 OK
libfontconfig-devel 2.11.1-2 OK
libfontconfig1 2.11.1-2 OK
libfontenc1 1.1.2-1 OK
libfpx1 1.3.1.4-1 OK
libfreetype-devel 2.5.5-1 OK
libfreetype6 2.5.5-1 OK
libgcc1 4.9.2-3 OK
libgcrypt11 1.5.3-2 OK
libgcrypt20 1.6.3-1 OK
libgd-devel 2.1.1-1 OK
libgd2 2.0.36RC1-2 OK
libgd3 2.1.1-1 OK
libgdbm4 1.11-1 OK
libgdk_pixbuf2.0_0 2.31.1-1 OK
libgfortran3 4.9.2-3 OK
libggi2 2.2.2-4 OK
libggiwmh0 0.3.2-4 OK
libgif4 4.1.6-12 OK
libgii1 1.0.2-4 OK
libGL-devel 10.3.7-1 OK
libGL1 10.3.7-1 OK
libglapi0 10.3.7-1 OK
libglib2.0_0 2.42.2-1 OK
libGLU-devel 9.0.0-1 OK
libGLU1 9.0.0-1 OK
libglut-devel 2.8.1-1 OK
libglut3 2.8.1-1 OK
libgmp10 6.0.0a-2 OK
libgmpxx4 6.0.0a-2 OK
libgomp1 4.9.2-3 OK
libgpg-error0 1.18-1 OK
libgraphite2_3 1.2.3-1 OK
libgs9 9.15-2 OK
libgssapi3 1.5.3-1 OK
libgssapi_krb5_2 1.13.1-1 OK
libgtk2.0_0 2.24.27-1 OK
libguile17 1.8.8-1 OK
libharfbuzz-icu0 0.9.36-2 OK
libharfbuzz0 0.9.36-2 OK
libheimbase1 1.5.3-1 OK
libheimntlm0 1.5.3-1 OK
libhx509_5 1.5.3-1 OK
libICE6 1.0.9-1 OK
libiconv 1.14-3 OK
libiconv-devel 1.14-3 Incomplete
libiconv2 1.14-3 OK
libicu51 51.2-1 OK
libicu54 54.1-1 OK
libidn11 1.29-1 OK
libintl-devel 0.19.4-1 OK
libintl8 0.19.4-1 OK
libisl10 0.11.1-2 OK
libjasper1 1.900.1-15 OK
libjbig-devel 2.0-14 OK
libjbig2 2.0-14 OK
libjpeg-devel 1.3.1-3 OK
libjpeg8 1.3.1-3 OK
libk5crypto3 1.13.1-1 OK
libkpathsea-devel 20140523-3 OK
libkpathsea6 20140523-3 OK
libkrb5_26 1.5.3-1 OK
libkrb5_3 1.13.1-1 OK
libkrb5support0 1.13.1-1 OK
liblapack0 3.5.0r1524-1 OK
liblcms1 1.19-5 OK
liblcms2_2 2.6-1 OK
libllvm3.4 3.4.2-5 OK
libltdl7 2.4.6-1 OK
liblzma-devel 5.0.8-1 OK
liblzma5 5.0.8-1 OK
liblzo2_2 2.08-1 OK
libMagickCore5 6.7.6.3-4 OK
libMagickCore6 6.9.0.0-3 OK
libmcpp0 2.7.2-2 OK
libming1 0.4.5-2 OK
libmng1 1.0.10-1 OK
libmpc3 1.0.3-1 OK
libmpfr4 3.1.2-2 OK
libmysqlclient18 5.5.41-2 OK
libncursesw10 5.9-20150307-1 OK
libnettle4 2.7-2 OK
libobjc4 4.9.2-3 OK
libopenjpeg1 1.5.2-2 OK
libopenldap2_4_2 2.4.40-2 OK
libopenmpi 1.8.4-1 OK
libopenmpi-devel 1.8.4-1 OK
libopenmpicxx1 1.8.4-1 OK
libopenmpifh2 1.8.4-1 OK
libopenmpiuse1 1.8.4-1 OK
libopenssl100 1.0.2a-1 OK
libOpenVG1 10.3.7-1 OK
libOSMesa8 10.3.7-1 OK
libp11-kit0 0.20.7-1 OK
libpango1.0_0 1.36.8-1 OK
libpaper-common 1.1.24-2 OK
libpaper1 1.1.24-2 OK
libpcre1 8.36-1 OK
libpipeline1 1.3.0-3 OK
libpixman1_0 0.32.6-1 OK
libplotter2 2.6-4 OK
libpng-devel 1.6.16-1 OK
libpng-doc 1.6.16-1 OK
libpng15 1.5.21-2 OK
libpng16 1.6.16-1 OK
libpng16-devel 1.6.16-1 OK
libpoppler28 0.20.5-3 OK
libpoppler44 0.24.5-1 OK
libpoppler46 0.26.5-2 OK
libpopt0 1.16-1 OK
libproxy1 0.4.11-3 OK
libpstoedit0 3.70-1 OK
libptexenc-devel 20140523-3 OK
libptexenc1 20140523-3 OK
libQtCore4 4.8.6-5 OK
libQtGui4 4.8.6-5 OK
libquadmath0 4.9.2-3 OK
libreadline7 6.3.8-1 OK
libroken18 1.5.3-1 OK
librsvg2_2 2.40.8-1 OK
libsasl2_3 2.1.26-9 OK
libSM6 1.2.2-1 OK
libsmartcols1 2.25.2-2 OK
libsqlite3_0 3.8.8.3-1 OK
libssh2_1 1.5.0-1 OK
libssp0 4.9.2-3 OK
libstdc++6 4.9.2-3 OK
libtasn1_6 4.2-1 OK
libthai0 0.1.21-1 OK
libtiff-devel 4.0.3-2 OK
libtiff5 3.9.7-4 OK
libtiff6 4.0.3-2 OK
libtool 2.4.6-1 OK
libuuid-devel 2.25.2-2 OK
libuuid1 2.25.2-2 OK
libvpx-devel 1.3.0-1 OK
libvpx1 1.3.0-1 OK
libwebp5 0.4.3-1 OK
libwebpmux1 0.4.3-1 OK
libwind0 1.5.3-1 OK
libwrap0 7.6-22 OK
libX11-devel 1.6.3-1 OK
libX11-xcb-devel 1.6.3-1 OK
libX11-xcb1 1.6.3-1 OK
libX11_6 1.6.3-1 OK
libXau-devel 1.0.8-1 OK
libXau6 1.0.8-1 OK
libXaw7 1.0.12-2 OK
libxcb-devel 1.10-1 OK
libxcb-glx-devel 1.10-1 OK
libxcb-glx0 1.10-1 OK
libxcb-icccm4 0.4.1-1 OK
libxcb-image0 0.3.9-1 OK
libxcb-render0 1.10-1 OK
libxcb-shm0 1.10-1 OK
libxcb-util1 0.3.9-1 OK
libxcb1 1.10-1 OK
libXcomposite1 0.4.3-1 OK
libXcursor1 1.1.14-1 OK
libXdamage-devel 1.1.4-1 OK
libXdamage1 1.1.4-1 OK
libXdmcp-devel 1.1.2-1 OK
libXdmcp6 1.1.2-1 OK
libXext-devel 1.3.3-1 OK
libXext6 1.3.3-1 OK
libXfixes-devel 5.0.1-1 OK
libXfixes3 5.0.1-1 OK
libXfont1 1.5.1-1 OK
libXft2 2.3.2-1 OK
libXi6 1.7.4-1 OK
libXinerama1 1.1.3-1 OK
libxkbfile1 1.0.8-1 OK
libxml2 2.9.2-1 OK
libXmu6 1.1.2-1 OK
libXmuu1 1.1.2-1 OK
libXpm-devel 3.5.11-1 OK
libXpm4 3.5.11-1 OK
libXrandr2 1.4.2-1 OK
libXrender1 0.9.8-1 OK
libxslt 1.1.28-2 OK
libXss1 1.2.2-1 OK
libXt6 1.1.4-2 OK
libyaml0_2 0.1.6-2 OK
libzip2 0.11.2-2 OK
libzzip0.13 0.13.62-1 OK
login 1.11-1 OK
lua 5.1.5-1 OK
luit 20130217-1 OK
lynx 2.8.7-2 OK
m4 1.4.17-1 OK
make 4.1-1 OK
man 2.6.7-2 OK
man-db 2.6.7-2 OK
mcpp 2.7.2-2 OK
mingw-binutils 2.23.1-1 OK
mingw-binutils-debuginfo 2.23.1-1 OK
mingw-gcc-core 4.7.3-1 OK
mingw-gcc-debuginfo 4.7.3-1 OK
mingw-gcc-fortran 4.7.3-1 OK
mingw-gcc-g++ 4.7.3-1 OK
mingw-pthreads 20110507-2 OK
mingw-runtime 4.0-1 OK
mingw-w32api 4.0-1 OK
mingw64-i686-binutils 2.24.0.3.85cf705-1 OK
mingw64-i686-binutils-debuginfo 2.24.0.3.85cf705-1 OK
mingw64-i686-gcc-debuginfo 4.8.3-1 OK
mingw64-i686-headers 3.3.0-1 OK
mingw64-i686-winpthreads 3.3.0-1 OK
mingw64-x86_64-binutils 2.24.0.3.85cf705-1 OK
mingw64-x86_64-binutils-debuginfo 2.24.0.3.85cf705-1 OK
mingw64-x86_64-gcc-core 4.8.3-1 OK
mingw64-x86_64-gcc-debuginfo 4.8.3-1 OK
mingw64-x86_64-gcc-fortran 4.8.3-1 OK
mingw64-x86_64-gcc-g++ 4.8.3-1 OK
mingw64-x86_64-headers 3.2.0-1 OK
mingw64-x86_64-runtime 3.2.0-1 OK
mingw64-x86_64-windows-default-manifest 6.4-1 OK
mingw64-x86_64-winpthreads 3.2.0-1 OK
mintty 1.2-beta1-1 OK
mkfontdir 1.0.7-1 OK
mkfontscale 1.1.1-1 OK
mpclib 1.0.3-1 OK
mpfr 3.1.2-2 OK
net-snmp-agent-libs 5.7.2-1 OK
net-snmp-libs 5.7.2-1 OK
net-snmp-perl 5.7.2-1 OK
openmpi 1.8.4-1 OK
openssl 1.0.2a-1 OK
p11-kit 0.20.7-1 OK
p11-kit-trust 0.20.7-1 OK
perl 5.14.4-3 OK
perl-Archive-Zip 1.46-1 OK
perl-Authen-SASL 2.16-1 OK
perl-Business-ISBN 2.09-1 OK
perl-Business-ISBN-Data 20140910.002-1 OK
perl-Business-ISMN 1.13-1 OK
perl-Business-ISSN 0.91-1 OK
perl-Capture-Tiny 0.28-1 OK
perl-Carp 1.3301-2 OK
perl-Clone 0.34-1 OK
perl-Config-AutoConf 0.311-1 OK
perl-Data-Compare 1.25-1 OK
perl-Data-Diver 1.0101-2 OK
perl-Data-Dump 1.22-2 OK
perl-Date-Simple 3.03-1 OK
perl-DBD-mysql 4.023-1 OK
perl-DBD-SQLite 1.37-4 OK
perl-DBI 1.623-2 OK
perl-Digest-HMAC 1.03-4 OK
perl-Digest-SHA1 2.13-4 OK
perl-Encode-EUCJPASCII 0.03-1 OK
perl-Encode-HanExtra 0.23-1 OK
perl-Encode-JIS2K 0.02-1 OK
perl-Encode-Locale 1.04-1 OK
perl-Error 0.17023-1 OK
perl-Exporter-Tiny 0.042-1 OK
perl-ExtUtils-Depends 0.306-1 OK
perl-ExtUtils-LibBuilder 0.06-1 OK
perl-ExtUtils-PkgConfig 1.15-1 OK
perl-File-Find-Rule 0.33-4 OK
perl-File-Listing 6.04-4 OK
perl-File-Slurp 9999.19-4 OK
perl-File-Slurp-Tiny 0.003-1 OK
perl-File-Slurp-Unicode 0.7.1-1 OK
perl-Getopt-ArgvFile 1.11-1 OK
perl-gettext 1.05-13 OK
perl-HTML-Parser 3.71-2 OK
perl-HTML-Tagset 3.20-4 OK
perl-HTTP-Cookies 6.01-4 OK
perl-HTTP-Daemon 6.01-4 OK
perl-HTTP-Date 6.02-4 OK
perl-HTTP-Message 6.06-2 OK
perl-HTTP-Negotiate 6.01-4 OK
perl-Image-Magick 6.9.0.0-3 OK
perl-IO-HTML 1.001-1 OK
perl-IO-Socket-IP 0.37-1 OK
perl-IO-Socket-SSL 2.012-1 OK
perl-IPC-Run3 0.048-1 OK
perl-libwww-perl 6.13-1 OK
perl-List-AllUtils 0.09-1 OK
perl-List-MoreUtils 0.408-1 OK
perl-Locale-gettext 1.05-13 OK
perl-Log-Log4perl 1.46-1 OK
perl-LWP 6.13-1 OK
perl-LWP-MediaTypes 6.02-4 OK
perl-LWP-Protocol-https 6.06-1 OK
perl-MIME-Charset 1.012-1 OK
perl-ming 0.4.5-2 OK
perl-Module-ScanDeps 1.18-1 OK
perl-Mozilla-CA 20141217-1 OK
perl-Net-HTTP 6.07-1 OK
perl-Net-Libproxy 0.4.11-3 OK
perl-Net-SMTP-SSL 1.01-1 OK
perl-Net-SSLeay 1.68-1 OK
perl-Number-Compare 0.03-4 OK
perl-PAR 1.007-1 OK
perl-PAR-Dist 0.49-2 OK
perl-PAR-Packer 1.014-1 OK
perl-Params-Util 1.07-4 OK
perl-Proc-ProcessTable 0.51-1 OK
perl-Readonly 2.00-1 OK
perl-Readonly-XS 1.05-3 OK
perl-Regexp-Common 2013031301-2 OK
perl-Scalar-List-Utils 1.41-1 OK
perl-SGMLSpm 1.03ii-3 OK
perl-Socket 2.018-1 OK
perl-Term-ReadKey 2.30-1 OK
perl-Term-ReadLine-Gnu 1.26-1 OK
perl-Text-BibTeX 0.70-1 OK
perl-Text-CSV 1.33-1 OK
perl-Text-CSV_XS 1.16-1 OK
perl-Text-Glob 0.09-4 OK
perl-Tie-Cycle 1.21-1 OK
perl-TimeDate 2.30-1 OK
perl-Tk 804.031-1 OK
perl-Tk-Canvas-GradientColor 1.05-1 OK
perl-Tk-ColoredButton 1.05-1 OK
perl-Tk-EntryCheck 0.04-1 OK
perl-Tk-Getopt 0.50-1 OK
perl-Tk-Pod 0.9941-1 OK
perl-Unicode-Collate 1.12-1 OK
perl-Unicode-GCString 2014.06-1 OK
perl-Unicode-LineBreak 2014.06-1 OK
perl-URI 1.67-1 OK
perl-WWW-RobotRules 6.02-4 OK
perl-XML-LibXML 2.0118-1 OK
perl-XML-LibXML-Simple 0.95-1 OK
perl-XML-LibXSLT 1.94-1 OK
perl-XML-NamespaceSupport 1.11-4 OK
perl-XML-Parser 2.44-1 OK
perl-XML-SAX 0.99-4 OK
perl-XML-SAX-Base 1.08-4 OK
perl-XML-Simple 2.20-1 OK
perl-YAML 1.14-1 OK
perl_autorebase 5.14.4-3 OK
perl_base 5.14.4-3 OK
pkg-config 0.28-1 OK
poppler-data 0.4.6-1 OK
popt 1.16-1 OK
procps 3.2.8-3 OK
python 2.7.8-1 OK
python-chardet 2.0.1-2 OK
python-imaging 2.7.0-1 OK
python-numpy 1.7.2-1 OK
python-pygments 1.5-2 OK
python-pyrex 0.9.9-2 OK
python-setuptools 0.6.34-1 OK
python-tkinter 2.7.8-1 OK
python3 3.2.5-4 OK
python3-tkinter 3.2.5-4 OK
rebase 4.4.1-1 OK
ruby 2.0.0-p598-1 OK
ruby-io-console 0.4.2-1 OK
ruby-json 1.8.1-1 OK
ruby-minitest4 4.7.5-1 OK
ruby-psych 2.0.6-1 OK
ruby-rake 10.3.2-1 OK
ruby-rdoc 4.1.2-1 OK
rubygems 2.4.1-1 OK
run 1.3.3-1 OK
sed 4.2.2-3 OK
setxkbmap 1.3.0-1 OK
shared-mime-info 1.3-3 OK
t1lib5 5.1.2-1 OK
tar 1.27.1-1 OK
tcl 8.5.11-1 OK
tcl-tix 8.4.3-2 OK
tcl-tk 8.5.11-1 OK
tcsh 6.18.01-6 OK
terminfo 5.9-20150307-1 OK
texinfo 5.2-3 OK
texlive 20140523-3 OK
texlive-collection-basic 20140523-2 OK
texlive-collection-basic-doc 20140523-2 OK
texlive-collection-bibtexextra 20140523-2 OK
texlive-collection-bibtexextra-doc 20140523-2 OK
texlive-collection-binextra 20140523-2 OK
texlive-collection-binextra-doc 20140523-2 OK
texlive-collection-context 20140523-2 OK
texlive-collection-context-doc 20140523-2 OK
texlive-collection-fontsextra 20140523-2 OK
texlive-collection-fontsextra-doc 20140523-2 OK
texlive-collection-fontsrecommended 20140523-2 OK
texlive-collection-fontsrecommended-doc 20140523-2 OK
texlive-collection-fontutils 20140523-2 OK
texlive-collection-fontutils-doc 20140523-2 OK
texlive-collection-formatsextra 20140523-2 OK
texlive-collection-games 20140523-2 OK
texlive-collection-genericextra 20140523-2 OK
texlive-collection-genericextra-doc 20140523-2 OK
texlive-collection-genericrecommended 20140523-2 OK
texlive-collection-genericrecommended-doc 20140523-2 OK
texlive-collection-htmlxml 20140523-2 OK
texlive-collection-humanities 20140523-2 OK
texlive-collection-humanities-doc 20140523-2 OK
texlive-collection-langafrican 20140523-2 OK
texlive-collection-langarabic 20140523-2 OK
texlive-collection-langcjk 20140523-2 OK
texlive-collection-langcyrillic 20140523-2 OK
texlive-collection-langczechslovak 20140523-2 OK
texlive-collection-langenglish 20140523-2 OK
texlive-collection-langeuropean 20140523-2 OK
texlive-collection-langfrench 20140523-2 OK
texlive-collection-langgerman 20140523-2 OK
texlive-collection-langgreek 20140523-2 OK
texlive-collection-langindic 20140523-2 OK
texlive-collection-langitalian 20140523-2 OK
texlive-collection-langother 20140523-2 OK
texlive-collection-langpolish 20140523-2 OK
texlive-collection-langportuguese 20140523-2 OK
texlive-collection-langspanish 20140523-2 OK
texlive-collection-latex 20140523-2 OK
texlive-collection-latex-doc 20140523-2 OK
texlive-collection-latexextra 20140523-2 OK
texlive-collection-latexextra-doc 20140523-2 OK
texlive-collection-latexrecommended 20140523-2 OK
texlive-collection-latexrecommended-doc 20140523-2 OK
texlive-collection-luatex 20140523-2 OK
texlive-collection-luatex-doc 20140523-2 OK
texlive-collection-mathextra 20140523-2 OK
texlive-collection-mathextra-doc 20140523-2 OK
texlive-collection-metapost 20140523-2 OK
texlive-collection-metapost-doc 20140523-2 OK
texlive-collection-music 20140523-2 OK
texlive-collection-music-doc 20140523-2 OK
texlive-collection-omega 20140523-2 OK
texlive-collection-pictures 20140523-2 OK
texlive-collection-pictures-doc 20140523-2 OK
texlive-collection-plainextra 20140523-2 OK
texlive-collection-pstricks 20140523-2 OK
texlive-collection-pstricks-doc 20140523-2 OK
texlive-collection-publishers 20140523-2 OK
texlive-collection-publishers-doc 20140523-2 OK
texlive-collection-science 20140523-2 OK
texlive-collection-science-doc 20140523-2 OK
texlive-collection-xetex 20140523-2 OK
texlive-collection-xetex-doc 20140523-2 OK
tzcode 2014j-1 OK
util-linux 2.25.2-2 OK
vim 7.4.663-1 OK
vim-common 7.4.663-1 OK
vim-minimal 7.4.663-1 OK
w32api-headers 3.3.0-2 OK
w32api-runtime 3.3.0-1 OK
w32api-runtime-debuginfo 3.2.0-1 OK
which 2.20-2 OK
windows-default-manifest 6.4-1 OK
xauth 1.0.9-1 OK
xcursor-themes 1.0.4-1 OK
xdg-user-dirs 0.15-1 OK
xextproto 7.3.0-1 OK
xf86-video-dummy 0.3.7-3 OK
xf86-video-nested 0.1.0-6 OK
xfontsel 1.0.5-1 OK
xinit 1.3.4-5 OK
xkbcomp 1.2.4-1 OK
xkeyboard-config 2.14-1 OK
xlsfonts 1.0.4-1 OK
xmodmap 1.0.8-1 OK
xorg-docs 1.7-1 OK
xorg-server 1.17.1-2 OK
xorg-server-common 1.17.1-2 OK
xproto 7.0.26-1 OK
xrdb 1.1.0-1 OK
xterm 316-1 OK
xxd 7.4.663-1 OK
xz 5.0.8-1 OK
zlib-devel 1.2.8-3 OK
zlib0 1.2.8-3 OK
[-- Attachment #3: Type: text/plain, Size: 218 bytes --]
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [64 bit] linking with gfortran: error message in w32api/libkernel32.a
2015-03-31 13:33 [64 bit] linking with gfortran: error message in w32api/libkernel32.a Seher, Holger Dr.
@ 2015-03-31 16:36 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2015-03-31 16:36 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]
On Mar 31 12:57, Seher, Holger Dr. wrote:
> Dear Cygwin community,
> I'm trying to compile and link some software we recently acquired using gfortran (4.9.2) under Cygwin64 (1.7.35-1) on Windows 7 (see attachment for installed packages). On Linux the program is linked correctly with both gfortran and ifort. However while linking with Cygwin64 I get the following error messages:
>
> --ERRORS------------------
> /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/crtbegin.o:cygming-crtbegin.c:(.text+0x2b): relocation truncated to fit: R_X86_64_PC32 against symbol `__imp_GetModuleHandleA' defined in .idata$5 section in /usr/lib/w32api/libkernel32.a(dcxms00548.o)
> /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/crtbegin.o:cygming-crtbegin.c:(.text+0x47): relocation truncated to fit: R_X86_64_PC32 against symbol `__imp_GetProcAddress' defined in .idata$5 section in /usr/lib/w32api/libkernel32.a(dcxms00598.o)
> XXX.o:XXX.f:(.text+0x12a): relocation truncated to fit: R_X86_64_PC32 against symbol `XXX_' defined in COMMON section in XXX.o
> --ERRORS------------------
>
> Used fflags: gfortran -O0 -fdefault-integer-8 -fdefault-double-8 -fdefault-real-8 -ffixed-form -fbacktrace -fopenmp -fstack-arrays -mcmodel=large
>
> If I use the -mcmodel=medium on Linux the program does not link due to size problems. That's why I use -mcmodel=large.
Try to build without -mcmodel=large on Cygwin. It might be a problem
with crtbegin.o being built for the medium code model used for Cygwin
applications by default. If that doesn't work, you'd probably need
another set of gcc CRT files built for the large code model.
> As far as I understand the error message and as stated by Corinna in
> https://sourceware.org/ml/cygwin-developers/2013-04/msg00011.html
This is about compiler intrinsics and has nothing to do with your
problem, sorry.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-31 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-31 13:33 [64 bit] linking with gfortran: error message in w32api/libkernel32.a Seher, Holger Dr.
2015-03-31 16:36 ` Corinna Vinschen
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).