Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153708 - [4.1/gcc] arm cross compiler ICEs while building kernel with -O1
Summary: [4.1/gcc] arm cross compiler ICEs while building kernel with -O1
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR29686
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 09:20 UTC by Daren Hayward
Modified: 2009-01-03 19:21 UTC (History)
0 users

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


Attachments
Output from internal compiler failure (ccP87sfn.out,322.71 KB, text/plain)
2006-11-01 09:22 UTC, Daren Hayward
Details
Kernel configuration file used (.config,20.97 KB, text/plain)
2006-11-01 09:26 UTC, Daren Hayward
Details
ice.i (ice.i,271 bytes, text/plain)
2006-11-01 18:57 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daren Hayward 2006-11-01 09:20:52 UTC
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 3.00GHz
Gentoo Base System version 1.12.5
Last Sync: Thu, 26 Oct 2006 03:00:03 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distcc distlocks metadata-transfer moo sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j41"
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://nx01/gentoo-portage"
USE="X acl acpi alsa apache2 apm arts bash-completion berkdb bitmap-fonts bluetooth browserplugin bzip2 cgi cli cracklib crypt cups curl directfb dlloader dri eds elibc_glibc emboss encode esd ethereal expat fbcon firefox foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 icq imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kerberos kernel_linux ldap libg++ libwww linguas_en_GB mad mikmod mmx motif mp3 mpeg msn mysql ncurses nls nptl nptlonly nsplugin ogg opengl oscar oss pam pcre perl png pppd pthreads python qt3 qt4 quicktime readline reflection ruby samba scanner sdl session slang slp snmp spell spl ssl svga symlink tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_mach64 vorbis x86 xinerama xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

arm-unknown-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1-r1)

include/asm/arch/io.h: In function 'imu_dev_init':
include/asm/arch/io.h:43: internal compiler error: Segmentation fault

I was building a kernel using the arm crosscompiler that I created using crossdev arm.
Comment 1 Daren Hayward 2006-11-01 09:22:30 UTC
Created attachment 100973 [details]
Output from internal compiler failure
Comment 2 Daren Hayward 2006-11-01 09:26:57 UTC
Created attachment 100974 [details]
Kernel configuration file used

The kernel was patched with the following file first

http://prdownloads.sourceforge.net/xscaleiop/patches-2.6.18-iop3.tar.gz?download

patched using 

patch -p1 < patch-2.6.18-iop3
Comment 3 SpanKY gentoo-dev 2006-11-01 18:57:22 UTC
Created attachment 101024 [details]
ice.i

reduced test case
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2009-01-03 19:21:49 UTC
The 4.1 branch is closed upstream.  Use a newer version of gcc.