Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-lang/python-2.4.1-r1 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Tue Sep 27, 2005 11:52 pm    Post subject: dev-lang/python-2.4.1-r1 failed Reply with quote

does anyone know why this is failing to compile?


error:
Code:
86-pc-linux-gnu-gcc -pthread' LDSHARED='i686-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -O3 -march=pentium4 -mtune=pentium4 -pipe -fforce-addr -falign-functions=4 -fomit-frame-pointer -ffast-math -mfpmath=sse -msse2 -mmmx' ./python -E ./setup.py -q build;; \
*) LD_LIBRARY_PATH=/var/tmp/portage/python-2.4.1-r1/work/Python-2.4.1: CC='i686-pc-linux-gnu-gcc -pthread' LDSHARED='i686-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -O3 -march=pentium4 -mtune=pentium4 -pipe -fforce-addr -falign-functions=4 -fomit-frame-pointer -ffast-math -mfpmath=sse -msse2 -mmmx' ./python -E ./setup.py build;; \
esac
/bin/sh: line 1: 29363 Segmentation fault      LD_LIBRARY_PATH=/var/tmp/portage/python-2.4.1-r1/work/Python-2.4.1: CC='i686-pc-linux-gnu-gcc -pthread' LDSHARED='i686-pc-linux-gnu-gcc -pthread -shared' OPT='-DNDEBUG -O3 -march=pentium4 -mtune=pentium4 -pipe -fforce-addr -falign-functions=4 -fomit-frame-pointer -ffast-math -mfpmath=sse -msse2 -mmmx' ./python -E ./setup.py build
make: *** [sharedmods] Error 139

!!! ERROR: dev-lang/python-2.4.1-r1 failed.
!!! Function src_compile, Line 166, Exitcode 2
!!! Parallel make failed
!!! If you need support, post the topmost build error, NOT this status message.


emerge info:
Code:
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-4.0.1, glibc-2.3.5.20050722-r0, 2.6.14-rc1-vivid2 i686)
=================================================================
System uname: 2.6.14-rc1-vivid2 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.59-r7
sys-devel/automake:  1.6.3
sys-devel/binutils:  2.16.91.0.3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -ftracer -ffast-math -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -mtune=pentium4 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -ftracer -ffast-math -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl directfb eds emboss encode esd flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit kde libg++ libwww mad mikmod motif mp3 mpeg nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS

_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
danoz
n00b
n00b


Joined: 30 Sep 2005
Posts: 1

PostPosted: Fri Sep 30, 2005 5:39 am    Post subject: Reply with quote

im having the same problem. its related to gcc 4.0.1 and the CFLAG -fomit-frame-pointer.

if you remove that CFLAG it should compile fine, i have logged a bug for it.

https://bugs.gentoo.org/show_bug.cgi?id=107673
Back to top
View user's profile Send private message
Tucker
n00b
n00b


Joined: 01 Oct 2003
Posts: 28
Location: Cottbus (Germany)

PostPosted: Wed Nov 09, 2005 3:54 am    Post subject: Reply with quote

Thanks, danoz.

That works for me.

Tucker
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum