Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186311 - sys-apps/coreutils-6.9-r1 failed with gcc-4.2.0 w/-fopenmp
Summary: sys-apps/coreutils-6.9-r1 failed with gcc-4.2.0 w/-fopenmp
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-23 09:23 UTC by Alexey Shvetsov
Modified: 2007-07-25 11:42 UTC (History)
1 user (show)

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


Attachments
build log (build.log,107.75 KB, text/plain)
2007-07-23 09:24 UTC, Alexey Shvetsov
Details
config log gz (config.log.gz,55.94 KB, application/octet-stream)
2007-07-25 11:21 UTC, Alexey Shvetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2007-07-23 09:23:15 UTC
sys-apps/coreutils-6.9-r1 failed with gcc-4.2.0
i tryed it with two versions of binutils 2.17 2.17.50.17 both failed

Reproducible: Always
Comment 1 Alexey Shvetsov archtester gentoo-dev 2007-07-23 09:24:49 UTC
Created attachment 125733 [details]
build log
Comment 2 Alexey Shvetsov archtester gentoo-dev 2007-07-23 09:25:26 UTC
meduza ~ # emerge --info
Portage 2.1.3_rc8 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r1 x86_64 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 2.0.0_alpha4
Timestamp of tree: Sun, 22 Jul 2007 22:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.17
sys-devel/gcc-config: 1.4.0
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -ftree-vectorize -fopenmp -msse -msse2 -msse3 -mfpmath=sse"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -ftree-vectorize -fopenmp -msse -msse2 -msse3 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://192.168.0.19/gentoo ftp://192.168.0.25/gentoo ftp://192.168.0.30/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="ru en"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/kde /usr/portage/local/layman/enlightenment /usr/portage/local/layman/xeffects /usr/portage/local/layman/xen /usr/local/portage"
SYNC="rsync://192.168.0.30/gentoo-portage"
USE="7zip X acl acpi alsa amd64 bash-completion berkdb bitmap-fonts blas branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo expat fam fftw firefox fortran gdbm gif gmp gpm gstreamer gtk hal iconv ioemu iproute2 isdnlog ithreads jpeg kde ldap libg++ mad midi mikmod mmx mng mp3 mpeg mudflap ncurses newspr nls nptl nptlonly ogg openexr opengl openmp oss pam pch pcre pdf perl pertty png pppd profile pygrub python qt3 qt3support qt4 quicktime readline reflection samba screen sdl session slang spell spl sqlite sqlite3 sse sse2 ssl svg symlink tcpd tiff truetype truetype-fonts type1-fonts ucs2 unicode urandom utempter vorbis xattr xcb xine xml xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-07-23 09:54:58 UTC
Try with sane CFLAGS.  march implies mtune, so need to double it.  -O3 is discouraged on GCC 4, so try -O2.  And I am even a 100% sure msseX are enabled by the march flag.
Comment 4 Alexey Shvetsov archtester gentoo-dev 2007-07-23 10:09:34 UTC
(In reply to comment #3)
> Try with sane CFLAGS.  march implies mtune, so need to double it.  -O3 is
> discouraged on GCC 4, so try -O2.  And I am even a 100% sure msseX are enabled
> by the march flag.
> 

I've changed cflags ... but result is the same =(
I have five systems with gcc-4.1.2 compiled with the same cflags but without -fopenmp since this flag doesn't exists in gcc-4.1.2 and all of them works fine =)
Comment 5 SpanKY gentoo-dev 2007-07-23 17:17:25 UTC
your configure failed to detect librt properly ... post the config.log as an attachment

/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9/config.log
Comment 6 Alexey Shvetsov archtester gentoo-dev 2007-07-25 11:21:58 UTC
Created attachment 125962 [details]
config log gz

conig log attached

thank you for patience =)
Comment 7 Alexey Shvetsov archtester gentoo-dev 2007-07-25 11:22:22 UTC
Reopened =)
Comment 8 SpanKY gentoo-dev 2007-07-25 11:42:28 UTC
your -fopenmp CFLAG is screwing things up, remove it