Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172997 - amsn won't start when tk is compiled with ssp
Summary: amsn won't start when tk is compiled with ssp
Status: RESOLVED DUPLICATE of bug 149649
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-01 12:05 UTC by samuel
Modified: 2007-04-04 09: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 samuel 2007-04-01 12:05:16 UTC
When tk package is compiled with the ssp patch, amsn won't start. Please have a look at this thread:
http://forums.gentoo.org/viewtopic-t-548812.html

Should we add -fno-stack-protector-all -fno-stack-protector to the ebuild ?

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-04-02 00:07:20 UTC
This has nothing to do w/ Gentoo Bugzilla product; read the descriptions.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-02 00:08:41 UTC
Post your emerge --info and anything relevant here, instead of referring to forums.g.o.; thanks.
Comment 3 samuel 2007-04-02 08:45:28 UTC
Sorry.
Here is the error I got launching amsn (whatever version) :

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 1 (X_CreateWindow)
Value in failed request: 0x30
Serial number of failed request: 977
Current serial number in output stream: 979 

Compiling tk with i686-pc-linux-gnu-3.4.6-hardenednossp solves this issue.
According to another user, when tk is compiled with -fstack-protector and gcc-4.1.2 then no error at all.


Portage 2.1.2.2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-hardened-r6 i686)
=================================================================
System uname: 2.6.18-hardened-r6 i686 Mobile Intel(R) Pentium(R) III CPU - M  1200MHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 02 Apr 2007 07:00:09 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF8"
LC_ALL="en_US.UTF8"
LINGUAS="en"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa berkdb crypt dri gif gtk hardened injection java jpeg ldap madwifi midi mp3 ncurses nls nptl nptlonly nsplugin ogg opengl pam pic png quicktime readline sdl ssl tcpd unicode vorbis win32codecs x86 xorg xv zlib" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 09:22:26 UTC
Well, =gcc-4* is masked on hardened profiles, apparently for a reason. ;)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 09:22:38 UTC

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