Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103838 - Internal compiler error from g77.
Summary: Internal compiler error from g77.
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-26 10:13 UTC by Fred Krogh
Modified: 2005-12-11 21:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fred Krogh 2005-08-26 10:13:01 UTC
Results from compiling:  f77 -O2 -c -o dopt.o dopt.f
g77: Internal error: Killed (program f771)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.

Code available on request, the file has 39811 lines.  I compiles with -O1. 
Other files don't seem to have the problem.  Also, it fails with -O1 if I add
the otion "-funroll-loops".  The package this is a part of compiles and runs
with option " -O1 -march=opteron -Wimplicit -fno-f2c -fno-backslash"  In the
past this has worked with -O2 and -funroll-loops.



Reproducible: Always
Steps to Reproduce:
1. See Details above.
2.
3.

Actual Results:  
See Details above.

Expected Results:  
A finished compile.

Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=opteron -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=opteron -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://cudlug.cudenver.edu/gentoo
http://gentoo.binarycompass.org"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 audiofile avi bash-completion bcmath berkdb
bitmap-fonts blas bmp bonobo bzip2 calendar cdr crypt ctype cups dbus dga
divx-linux dvd dvdr eds emacs emul-linux86 encode esd fam fastcgi fbcon
foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib ipv6
java jpeg kde kerberos lapack lesstif libwww lzw lzw-tiff mbox mcal mime mng
motif mozilla mp3 mpeg mpi mysql mysqli ncurses nls nocd nptl nvidia offensive
openal opengl osc oscar oss pam pdflib perl png portaudio ppds python qt
quicktime readline samba sasl sdl sharedmem sockets source sox speex spell ssl
svg symlink tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts
usb userlocales vhosts xine xml2 xpm xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fred Krogh 2005-08-26 10:18:49 UTC
GNU Fortran (GCC) 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-26 10:35:11 UTC
Would you explain how on earth is your g77 problem related to Gentoo
Infrastructure/Dev box issues? Would you *please* read the big bold letter
instructions and file ebuild bugs under Gentoo Linux product next time? Thanks.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 20:49:16 UTC
Is this still a problem with gcc-3.4.4-r1?  You'll need to provide the
preprocessed output so we have a testcase as well if it is still an issue.
Comment 4 Fred Krogh 2005-12-11 21:37:49 UTC
(In reply to comment #3)
> Is this still a problem with gcc-3.4.4-r1?  You'll need to provide the
> preprocessed output so we have a testcase as well if it is still an issue.
I'm very sorry, but I can't swear that I have the exact code that failed.  But a
version of that code near that time now compiles just fine with the compiler
flags that caused the problem.  My guess is that the problem has been fixed.