Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167262 - [ICE/4.1] sys-devel/gcc-4.1.2 fortran on ARM gnueabi fails to build
Summary: [ICE/4.1] sys-devel/gcc-4.1.2 fortran on ARM gnueabi fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/bugzilla/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 20:09 UTC by Sergey Anufrienko
Modified: 2009-01-28 01:02 UTC (History)
1 user (show)

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


Attachments
compilation log (end) (clog.txt,2.85 KB, text/plain)
2007-02-16 20:17 UTC, Sergey Anufrienko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Anufrienko 2007-02-16 20:09:36 UTC
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 16 Feb 2007 01:58:01 +0000
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=i586 -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i586 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bash-completion berkdb bzip2 cli cracklib crypt cups dlloader dynamicplugin extensions fortran gd gdbm gpm hash iconv ithreads libg++ lm_sensors mbox midi mmx multiuser mysql mysqli ncurses nls nosendmail nptl nptlonly nvidia pam pcre perl pmu ppds pppd python readline reflection reiserfs samba session sguil soap spl ssl symlink tcltk tcpd timestats unicode x86 xinetd xmlreader xmlwriter xorg xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1. emerge crossdev
2. crossdev arm-iwmmxt-linux-gnueabi



Expected Results:  
emerged gcc stage2 for the above architecture

Source file causing a segfault:
#include "config.h"
#include "kinds.inc"
#include "c99_protos.inc"
#if defined (HAVE_GFC_INTEGER_8)
elemental function specific__mod_i8 (p1, p2)
   integer (kind=8), intent (in) :: p1, p2
   integer (kind=8) :: specific__mod_i8
   specific__mod_i8 = mod (p1, p2)
end function
#endif
Comment 1 Sergey Anufrienko 2007-02-16 20:17:44 UTC
Created attachment 110414 [details]
compilation log (end)
Comment 2 SpanKY gentoo-dev 2007-02-17 00:08:36 UTC
just disable fortran support then
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2009-01-05 16:29:29 UTC
Mike, do you mind adding this patch to gcc-4.1.2? http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.2.4/gentoo/36_all_gcc-arm-pr30486.patch?rev=1.1&view=log

fortran is enabled by default on the arm profile

Thanks
Comment 4 SpanKY gentoo-dev 2009-01-28 01:02:59 UTC
mark has added it to 4.1.2