Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147401 - x11/terms/xterm segfaults with --enable-256-color
Summary: x11/terms/xterm segfaults with --enable-256-color
Status: RESOLVED DUPLICATE of bug 135718
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Emanuele Giaquinta (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 18:26 UTC by Mike Atamas
Modified: 2006-09-14 18:49 UTC (History)
3 users (show)

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 Mike Atamas 2006-09-12 18:26:28 UTC
When I emerge xterm, it emerges and then every time I try running xterm, it crashes. This happened in both 219 and 220. I went into the ebuild and in econf removed --enable-256, which fixed the segfault. Here is my emerge --info output:

Portage 2.1.1 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Mobile AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Tue, 12 Sep 2006 23:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa apm avi berkdb bitmap-fonts cdr cli crypt cups divx3linux dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode fame firefox flac foomaticdb fortran gcj gdbm gif gimp gnome gnutls gpgme gpm gstreamer gtk gtk2 hal howl imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww mad matroska mikmod motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline real reflection ruby sdl session spell spl ssl subtitles svga tcltk tcpd truetype truetype-fonts type1-fonts usb userland_GNU userlocales video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mike Atamas 2006-09-12 18:30:52 UTC
I meant --enable-256-color not --enable-256
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 00:40:30 UTC
Not here. Did you try w/ something else than -Os?
Comment 3 Mike Atamas 2006-09-14 15:30:00 UTC
(In reply to comment #2)
> Not here. Did you try w/ something else than -Os?
> 

removing -Os worked as well
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-14 15:51:24 UTC
This is even more broken than in Bug 135718, please replace -Os with something else in the ebuild.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2006-09-14 18:43:10 UTC
I will filter the flags until gcc-4.1.1-r2 goes stable
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2006-09-14 18:48:37 UTC
we're filtering -Os and replacing it with -O2 for now.
thanks everyone (and thanks marik for the reminder)
Comment 7 SpanKY gentoo-dev 2006-09-14 18:49:10 UTC
*** This bug has been marked as a duplicate of 135718 ***

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