Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296347 - Failed to emerge app-emulation/wine-1.1.29 (hardened system)
Summary: Failed to emerge app-emulation/wine-1.1.29 (hardened system)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 21:57 UTC by ash
Modified: 2010-10-28 15:22 UTC (History)
0 users

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 ash 2009-12-09 21:57:05 UTC
Wine 1.1.29 fails to build on my hardened Gentoo installation. I'm not sure if it's failing to compile because it's a hardened system though.

Reproducible: Always

Steps to Reproduce:
# emerge -NDuv wine

[ebuild     U ] app-emulation/wine-1.1.29 [1.1.12] USE="X alsa dbus gecko hal jpeg mp3%* ncurses opengl png%* ssl%* -cups -custom-cflags% -esd -gnutls -gsm% -jack -lcms -ldap -nas -oss -samba -scanner -test% (-win64) -xcomposite% -xinerama% -xml" 0 kB
Actual Results:  
i686-pc-linux-gnu-gcc -c -I. -I. -I../include -I../include    -Wall -pipe -fno-s
trict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -m
tune=athlon-mp -O2  -o preloader.o preloader.c
i686-pc-linux-gnu-gcc -o wine-preloader -static -nostartfiles -nodefaultlibs -Wl
,-Ttext=0x7c000000 preloader.o ../libs/port/libwine_port.a -Wl,-O1
preloader.o: In function `__bb_init_func':preloader.c:(.text+0x54): undefined reference to `__guard'preloader.c:(.text+0x75): undefined reference to `__stack_smash_handler'preloader.o: In function `__stack_chk_fail_local':
preloader.c:(.text+0xa4): undefined reference to `__guard'
preloader.c:(.text+0xc5): undefined reference to `__stack_smash_handler'
preloader.o: In function `__stack_chk_fail':
preloader.c:(.text+0xf4): undefined reference to `__guard'
preloader.c:(.text+0x115): undefined reference to `__stack_smash_handler'
preloader.o: In function `wld_mmap':
preloader.c:(.text+0x14c): undefined reference to `__guard'
preloader.c:(.text+0x1b8): undefined reference to `__stack_smash_handler'
preloader.o: In function `wld_strcmp':
preloader.c:(.text+0x1f0): undefined reference to `__guard'
preloader.c:(.text+0x233): undefined reference to `__stack_smash_handler'
preloader.o: In function `wld_vsprintf':
preloader.c:(.text+0x26e): undefined reference to `__guard'
preloader.c:(.text+0x2bd): undefined reference to `__stack_smash_handler'
preloader.o: In function `wld_printf':
preloader.c:(.text+0x40d): undefined reference to `__guard'
preloader.c:(.text+0x460): undefined reference to `__stack_smash_handler'
preloader.o: In function `fatal_error':
preloader.c:(.text+0x497): undefined reference to `__guard'
preloader.o: In function `get_auxiliary':
preloader.c:(.text+0x4f7): undefined reference to `__guard'
preloader.c:(.text+0x52e): undefined reference to `__stack_smash_handler'
preloader.o: In function `map_so_lib':
preloader.c:(.text+0x567): undefined reference to `__guard'
preloader.c:(.text+0xa55): undefined reference to `__guard'
preloader.c:(.text+0xa75): undefined reference to `__stack_smash_handler'
preloader.o: In function `is_addr_reserved':
preloader.c:(.text+0xcb9): undefined reference to `__guard'
preloader.c:(.text+0xd0c): undefined reference to `__stack_smash_handler'
preloader.o: In function `is_in_preload_range':
preloader.c:(.text+0xd37): undefined reference to `__guard'
preloader.c:(.text+0xd6d): undefined reference to `__stack_smash_handler'
preloader.c:(.text+0xd82): undefined reference to `__guard'preloader.o: In function `wld_start':
preloader.c:(.text+0xda9): undefined reference to `__guard'
preloader.c:(.text+0x164e): undefined reference to `__guard'
preloader.c:(.text+0x1670): undefined reference to `__stack_smash_handler'
collect2: ld returned 1 exit status
make[1]: *** [wine-preloader] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.1.29/work/wine-1.1.29/loader' 
make: *** [loader] Error 2
 *
 * ERROR: app-emulation/wine-1.1.29 failed.
 * Call stack:  
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2565:  Called die
 * The specific snippet of code:
 *       emake all || die "all"
 *  The die message:
 *   all


Portage 2.1.6.13 (selinux/2007.0/x86/hardened, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.27-hardened-r8 i686)
=================================================================
System uname: Linux-2.6.27-hardened-r8-i686-AMD_Athlon_-TM-_MP-with-gentoo-1.12.13
Timestamp of tree: Wed, 09 Dec 2009 10:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mtune=athlon-mp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -mtune=athlon-mp"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages loadpolicy parallel-fetch protect-owned sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://130.208.16.31/pub/gentoo/ http://212.219.56.133/sites/www.ibiblio.org/gentoo/ http://mirror.datapipe.net/gentoo ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa apache2 bash-completion bmp bzip2 cairo calendar cddb cdparanoia cdr clamav cli cracklib crypt cxx dbus dga dri dvd emacs emacs-w3 encode ffmpeg firefox ftp gcj glut gnustep gphoto2 gstreamer gtk gtk2 hal hardened iconv icq ieee1394 imagemagick imap ipv6 jabber java jpeg lm_sensors mad memlimit mime mmx modules mp3 mplayer mudflap mysql ncurses nntp nocd nptl nsplugin offensive opengl openmp oscar pam pcre pdf pic png pppd quicktime readline reflection selinux session sharedmem spell spl ssl startup-notification sysvipc tcpd tetex threads tiff unicode usb verbose win32codecs x86 xine xorg xpm xscreensaver xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Magnus Granberg gentoo-dev 2010-10-28 15:22:56 UTC
Reopen if it still fail with gcc-4.4.4-r2