Ticket #401 (closed defect: invalid)

Opened 10 years ago

Last modified 10 years ago

paludis-0.24.6 fails to build with gcc 4.2.2

Reported by: jdaluz Owned by: ciaranm
Priority: Sometime Milestone:
Component: clients/paludis Version: 0.24.6
Keywords: Cc:
Blocked By: Blocking:


I wasn't certain whether this bug should be filed with Gentoo or Paludis, so I am starting here and will open one on Gentoo bugzilla if this is the wrong place.

Yesterday I updated gcc from 4.2.1 to 4.2.2 and rebuilt the toolchain twice, system and world. paludis itself failed to build this time:

x86_64-pc-linux-gnu-g++ -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I. -I../.. -I../.. -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunused-function -Wshadow -pedantic -Wno-old-style-cast -march=k8 -O2 -pipe -ggdb -msse3 -MT output_wrapper.o -MD -MP -MF .deps/output_wrapper.Tpo -c -o output_wrapper.o output_wrapper.cc pstream.cc:186: internal compiler error: in reference_to_unused, at dwarf2out.c:10010 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. mv -f .deps/output_wrapper.Tpo .deps/output_wrapper.Po /bin/sh ../../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -I../.. -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunused-function -Wshadow -pedantic -Wno-old-style-cast -march=k8 -O2 -pipe -ggdb -msse3 -o outputwrapper output_wrapper.o x86_64-pc-linux-gnu-g++ -I../.. -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunused-function -Wshadow -pedantic -Wno-old-style-cast -march=k8 -O2 -pipe -ggdb -msse3 -o outputwrapper output_wrapper.o mv -f .deps/strip.Tpo .deps/strip.Plo Preprocessed source stored into /var/tmp/paludis/sys-apps/paludis-0.24.6/tempccFQt7i6.out file, please attach this to your bugreport. make[6]: * [pstream.lo] Error 1 make[6]: * Waiting for unfinished jobs.... mv -f .deps/system.Tpo .deps/system.Plo make[6]: Leaving directory `/var/tmp/paludis/sys-apps/paludis-0.24.6/work/paludis-0.24.6/paludis/util' make[5]: * [all-recursive] Error 1 make[5]: Leaving directory `/var/tmp/paludis/sys-apps/paludis-0.24.6/work/paludis-0.24.6/paludis/util' make[4]: * [all] Error 2 make[4]: Leaving directory `/var/tmp/paludis/sys-apps/paludis-0.24.6/work/paludis-0.24.6/paludis/util' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/paludis/sys-apps/paludis-0.24.6/work/paludis-0.24.6/paludis' make[2]: * [all] Error 2 make[2]: Leaving directory `/var/tmp/paludis/sys-apps/paludis-0.24.6/work/paludis-0.24.6/paludis' make[1]: * [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/sys-apps/paludis-0.24.6/work/paludis-0.24.6' make: * [all] Error 2

!!! ERROR in sys-apps/paludis-0.24.6: !!! In src_compile at line 3393 !!! emake failed

I am attaching the .out file referenced above. The last time I successfully built paludis was when I updated gcc to 4.2.1 a week ago and did the same toolchain/system/world rebuild.

Portage (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo x86_64) ================================================================= System uname: 2.6.23-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ Timestamp of tree: Fri, 12 Oct 2007 01:50:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc5 sys-apps/sandbox: sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--ask --verbose --nospinner" FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS=" http://gentoo.osuosl.org/  http://distro.ibiblio.org/pub/linux/distributions/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120" 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 --filter=H_/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/xeffects /usr/portage/local/layman/vmware /usr/local/overlays/myoverlay" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


ccFQt7i6.out.tar.gz Download (113.5 KB) - added by jdaluz 10 years ago.
Preprocessed source .out file

Change History

comment:1 Changed 10 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to invalid

Sorry, we can't do anything about broken toolchains. This is either a Gentoo bug or a GCC bug.

Changed 10 years ago by jdaluz

Preprocessed source .out file

comment:3 Changed 10 years ago by jdaluz

FYI, gcc-4.2.3 fixes the problem with compiling paludis with -g.

Note: See TracTickets for help on using tickets.