Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 126082
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Danny van Dyk (RETIRED) <kugelfang@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 126082 depends on: Show dependency tree
Bug 126082 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-13 14:40 0000
Both a straight USE="fortran" and a USE="fortran vanilla nopie" emerge gcc
don't
succeed on s390.

Error message is:
make[3]: Entering directory
`/var/tmp/portage/gcc-4.1.0/work/build/s390-ibm-linux-gnu/libgfortran'
/bin/sh /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libgfortran/mk-sik-inc.sh
'/var/tmp/portage/gcc-4.1.0/work/build/./gcc/gfortran
-B/var/tmp/portage/gcc-4.1.0/work/build/./gcc/ -B/usr/s390-ibm-linux-gnu/bin/
-B/usr/s390-ibm-linux-gnu/lib/ -isystem /usr/s390-ibm-linux-gnu/include
-isystem /usr/s390-ibm-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring ' > selected_int_kind.inc || rm selected_int_kind.inc
/bin/sh /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libgfortran/mk-srk-inc.sh
'/var/tmp/portage/gcc-4.1.0/work/build/./gcc/gfortran
-B/var/tmp/portage/gcc-4.1.0/work/build/./gcc/ -B/usr/s390-ibm-linux-gnu/bin/
-B/usr/s390-ibm-linux-gnu/lib/ -isystem /usr/s390-ibm-linux-gnu/include
-isystem /usr/s390-ibm-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring ' > selected_real_kind.inc || rm selected_real_kind.inc
/bin/sh /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libgfortran/mk-kinds-h.sh
'/var/tmp/portage/gcc-4.1.0/work/build/./gcc/gfortran
-B/var/tmp/portage/gcc-4.1.0/work/build/./gcc/ -B/usr/s390-ibm-linux-gnu/bin/
-B/usr/s390-ibm-linux-gnu/lib/ -isystem /usr/s390-ibm-linux-gnu/include
-isystem /usr/s390-ibm-linux-gnu/sys-include -I . -Wall -fno-repack-arrays
-fno-underscoring ' > kinds.h || rm kinds.h
grep '^#' < /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libgfortran/c99_protos.h
> c99_protos.inc
cp /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/libgfortran/config/fpu-glibc.h
fpu-target.h
grep '^#' < kinds.h > kinds.inc
/bin/sh: kinds.h: No such file or directory
make[3]: *** [kinds.inc] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gcc-4.1.0/work/build/s390-ibm-linux-gnu/libgfortran'
make[2]: *** [all-target-libgfortran] Error 2
make[2]: *** Waiting for unfinished jobs....

This is a major improvement compared to the failure of gcc-4.0.2 (ICE).

------- Comment #1 From Stefan Knoblich (RETIRED) 2006-03-17 07:42:09 0000 -------
same error on x86 (during stage3 build with catalyst2)

------- Comment #2 From SpanKY 2006-04-28 22:40:59 0000 -------
gfortran is being run by the mk-kinds-h.sh and in there it is ICE'ing (the
error message is just hid by the script as stderr is piped to /dev/null)

------- Comment #3 From David Gurvich 2006-05-05 21:08:53 0000 -------
Can confirm the same behaviour on ppc.  gfortran with gcc-4.1.0 compiled fine
with gcc-3.4.5, but then failed with gcc-4.1.0.

error message
----------------------------------------
creating libgfortran.la
(cd .libs && rm -f libgfortran.la && ln -s ../libgfortran.la libgfortran.la)
make[4]: Leaving directory
`/var/tmp/portage/gcc-4.1.0/work/build/powerpc-unknown-linux-gnu/libgfortran'
make[3]: Leaving directory
`/var/tmp/portage/gcc-4.1.0/work/build/powerpc-unknown-linux-gnu/libgfortran'
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.0/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.0/work/build'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-4.1.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  ebuild.sh, line 1237:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1466:   Called gcc_do_make
  toolchain.eclass, line 1340:   Called die

!!! emake failed with bootstrap-lean
---------------------------------------------------------------
emerge --info
---------------------------------------------------------------
Portage 2.1_pre9-r5 (default-linux/ppc/2005.0, gcc-4.1.0, glibc-2.3.6-r3,
2.6.16-gentoo-r5 ppc)
=================================================================
System uname: 2.6.16-gentoo-r5 ppc 7455, altivec supported
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.4.2
dev-util/ccache:     [Not Present]
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/eselect/compiler /etc/gconf
/etc/java-config/vms/ /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo
http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LC_ALL="en_US.UTF-8"
LINGUAS="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/java-experimental
/usr/local/overlays/migration-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac alsa altivec apache2 arts berkdb bidi bitmap-fonts bonobo bzip2
cairo cdda cdr cjk cli crypt cups curl dbus doc dri dvd dvdr dvdread eds emboss
esd fbcon ffmpeg flac foomaticdb fortran gcj gd gdbm ggi gif gnome gnutls gpm
gs gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6 isdnlog jack java
javascript jikes jpeg jpeg2k junit kde lcms libcaca libwww live mad mikmod mng
motif mozilla mp3 mpeg multislot ncurses nls nntp nptl nptlonly ogg oggvorbis
openal opengl oss pam pcre pdflib perl pic png ppds pppd python qt readline
reflection samba scanner sdl session slang smp snmp spell spl ssl stream t1lib
tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb
vorbis wmf x264 xcomposite xine xml xml2 xmms xorg xosd xprint xv xvid zlib
elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse
kernel_linux linguas_en_US userland_GNU video_cards_ati video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS

------- Comment #4 From SpanKY 2006-05-05 21:19:20 0000 -------
file a new bug

this bug is about the fact that mpfr fails on s390

------- Comment #5 From SpanKY 2006-05-05 21:24:57 0000 -------
seems Debian is seeing the samething:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363287
http://sympa.loria.fr/wwsympa/arc/mpfr/2006-04/msg00018.html

------- Comment #6 From SpanKY 2006-05-05 22:36:39 0000 -------
ok, with fixed mpfr now in portage, gcc-4.1.0 merged fine with fortan support

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug