This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37901] New: Fortran compiler bug or lost some files during installation openSuse11.0
- From: "wpatscher at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2008 07:58:18 -0000
- Subject: [Bug c++/37901] New: Fortran compiler bug or lost some files during installation openSuse11.0
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hallo,
can you help me?? this bug i have never seen !!
email to: wpatscher@web.de
OS: Linux OpenSuse 11.0
This Fortran-program was tested
! program test
open(6,file='test.aus')
write(6,100)
100 format(10x,'testprogramm')
close(6)
end
Start fortran in Terminal:
wolfgang@HSI-KBW-****:~/programs> gcc -o test.out test.for
Now the Bug:
/usr/lib/gcc/i586-suse-linux/4.3/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/tmp/ccWiTwqk.o: In function `MAIN__':
test.for:(.text+0x19): undefined reference to `_gfortran_set_options'
test.for:(.text+0x63): undefined reference to `_gfortran_st_open'
test.for:(.text+0xad): undefined reference to `_gfortran_st_write'
test.for:(.text+0xbb): undefined reference to `_gfortran_st_write_done'
test.for:(.text+0xf1): undefined reference to `_gfortran_st_close'
collect2: ld returned 1 exit status
end of bug
wolfgang@HSI-KBW-078-042-082-134:~/programs> gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --with-local-prefix=/usr/local
--infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib
--libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3
--enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/
--with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
--with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.3
--enable-version-specific-runtime-libs --enable-linux-futex
--without-system-libunwind --with-cpu=generic --build=i586-suse-linux
Thread model: posix
gcc version 4.3.3 20081002 (prerelease) [gcc-4_3-branch revision 140831] (SUSE
Linux)
kindly W.Patscher
--
Summary: Fortran compiler bug or lost some files during
installation openSuse11.0
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: wpatscher at web dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37901