This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/21185] New: libgfortran unusable for cross-testing for newlib targets
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Apr 2005 00:00:14 -0000
- Subject: [Bug libfortran/21185] New: libgfortran unusable for cross-testing for newlib targets
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
fortran.log shows that functions not present in newlib are referenced:
Executing on host: /home/hp/combined/cris-sim/gcc/testsuite/../gfortran
-B/home/hp/combined/cris-sim/gcc/testsuite/../ /home/hp/c\
ombined/combined/gcc/testsuite/gfortran.dg/PR19754_2.f90 -O0
-pedantic-errors -isystem /home/hp/combined/cris-sim/cris-elf/\
./newlib/targ-include -isystem /home/hp/combined/combined/newlib/libc/include
-B/home/hp/combined/cris-sim/cris-elf/./libgloss/cr\
is/ -L/home/hp/combined/cris-sim/cris-elf/./libgloss/cris
-L/home/hp/combined/combined/libgloss/cris -L/home/hp/combined/cris-sim\
/ld -B/home/hp/combined/cris-sim/cris-elf/./newlib/
-L/home/hp/combined/cris-sim/cris-elf/./newlib -sim3 -L/home/hp/combined/cri\
s-sim/cris-elf/./libgfortran/.libs
-L/home/hp/combined/cris-sim/cris-elf/./libiberty -lm -o ./PR19754_2.exe
(timeout = 300)
/home/hp/combined/cris-sim/cris-elf/./libgfortran/.libs/libgfortran.a(unix.o):
In function `fd_truncate':^M
/home/hp/combined/combined/libgfortran/io/unix.c:516: undefined reference to
`_ftruncate'^M
/home/hp/combined/cris-sim/cris-elf/./libgfortran/.libs/libgfortran.a(unix.o):
In function `fix_fd':^M
/home/hp/combined/combined/libgfortran/io/unix.c:198: undefined reference to
`_dup'^M
/home/hp/combined/combined/libgfortran/io/unix.c:208: undefined reference to
`_dup'^M
/home/hp/combined/combined/libgfortran/io/unix.c:203: undefined reference to
`_dup'^M
/home/hp/combined/cris-sim/cris-elf/./libgfortran/.libs/libgfortran.a(unix.o):
In function `inquire_access':^M
/home/hp/combined/combined/libgfortran/io/unix.c:1443: undefined reference to
`_access'^M
collect2: ld returned 1 exit status^M
--
Summary: libgfortran unusable for cross-testing for newlib
targets
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: cris-axis-elf (or any newlib target)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21185