Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186316 - dev-lang/python-2.4.4-r4 failed with gcc-4.2.0 and -fopenmp
Summary: dev-lang/python-2.4.4-r4 failed with gcc-4.2.0 and -fopenmp
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 325771 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-23 09:53 UTC by Alexey Shvetsov
Modified: 2010-06-26 21:42 UTC (History)
3 users (show)

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


Attachments
build log (build.log,46.59 KB, text/plain)
2007-07-23 09:54 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:53:42 UTC
dev-lang/python-2.4.4-r4 failed with gcc-4.2.0

Reproducible: Always
Comment 1 Alexey Shvetsov archtester gentoo-dev 2007-07-23 09:54:09 UTC
Created attachment 125734 [details]
build log
Comment 2 Alexey Shvetsov archtester gentoo-dev 2007-07-23 09:54:28 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:56:00 UTC
Same as in bug 186311, additional note: -mfpmath=sse is enabled by default on x86_64.
Comment 4 Alexey Shvetsov archtester gentoo-dev 2007-07-23 10:10:03 UTC
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 Samuli Suominen (RETIRED) gentoo-dev 2007-07-23 10:36:42 UTC
It almost looks like an -Wl,--as-needed issue if I wasn't 99,99% sure it builds with it.

Anyways.. remove *all* LDFLAGS, try again.
Comment 6 Alexey Shvetsov archtester gentoo-dev 2007-07-23 11:32:41 UTC
(In reply to comment #5)
> It almost looks like an -Wl,--as-needed issue if I wasn't 99,99% sure it builds
> with it.
> 
> Anyways.. remove *all* LDFLAGS, try again.
> 

I've removed ldflags but result is the same =(
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2007-07-23 12:38:53 UTC
Even after disabling ccache?
Comment 8 Alexey Shvetsov archtester gentoo-dev 2007-07-23 12:45:40 UTC
(In reply to comment #7)
> Even after disabling ccache?
> 

Ccache was disabled =)
Loks like this problem related to -fopenmp 
but other apps builds fine with -fopenmp ( emerge -e system was done )
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-08-20 20:08:44 UTC
(In reply to comment #8)
> Loks like this problem related to -fopenmp 
> but other apps builds fine with -fopenmp ( emerge -e system was done )

Don't set stupid global C[XX]FLAGS, thanks. 

Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-06-26 21:42:42 UTC
*** Bug 325771 has been marked as a duplicate of this bug. ***