Summary: | aMSN fails to start with new tcl/tk built with hardened-gcc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kostas Kavourakis <scorpiusf> |
Component: | Current packages | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | kkrizka |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kostas Kavourakis
2005-05-10 00:06:10 UTC
Did you try to re-emerge amsn? Yes I did try, just in case. No dice. which version of tcltk ? These versions, the latest x86: emerge -pv dev-lang/tcl dev-lang/tk These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/tcl-8.4.9 -threads 0 kB [ebuild R ] dev-lang/tk-8.4.9 -threads 0 kB You could try the cvs version. It works for me. (In reply to comment #5) > You could try the cvs version. It works for me. Actually, I solved the problem. tcl/tk has problems when compiled with a hardened gcc, so I compiled them with vanilla gcc and now aMSN works just fine. Thnaks anyway. hardened: this one is potentially for you.. Please narrow it down further. Is it tcl or tk? Is it PIE or SSP? Other? # gcc-config -l # gcc-config #NUM What version of aMSN etc.. OK, here goes. My latest emerge --info : Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4-hardenednossp, glibc-2.3.4.20050125-r1, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -w" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distcc distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo ftp://files.gentoo.gr ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dlloader dvd dvdr emboss encode esd ffmpeg flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile hal hardened hardenedphp imagemagick imlib java jpeg libg++ libwww mad matroska mikmod mmx mmxext motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pdflib perl pic pie png pwdb python quicktime readline samba sdl slang spell sse sse2 ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs xine xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Now, it appears that the problem is with del-lang/tk: emerge -pv tk These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/tk-8.4.9 -threads 0 kB I tried to compile it with various gcc profiles (I use hardened gcc 3.4.4) and it succeded with this: gcc-config -l [1] i686-pc-linux-gnu-3.3.6 [2] i686-pc-linux-gnu-3.3.6-hardenednopie [3] i686-pc-linux-gnu-3.3.6-hardenednopiessp [4] i686-pc-linux-gnu-3.3.6-hardenednossp [5] i686-pc-linux-gnu-3.3.6-vanilla [6] i686-pc-linux-gnu-3.4.4 [7] i686-pc-linux-gnu-3.4.4-hardenednopie [8] i686-pc-linux-gnu-3.4.4-hardenednopiessp [9] i686-pc-linux-gnu-3.4.4-hardenednossp * [10] i686-pc-linux-gnu-3.4.4-vanilla I tried 7 first, then 9 immediately after, I didn't try 8 since it is 7 and 9 together. It appears that the problem is ssp. My aMSN is version 0.94, the latest stable for x86 in portage. If more info is required, I 'll be glad to provide if I can. |