Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163591 - problem with compilation of bash using gcc-4.1.1
Summary: problem with compilation of bash using gcc-4.1.1
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-24 13:29 UTC by Seweryn Habdank-Wojewodzki
Modified: 2007-01-24 13:43 UTC (History)
1 user (show)

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 Seweryn Habdank-Wojewodzki 2007-01-24 13:29:05 UTC
Hi

Bash do not want to compile using gcc-4.1.1




Reproducible: Always

Steps to Reproduce:
1. procede like on the web page http://www.gentoo.org/doc/en/gcc-upgrading.xml
2.
3.

Actual Results:  
i686-pc-linux-gnu-gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -march=i686 -O2 -pipe -s -msse -c unwind_prot.c
unwind_prot.c: In function `unwind_protect_mem_internal':
unwind_prot.c:301: error: syntax error before "UNWIND_ELT"
distcc[3452] ERROR: compile unwind_prot.c on 192.168.0.254 failed
make: *** [unwind_prot.o] Błąd 1

!!! ERROR: app-shells/bash-3.1_p17 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  bash-3.1_p17.ebuild, line 111:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info

Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm)  2600+
Gentoo Base System version 1.12.6
Last Sync: Mon, 22 Jan 2007 18:50:01 +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: 2.0.30
dev-lang/python:     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.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"

By the way: in my make.conf file I have:
ACCEPT_KEYWORDS=""

AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -s -msse"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -O2 -pipe -s -msse"
DISTDIR="/mnt/storage/portage/distfiles"
FEATURES="autoconfig buildpkg distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" http://distfiles.gentoo.org  http://www.ibiblio.org/pub/Linux/distributions/gentoo  ftp://mirror.switch.ch/mirror/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j8"
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="/mnt/storage/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 aac aalib acl acpi addbookmarks akode allegro alsa alsa_cards_emu10k1 alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amarok amd amr amrr amuled ao aotuv apache2 apm applet arts artswrappersuid artworkextra async atlas audacious audiofile autoconf automount avahi avi bash-completion bcp beagle berkdb bidi bittorrent bjam bl blas bluetooth bonjour bonobo bookmarks bootsplash bzip2 c++ caps cardbus catalogs ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cgi chm chroot cis cjk clamd cle266 cli config_wizard connectionstatus cpudetection cracklib crypt css ctype cups curl cvs cyrus daap dar32 dba dbase dbcp dbi dbus dbx dcc dga dhcp dio directfb djvu dlloader dlopen dmi dnd doc double-precision dpms dri dts dv dvb dvd dvdr dvdread dvi eap-tls eds effects elibc_glibc emacs emboss encode epiphany epson esd ethereal evo evolution examples exif expat extensions extramodules fam fame fastbuild fastcgi fat fax festival ffmpeg fftw firefox flac flash font-server foomaticdb force-cgi-redirect fortran fpx frascend freetds ftp fuse gadu gaim gb gcj gd gdbm gif gimp gimpprint gkrellm glade glut gmp gnome gnome-print gnomecanvas gnomedb gnuplot gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gtk2 gtkhtml gtkspell guile gvim gzip h323 hal haskel hfs higlight history howl html i8x0 ibam icecast iconv id3 idn ieee1394 image imagemagick imap imlib imlib2 inkjar input_device_mouse input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics iproute2 ipsec ipv6 irda irmc isdnlog jpeg jpeg2k jta kcal kde kdeenablefinal kdepim kerberos kernel_linux kexi kipi ladcca ladspa lame lash latex lcd lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms ldap libg++ libgda libnotify libsamplerate libvisual libwww linguas_en linguas_pl lirc lirc_devices_serial live lm_sensors logrotate logwatch lpr ltsp lzo lzw lzw-tiff mad madwifi mail maildir math mdb memlimit mikmod mime ming mjpeg mmx mng mono motif mouse mozcalendar mozdevelop mozsvg mp3 mp4 mp4live mpd-mad mpeg mpeg2 mpi mplayer mpm-worker msdfs mssql muine musepack music musicbrainz mythtv nas nautilus ncurses net network nfs nls nntp nojoystick notify nptl nptlonly nsplugin ntfs numarray numeric odbc ode ogg openal opengl openssh openssl oss pam pango pcmcia pcre pda pdf pdflib perl php player png pnp portaudio posix postgres postgress povray ppds pppd pyste python pyzor qt qt3 qt4 quicktime radius rar razor rdesktop readline real reflection reiser4 reiserfs rhythmbox rss samba sametime sasl scanner screen sdk sdl search sensord server servlet session sftp shaper shared shout simplexml slang slp sms sndfile soap sockets sound spamassassin speech spell spl sql sqlite sqlite3 sse ssl stream struts subversion svg svgz sysfs tabs tcl tcltk tcpd tetex texteffect theora thesaurus threads tiff tk tokenizer tools totem transcode truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU userlocales utf8 v4l v4l2 vdr verbose vfat video_cards_fbdev video_cards_frglx video_cards_i810 video_cards_radeon video_cards_vesa vim vim-pager vim-with-x visualization vlm vnc voice vorbis webdav widescreen wifi win32codecs winpopup wma wma123 wmf wv x264 x86 xcomposite xerces xface xforms xfs xft xine xml xml2 xmlrpc xorg xpm xscreenserver xsl xv xvid xvmc yaepg yp yv12 zeroconf zip zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Seweryn Habdank-Wojewodzki 2007-01-24 13:29:35 UTC
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm)  2600+
Gentoo Base System version 1.12.6
Last Sync: Mon, 22 Jan 2007 18:50:01 +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: 2.0.30
dev-lang/python:     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.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="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -s -msse"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -O2 -pipe -s -msse"
DISTDIR="/mnt/storage/portage/distfiles"
FEATURES="autoconfig buildpkg distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS=" http://distfiles.gentoo.org  http://www.ibiblio.org/pub/Linux/distributions/gentoo  ftp://mirror.switch.ch/mirror/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
MAKEOPTS="-j8"
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="/mnt/storage/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 aac aalib acl acpi addbookmarks akode allegro alsa alsa_cards_emu10k1 alsa_cards_via82xx alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amarok amd amr amrr amuled ao aotuv apache2 apm applet arts artswrappersuid artworkextra async atlas audacious audiofile autoconf automount avahi avi bash-completion bcp beagle berkdb bidi bittorrent bjam bl blas bluetooth bonjour bonobo bookmarks bootsplash bzip2 c++ caps cardbus catalogs ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cgi chm chroot cis cjk clamd cle266 cli config_wizard connectionstatus cpudetection cracklib crypt css ctype cups curl cvs cyrus daap dar32 dba dbase dbcp dbi dbus dbx dcc dga dhcp dio directfb djvu dlloader dlopen dmi dnd doc double-precision dpms dri dts dv dvb dvd dvdr dvdread dvi eap-tls eds effects elibc_glibc emacs emboss encode epiphany epson esd ethereal evo evolution examples exif expat extensions extramodules fam fame fastbuild fastcgi fat fax festival ffmpeg fftw firefox flac flash font-server foomaticdb force-cgi-redirect fortran fpx frascend freetds ftp fuse gadu gaim gb gcj gd gdbm gif gimp gimpprint gkrellm glade glut gmp gnome gnome-print gnomecanvas gnomedb gnuplot gphoto2 gpm graphviz gs gsl gsm gstreamer gtk gtk2 gtkhtml gtkspell guile gvim gzip h323 hal haskel hfs higlight history howl html i8x0 ibam icecast iconv id3 idn ieee1394 image imagemagick imap imlib imlib2 inkjar input_device_mouse input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics iproute2 ipsec ipv6 irda irmc isdnlog jpeg jpeg2k jta kcal kde kdeenablefinal kdepim kerberos kernel_linux kexi kipi ladcca ladspa lame lash latex lcd lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text lcms ldap libg++ libgda libnotify libsamplerate libvisual libwww linguas_en linguas_pl lirc lirc_devices_serial live lm_sensors logrotate logwatch lpr ltsp lzo lzw lzw-tiff mad madwifi mail maildir math mdb memlimit mikmod mime ming mjpeg mmx mng mono motif mouse mozcalendar mozdevelop mozsvg mp3 mp4 mp4live mpd-mad mpeg mpeg2 mpi mplayer mpm-worker msdfs mssql muine musepack music musicbrainz mythtv nas nautilus ncurses net network nfs nls nntp nojoystick notify nptl nptlonly nsplugin ntfs numarray numeric odbc ode ogg openal opengl openssh openssl oss pam pango pcmcia pcre pda pdf pdflib perl php player png pnp portaudio posix postgres postgress povray ppds pppd pyste python pyzor qt qt3 qt4 quicktime radius rar razor rdesktop readline real reflection reiser4 reiserfs rhythmbox rss samba sametime sasl scanner screen sdk sdl search sensord server servlet session sftp shaper shared shout simplexml slang slp sms sndfile soap sockets sound spamassassin speech spell spl sql sqlite sqlite3 sse ssl stream struts subversion svg svgz sysfs tabs tcl tcltk tcpd tetex texteffect theora thesaurus threads tiff tk tokenizer tools totem transcode truetype truetype-fonts type1-fonts ucs2 udev unicode usb userland_GNU userlocales utf8 v4l v4l2 vdr verbose vfat video_cards_fbdev video_cards_frglx video_cards_i810 video_cards_radeon video_cards_vesa vim vim-pager vim-with-x visualization vlm vnc voice vorbis webdav widescreen wifi win32codecs winpopup wma wma123 wmf wv x264 x86 xcomposite xerces xface xforms xfs xft xine xml xml2 xmlrpc xorg xpm xscreenserver xsl xv xvid xvmc yaepg yp yv12 zeroconf zip zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-24 13:36:24 UTC
Please don't select the Developer Relations product when filing bugs.
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2007-01-24 13:40:37 UTC
(In reply to comment #0)
> unwind_prot.c: In function `unwind_protect_mem_internal':
> unwind_prot.c:301: error: syntax error before "UNWIND_ELT"
> distcc[3452] ERROR: compile unwind_prot.c on 192.168.0.254 failed
> make: *** [unwind_prot.o] Błąd 1
> 

If you actually take the time to read the error message it says that compiling on this remove machine failed. I would guess that 192.168.0.254 does not the same version of gcc in use which does not work. If this is not the case then reopen.
http://www.gentoo.org/doc/en/distcc.xml#doc_chap5
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-01-24 13:43:21 UTC
Also if you actually take the time to read the gcc upgrade guide:
5. Common Pitfalls

It's important to disable distcc during upgrade. Mixing compiler versions on your nodes will cause build issues.