Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119716 - WengoPhone-1.0_pre20060106 fails to compile correctly with pic support
Summary: WengoPhone-1.0_pre20060106 fails to compile correctly with pic support
Status: RESOLVED DUPLICATE of bug 104966
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 11:39 UTC by Mike Auty (RETIRED)
Modified: 2006-01-20 12:43 UTC (History)
1 user (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 Mike Auty (RETIRED) gentoo-dev 2006-01-20 11:39:08 UTC
Hi, attempting to emerge wengophone-1.0_pre20060106 fails with the following output:


gcc -g -Wall -O3 -Wno-switch -DHAVE_AV_CONFIG_H= -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE= -D_LARGEFILE_SOURCE= -Ibuild-wengo/linux2-debug/libs/ffmpeg/libavutil -Ibuild-wengo/linux2-debug/libs/ffmpeg -c -o build-wengo/linux2-debug/libs/ffmpeg/libavcodec/msmpeg4.os build-wengo/linux2-debug/libs/ffmpeg/libavcodec/msmpeg4.c
build-wengo/linux2-debug/libs/ffmpeg/libavcodec/msmpeg4.c: In function `msmpeg4_encode_dc':
build-wengo/linux2-debug/libs/ffmpeg/libavcodec/msmpeg4.c:729: error: can't find a register in class `BREG' while reloading `asm'
build-wengo/linux2-debug/libs/ffmpeg/libavcodec/msmpeg4.c: At top level:
build-wengo/linux2-debug/libs/ffmpeg/libavutil/rational.h:41: warning: 'av_cmp_q' defined but not used
build-wengo/linux2-debug/libs/ffmpeg/libavutil/rational.h:51: warning: 'av_q2d' defined but not used
scons: *** [build-wengo/linux2-debug/libs/ffmpeg/libavcodec/msmpeg4.os] Error 1
scons: building terminated because of errors.

!!! ERROR: net-im/wengophone-1.0_pre20060106 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! scons failed
!!! If you need support, post the topmost build error, NOT this status message.


From searching on the web, it appears this is related to the fact that I run with pic, pie and hardened USE flags, and means that a register gets used improperly for pic code.  Hope this helps...


Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.16-rc1 i686)
=================================================================
System uname: 2.6.16-rc1 i686 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre14
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache cvs distlocks parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 100dpi 3dnow 75dpi X aac aalib acl acpi adns alsa animation ao asf audiofile avi bash-completion berkdb bitmap-fonts boundschecking bzip2 cairo ccache cdr cjk client crypt cups dbus djvu dlloader dpms dri dvd dvdr dvi eds emboss encode ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glade glitz glut gnome gnuplot gnutls graphviz gstreamer gtk gtk2 gtkhtml hal hardened idn imagemagick imap imlib java jpeg junit lcms ldap libg++ libwww lua mad maildir mbox mikmod mime mmx mmxext mng mozsvg mp3 mpeg ncurses nls nntp nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl pic pie plot png pop3 postgres python quicktime readline real sdl server snmp speex spell sqlite sse sse2 ssl svg t1lib tcpd theora tiff truetype truetype-fonts type1 type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs xine xml2 xrandr xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Mike Auty (RETIRED) gentoo-dev 2006-01-20 11:39:46 UTC
Sorry, I'll just update the summary to reflect what I found on the web.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-20 12:40:43 UTC
Well, you'd rather switch your profile to hardened to handle such stuff properly, instead of forcing hardened/pic/pie use flags... Otherwise looks like yet another variation of Bug 104966.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-01-20 12:43:02 UTC
duplicate, because wengophone includes ffmpeg

*** This bug has been marked as a duplicate of 104966 ***