Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169513 - dev-libs/DirectFB-extra-0.9.25 fails to compile on amd64 with USE=mmx
Summary: dev-libs/DirectFB-extra-0.9.25 fails to compile on amd64 with USE=mmx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 171582
Blocks:
  Show dependency tree
 
Reported: 2007-03-05 21:31 UTC by Walter Meinl
Modified: 2007-10-01 15:08 UTC (History)
1 user (show)

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


Attachments
log of unsuccsesful try (dev-libs:DirectFB-extra-0.9.25:20070305-210629.log,40.30 KB, text/plain)
2007-03-05 21:32 UTC, Walter Meinl
Details
remove the interfaces/IDirectFBVideoProvider/video_out_dfb/Makefile.in part of the 0.9.25 patch (DirectFB-extra-1.0.0.diff,623 bytes, patch)
2007-03-20 19:25 UTC, Walter Meinl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Meinl 2007-03-05 21:31:15 UTC
after upgrade to gcc-4.1.2 I'm not able to compile DirectFB-extra-0.9.25 with USE=mmx
complete log will be attached in a second
USE=-mmx compiles fine however

Reproducible: Always



Expected Results:  
should compile, on x86 march=pentium4 I don't see problems

 emerge --info                                               
Portage 2.1.2.1 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 05 Mar 2007 17:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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 /var/bind /var/service"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://merkur.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
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/gnome-experimental /usr/portage/local/layman/lila-theme /usr/portage/local/layman/break-my-gentoo-main /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="3dnowex X aalib acl acpi alsa amd64 artswrappersuid asf async avahi beagle berkdb bitmap-fonts browserplugin bzip2 cairo cdparanoia cdr cdrom chipcard chroot cli cracklib crypt cups curl dbus directfb dri dvd dvdr dvdread eds emboss epiphany esd exif fam fb fbcon ffmpeg firefox flac flash font-server fortran freetype gb gdbm gif gimp gimpprint glibc-omitfp glitz gmp gnome gnomedb gnutls gphoto2 gpm gtk gtkhtml guile hal hbci howl-compat iconv idn insecure-drivers isdnlog java javascript jpeg lcms ldap libcaca libg++ libgda libnotify lzw-tiff mad midi mmx2 mng mono moznocompose moznoirc moznomail mozpython mozsvg mpeg nautilus ncurses nfs nfsv4 nls nptl nptlonly nsplugin odbc ogg opengl oss pam pcre pdf perl pic pie png postscript ppds pppd pwdb python qt3 qt3support qt4 quicktime readline realmedia reflection rtc ruby samba scanner sdl session slang spell spl sqlite ssl svg symlink tcl tcltk tcpd tga tiff tk truetype truetype-fonts type1-fonts unicode ups usb userlocales uudeview v4l v4l2 vorbis wmf xine xinerama xml xml2 xorg xosd xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="radeon ati fbdev vesa vga fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Walter Meinl 2007-03-05 21:32:33 UTC
Created attachment 112217 [details]
log of unsuccsesful try
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-05 21:34:18 UTC
Err, first of all drop the ~x86 nonsense from your ACCEPT_KEYWORDS. 
Comment 3 Walter Meinl 2007-03-05 23:20:44 UTC
(In reply to comment #2)
> Err, first of all drop the ~x86 nonsense from your ACCEPT_KEYWORDS. 
> 

Ok, sorry, removed the nonsense, now only amd64 and ~amd64 are in ACCEPT_KEYWORDS, is mmx on amd64 also nonsense? If not the result is the same after dropping ~x86.
Comment 4 Walter Meinl 2007-03-06 06:29:18 UTC
I reopened this, cause its not a failure due to my crazy ACCEPT_KEYWORDS.
I reemerged DirectFB with ~amd64 only and then DirectFB-extra fails with exactly the same error message, see log
Comment 5 SpanKY gentoo-dev 2007-03-20 04:13:51 UTC
looks like the DirectFB-extra mask isnt working properly in the profiles ... the mmx code in DirectFB-extra is 32bit only
Comment 6 Walter Meinl 2007-03-20 19:23:42 UTC
(In reply to comment #5)
> looks like the DirectFB-extra mask isnt working properly in the profiles ...
> the mmx code in DirectFB-extra is 32bit only
> 

Yes, although the mask is present in the profile, I see it doesn't work.
However, today DirectFB was bumped to 1.0.0. I bumped in my own overlay also DirectFB-extra to 1.0.0. After adjusting the DirectFB-extra-1.0.0-CFLAGS.patch (will post it in a minute) it worked also with USE=mmx
Comment 7 Walter Meinl 2007-03-20 19:25:17 UTC
Created attachment 113918 [details, diff]
remove the interfaces/IDirectFBVideoProvider/video_out_dfb/Makefile.in part of the 0.9.25 patch
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-19 17:27:34 UTC
When this will get away with the 1.0.0 it should be bumped and we stable it then...
Comment 9 Christoph Mende (RETIRED) gentoo-dev 2007-06-21 00:04:28 UTC
This probably won't be bumped as long as the maintainers don't know about it ;)
reassigning to games, please see comment #6 and #7
Comment 10 Walter Meinl 2007-10-01 15:08:23 UTC
oops 1.0.0 is in portage now -- fixed