This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

undefined reference


While running the testsuite on target=x86_64-pc-mingw32, I encountered
this odd failure:

Executing on host:
/var/tmp/build/gcc-svn/build-x86_64-pc-linux/gcc/testsuite/gfortran/../../gfortran
-B/var/tmp/build/gcc-svn/build-x86_64-pc-linux/gcc/testsuite/gfortran/../../
/var/tmp/build/gcc-svn/gcc/gcc/testsuite/gfortran.dg/chmod_1.f90   -O0
 -std=gnu   -lm   -o ./chmod_1.exe    (timeout = 300)
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x25f): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2d9): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2e5): undefined reference to
`__gfortran_getuid'^M
collect2: ld returned 1 exit status^M
compiler exited with status 1
output is:
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x25f): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2d9): undefined reference to
`__gfortran_chmod_i4_sub'^M
/tmp/cc2gMphB.o:chmod_1.f90:(.text+0x2e5): undefined reference to
`__gfortran_getuid'^M
collect2: ld returned 1 exit status^M

FAIL: gfortran.dg/chmod_1.f90  -O0  (test for excess errors)



Any ideas?


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