Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142021 - games-emulation/advancemenu-2.4.13 doesnt build on hardened systems
Summary: games-emulation/advancemenu-2.4.13 doesnt build on hardened systems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-28 10:26 UTC by Mark Glines
Modified: 2006-07-29 00:52 UTC (History)
0 users

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


Attachments
build log (advancemenu-2.4.13-build-failure.log,11.67 KB, text/plain)
2006-07-28 10:27 UTC, Mark Glines
Details
patch the ebuild, use the same diff advancemame used (advancemenu-ebuild-fix-pic.diff,1.29 KB, patch)
2006-07-28 10:43 UTC, Mark Glines
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Glines 2006-07-28 10:26:16 UTC
This bug is closely related to #118836.  

gcc-3.4.6-hardened fails to build advancemenu-2.4.13.  The error message is identical to bug #118836, when building advancemame.  I believe the fix should be very similar.

obj/menu/linux/blend/blit/blit.o
advance/blit/icopy.h: In function `internal_copy8_step_mmx':
advance/blit/icopy.h:195: error: can't find a register in class `BREG' while reloading `asm'
make: *** [obj/menu/linux/blend/blit/blit.o] Error 1



Portage 2.1.1_pre3-r5 (hardened/x86/2.6, gcc-3.4.6/hardened, glibc-2.3.6-r4, 2.6.17.1-ck1 i686)
=================================================================
System uname: 2.6.17.1-ck1 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ccccom.com/ http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en"
PKGDIR="/usr/portage//packages/x86/"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-overlay/perl-catalyst /usr/local/portage-overlay/nwn-cep"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi adns aio akode alsa amr ansi apache2 arts atlas avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cpanplus crypt cups curl dbus dga divx4linux dlloader doc dri dvd dvdread effects encode esd ethereal exscalibar fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb gimp glut gnome gphoto2 gpm gstreamer gtk gtk2 gvim hardened hbci ifp infopipe ipod ipv6 ithreads jack java jpeg jpeg2k kerberos libgda live lzo mad matroska mikmod mjpeg mmx mng modperl mozdevelop mozilla moznoirc mozsvg mp3 mp4 mpeg mplayer mpm-worker musicbrainz ncurses netjack network nfsv4 nptl nptlonly nsplugin ofx ogg oggvorbis opengl pam pcmcia pdf perl pic plugin png pnp ppds python quicktime readline real rsync rtsp ruby scanner scim sdl speex spell sse sse2 ssl subtitles svg tcltk tcpd test theora threads tiff truetype uim unicode usb userlocales vdr vorbis vorbis-psy win32codecs x264 x86 xine xinerama xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_ati video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mark Glines 2006-07-28 10:27:36 UTC
Created attachment 92941 [details]
build log
Comment 2 Mark Glines 2006-07-28 10:43:14 UTC
Created attachment 92943 [details, diff]
patch the ebuild, use the same diff advancemame used

This patch includes advancemenu-2.4.13-pic.patch (which is just a copy of advancemame-0.106.0-pic.patch), and patches the ebuild to apply it.

With this patch, advancemenu-2.4.13 builds cleanly for me with gcc-3.4.6-hardened.

Mark
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-07-29 00:52:46 UTC
ok.  added to advancemenu as well.  Thanks for the bug report.