Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145763 - crossdev: gcc sh4 failed because of outdated binutils-config
Summary: crossdev: gcc sh4 failed because of outdated binutils-config
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 13:50 UTC by ryo
Modified: 2006-08-31 14:47 UTC (History)
0 users

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


Attachments
cross-sh4-unknown-linux-gnu-gcc-stage1.log (cross-sh4-unknown-linux-gnu-gcc-stage1.log,243.81 KB, text/plain)
2006-08-31 13:51 UTC, ryo
Details
cross-sh4-unknown-linux-gnu-info.log (cross-sh4-unknown-linux-gnu-info.log,4.36 KB, text/plain)
2006-08-31 13:52 UTC, ryo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ryo 2006-08-31 13:50:51 UTC
hi ,

I'm trying to build a sh4 toolchain but it failed with gcc-latest and gcc-3.4.6-r4.
Binutils is ok.

Gentoo Base System version 1.12.4
Portage 2.1.1_rc1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 3200+
Last Sync: Wed, 30 Aug 2006 21:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/          ftp://mirror.switch.ch/mirror/gentoo/           ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/                 ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="fr_FR"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="fr fr_FR"
MAKEOPTS="-j5"
PKGDIR="/mnt/big/Linux/gentoo/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="x86 3dnow 3dnowext X a52 acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cd cdr cli crypt cups directfb divx4linux dlloader doc dri dvd dvdr dvdread elibc_glibc emboss encode fbcon ffmpeg firefox foomaticdb fortran freetype gdbm gif glitz gpm gstreamer gtk gtk2 i8x0 imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog joystick jpeg kernel_linux libg++ libwww linguas_fr linguas_fr_FR lirc_devices_devinput mad matroska mikmod mmx mmxext motif mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl svg symlink tcltk tcpd theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l video_cards_fbdev video_cards_none video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vga video_cards_vmware vorbis win32codecs wxwindows xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

it fail with :
/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/build/gcc/xgcc -B/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/build/gcc/ -B/usr/sh4-unknown-linux-gnu/bin/ -B/usr/sh4-unknown-linux-gnu/lib/ -isystem /usr/sh4-unknown-linux-gnu/include -isystem /usr/sh4-unknown-linux-gnu/sys-include -fno-stack-protector -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc -I/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/. -I/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/../include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  -fPIC \
  -Dinhibit_libc -c /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
  -o crtendS.o
as: option non reconnue 
Comment 1 ryo 2006-08-31 13:50:51 UTC
hi ,

I'm trying to build a sh4 toolchain but it failed with gcc-latest and gcc-3.4.6-r4.
Binutils is ok.

Gentoo Base System version 1.12.4
Portage 2.1.1_rc1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 3200+
Last Sync: Wed, 30 Aug 2006 21:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/          ftp://mirror.switch.ch/mirror/gentoo/           ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/                 ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="fr_FR"
LC_ALL="fr_FR@euro"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="fr fr_FR"
MAKEOPTS="-j5"
PKGDIR="/mnt/big/Linux/gentoo/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="x86 3dnow 3dnowext X a52 acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cd cdr cli crypt cups directfb divx4linux dlloader doc dri dvd dvdr dvdread elibc_glibc emboss encode fbcon ffmpeg firefox foomaticdb fortran freetype gdbm gif glitz gpm gstreamer gtk gtk2 i8x0 imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog joystick jpeg kernel_linux libg++ libwww linguas_fr linguas_fr_FR lirc_devices_devinput mad matroska mikmod mmx mmxext motif mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl svg symlink tcltk tcpd theora threads truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l video_cards_fbdev video_cards_none video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vga video_cards_vmware vorbis win32codecs wxwindows xine xml xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

it fail with :
/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/build/gcc/xgcc -B/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/build/gcc/ -B/usr/sh4-unknown-linux-gnu/bin/ -B/usr/sh4-unknown-linux-gnu/lib/ -isystem /usr/sh4-unknown-linux-gnu/include -isystem /usr/sh4-unknown-linux-gnu/sys-include -fno-stack-protector -O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc -I/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/. -I/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/../include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time  -fPIC \
  -Dinhibit_libc -c /var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
  -o crtendS.o
as: option non reconnue « -little »
make[1]: *** [crtbegin.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
as: option non reconnue « -little »
make[1]: *** [crtendS.o] Erreur 1
as: option non reconnue « -little »
make[1]: *** [crtbeginS.o] Erreur 1
as: option non reconnue « -little »
make[1]: *** [crtbeginT.o] Erreur 1
as: option non reconnue « -little »
make[1]: *** [crtend.o] Erreur 1
rm gcc.pod
make[1]: Leaving directory `/var/tmp/cross/sh4-unknown-linux-gnu/portage/gcc-3.4.6-r2/work/build/gcc'
make: *** [all-gcc] Erreur 2

!!! ERROR: cross-sh4-unknown-linux-gnu/gcc-3.4.6-r2 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 1252:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1528:   Called gcc_do_make
  toolchain.eclass, line 1402:   Called die

Sorry , i'd like to add an attachment but don't know how :`)
Comment 2 ryo 2006-08-31 13:51:59 UTC
Created attachment 95580 [details]
cross-sh4-unknown-linux-gnu-gcc-stage1.log
Comment 3 ryo 2006-08-31 13:52:25 UTC
Created attachment 95581 [details]
cross-sh4-unknown-linux-gnu-info.log
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-31 13:57:06 UTC
Please, set your locales to C when reporting bugs.
Comment 5 ryo 2006-08-31 14:22:58 UTC
(In reply to comment #3)
> Please, set your locales to C when reporting bugs.
> 

oop ... ok , sorry.
will it be ok or do i need to make a new one ?
Comment 6 SpanKY gentoo-dev 2006-08-31 14:47:36 UTC
it doesnt matter in this case ... just run:
emerge sync
crossdev -C sh4-unknown-linux-gnu
crossdev sh4-unknown-linux-gnu