Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240249 - sys-devel/gcc-4.3.2 compile fails on libgomp
Summary: sys-devel/gcc-4.3.2 compile fails on libgomp
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 11:32 UTC by giovanni.bobbio
Modified: 2009-01-29 16:34 UTC (History)
2 users (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 giovanni.bobbio 2008-10-06 11:32:49 UTC
make[4]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.3.2/work/build/i686-pc-linux-gnu/libgomp'
makeinfo --split-size=5000000 --split-size=5000000  -I /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/../gcc/doc/include -I /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp -o libgomp.info /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/libgomp.texi
if /bin/sh ./libtool --tag=CC --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.2/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp -I.  -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux/x86 -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/posix -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp  -Wall -Werror -ftls-model=initial-exec -Wc,-pthread -O2 -g -O2 -march=native -pipe -W   -MT alloc.lo -MD -MP -MF ".deps/alloc.Tpo" -c -o alloc.lo /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/alloc.c; \
        then mv -f ".deps/alloc.Tpo" ".deps/alloc.Plo"; else rm -f ".deps/alloc.Tpo"; exit 1; fi
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.2/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.2/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp -I. -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux/x86 -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/posix -I/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp -Wall -Werror -pthread -ftls-model=initial-exec -O2 -g -O2 -march=native -pipe -W -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/alloc.c  -fPIC -DPIC -o .libs/alloc.o
cc1: warnings being treated as errors
In file included from /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/libgomp.h:50,
                 from /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/alloc.c:32:
/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux/sem.h: In function 'gomp_sem_destroy':
/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux/sem.h:56: error: unused parameter 'sem'
In file included from /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/libgomp.h:51,
                 from /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/alloc.c:32:
/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux/mutex.h: In function 'gomp_mutex_destroy':
/var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/libgomp/config/linux/mutex.h:59: error: unused parameter 'mutex'
make[4]: *** [alloc.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2/work/build/i686-pc-linux-gnu/libgomp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2/work/build/i686-pc-linux-gnu/libgomp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2/work/build/i686-pc-linux-gnu/libgomp'
make[1]: *** [all-target-libgomp] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.2/work/build'
make: *** [profiledbootstrap] Error 2
 *
 * ERROR: sys-devel/gcc-4.3.2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 4567:  Called toolchain_src_compile
 * environment, line 5083:  Called gcc_src_compile
 * environment, line 2930:  Called gcc_do_make
 * environment, line 2753:  Called die
 * The specific snippet of code:
 * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 * The die message:
 * emake failed with profiledbootstrap
 *


Reproducible: Always




Portage 2.2_rc11 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-glibc2.0
Timestamp of tree: Mon, 06 Oct 2008 10:05:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -W"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -march=native -pipe -W"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --reinstall changed-use --keep-going --jobs=2"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli connectionstatus contactnotes cracklib crypt cups curl dbus dri dvd dvdr dvdread emboss encode fam fontconfig gd gif git gnokii gpm hal hddtemp history iconv id3tag idn imap imlib ipod irc irda java javascript jpeg kde kdepim libnotify live lm_sensors mad matroska midi mjpeg mmx mmxext mp3 mpeg mudflap musicbrainz ncurses nls nowlistening nptl nptlonly nsplugin obex offensive ogg opengl openmp pam pcre pda pdf perl png pppd psyco python qt3 qt3support qt4 quicktime rdesktop readline real sdl sensord session sms spell spl srt sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs texteffect tiff truetype type1 unicode usb userlocales vcd vorbis webpresence wifi win32codecs x86 xcomposite xine xml xorg xosd xrandr xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-06 19:23:32 UTC
Does it build if you remove that `-W' from CFLAGS/CXXFLAGS? It doesn't appear to be a documented option to gcc...
Comment 2 giovanni.bobbio 2008-10-07 08:07:39 UTC
(In reply to comment #1)
> Does it build if you remove that `-W' from CFLAGS/CXXFLAGS? It doesn't appear
> to be a documented option to gcc...

Yes it does, well spotted.
Thank you