Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285778 - app-editors/emacs-23.1: temacs bootstrap segmentation fault on Gentoo Hardened
Summary: app-editors/emacs-23.1: temacs bootstrap segmentation fault on Gentoo Hardened
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-20 21:25 UTC by Paige Thompson
Modified: 2022-04-21 08:34 UTC (History)
3 users (show)

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


Attachments
build.log output (build.log,43.94 KB, text/plain)
2009-09-21 12:16 UTC, Paige Thompson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paige Thompson 2009-09-20 21:25:15 UTC
Question:
Hey I'm having a problem with temacs segfaulting, but before going any further I feel yo should know that:

misfit src # uname -a
Linux misfit 2.6.28-hardened-r2 #1 SMP Fri Mar 13 17:44:57 PDT 2009 i686 AMD Athlon(TM) XP 2400+ AuthenticAMD GNU/Linux
misfit src #

this has been this way for quite awhile... I'm guessing it's a PIC issue? I don't know, I just wanna know why.

misfit src # gdb temacs
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-pc-linux-gnu"...
(no debugging symbols found)
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
Environment variable "DISPLAY" not defined.
TERM = screen
Breakpoint 1 at 0x80fa266
(gdb) disable 1
(gdb) run --batch --load loadup bootstrap
Starting program: /var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/src/temacs --batch --load loadup bootstrap
(no debugging symbols found)
Executing new program: /var/tmp/portage/app-editors/emacs-23.1/work/emacs-23.1/src/temacs
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x080a1435 in Fdefine_charset_internal ()
(gdb) backtrace
#0  0x080a1435 in Fdefine_charset_internal ()
#1  0x080a1d93 in define_charset_internal ()
#2  0x080a22c7 in syms_of_charset ()
#3  0x080dae9a in main ()
(gdb)

Answer (from Ulrich) via e-mail:

So it's on a hardened kernel. You could try the following:
$ cat /proc/sys/kernel/randomize_va_space
$ echo -n 0 >/proc/sys/kernel/randomize_va_space
$ cat /proc/sys/kernel/randomize_va_space
and if the second cat outputs "0" then build Emacs again.
(And don't forget to reset to the original value when it's finished.)

In any case, please open a bug report for this, so that we can
properly track it.


Reproducible: Always

Steps to Reproduce:
1. emerge -uva world 
2. running temacs with no arguments 
3. running temacs with the following arguments: --batch --load loadup bootstrap

Actual Results:  
Seg fault

Expected Results:  
successful build

testing solution now (see the answer in description.), I will follow up with the results when I get there.
Comment 1 Paige Thompson 2009-09-20 21:54:17 UTC
The answer provided in the description didn't resolve the problem-- same problem.

Also I forgot to mention the version: 

app-editors/emacs-23.1:

misfit ~ # gcc --version
gcc (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

misfit ~ #
Comment 2 Ulrich Müller gentoo-dev 2009-09-20 22:14:35 UTC
Looking at the backtrace: The only thing that's in common with bug 221281 is that temacs segfaults in both cases. But in the other bug it's in Fdump_emacs, while here the crash happens earlier, namely in Fdefine_charset_internal. Therefore it's unlikely that it's the same problem.

Please attach:
- output of "emerge --info"
- complete build.log
Comment 3 Paige Thompson 2009-09-21 12:16:27 UTC
Created attachment 204793 [details]
build.log output 

misfit temp # emerge --info
Portage 2.1.6.13 (hardened/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-hardened-r2 i686)
=================================================================
System uname: Linux-2.6.28-hardened-r2-i686-AMD_Athlon-TM-_XP_2400+-with-gentoo-2.0.1
Timestamp of tree: Sun, 20 Sep 2009 16:00:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
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="access actions alias auth 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"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=i686 -O3 -pipe -fforce-addr"
CHOST="i486-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CVS_RSH="ssh"
CXXFLAGS="-march=i686 -mtune=i686 -O3 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-v"
EMERGE_WARNING_DELAY="10"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/curl --trace-time -v --retry 5 --retry-delay 60 --ftp-pasv -o ${DISTDIR}/${FILE} ${URI}"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i486-pc-linux-gnu/2.19.1/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.3.4/info:/usr/share/info/emacs-22"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j3"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i486-pc-linux-gnu/2.19.1/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.3.4/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/usr/share/postgresql-8.3/man:/usr/share/postgresql-8.2/man:/opt/cuda/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/etc"
OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib/subversion/bin:/opt/cuda/bin:/var/qmail/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--verbose --recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/var/tmp/portage/app-editors/emacs-23.1/temp"
PYTHONDOCS="/usr/share/doc/python-docs-2.6.2-r1/html/library"
PYTHONDOCS_2_6="/usr/share/doc/python-docs-2.6.2-r1/html/library"
PYTHONDOCS_3_1="/usr/share/doc/python-docs-3.1.1/html/library"
QMAIL_CONTROLDIR="/var/qmail/control"
RESUMECOMMAND="/usr/bin/curl --trace-time -v --retry 5 --retry-delay 60 --continue-at - --ftp-pasv  -o ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i486-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib/subversion/bin:/opt/cuda/bin:/var/qmail/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
SHELL="/bin/bash"
SHLVL="2"
STAGE1_USE="hardened nptl nptlonly pic"
STY="9231.pts-27.misfit"
SUDO_COMMAND="/bin/su"
SUDO_GID="100"
SUDO_UID="1000"
SUDO_USER="erratic"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="screen"
TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#60:co#208:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:G0:as=\E(0:ae=\E(B:\
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\
        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:\
        :F2=\E[24~:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:F6=\E[1;2S:\
        :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=^H:\
        :K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:\
        :*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:\
        :%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:\
        :@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\
        :kd=\EOB:kr=\EOC:kl=\EOD:km:"
USE="acl berkdb bzip2 cli cracklib crypt cups dri gdbm hardened iconv ipv6 isdnlog mudflap ncurses nptl nptlonly pam pcre perl pic pppd python readline reflection session spl ssl sysfs tcpd threads unicode urandom x86 xorg 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="access actions alias auth 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 imstt intel      mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 imstt intel         mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
WINDOW="1"
_="/usr/bin/emerge"

misfit temp #
Comment 4 Paige Thompson 2009-09-21 14:27:49 UTC
Resolved, it seems the issue was that I was using -fstack-protector-all -- sorry paranoia is stupid. Since I upgraded to gcc 4 I wasn't comfortable assuming that it had ssp enabled by default-- though I have to admit this is the first time I've had trouble compiling with that flag. 


Sorry :) 
Comment 5 Paige Thompson 2009-09-21 14:39:32 UTC
(In reply to comment #4)
> Resolved, it seems the issue was that I was using -fstack-protector-all --
> sorry paranoia is stupid. Since I upgraded to gcc 4 I wasn't comfortable
> assuming that it had ssp enabled by default-- though I have to admit this is
> the first time I've had trouble compiling with that flag. 
> Sorry :) 

also I edited the build log so if you're wondering why you don't see --fstack-protector-all in the cxxflags but in the ./configure that's because I forgot to edit the ./configure line and realized I can't take it back so I decided to try and build it anyway and sure enough like I'm eating my foot. I read the documentation for gcc 4 and it seems to me that it features ssp by design but -I just didn't trust it and I added -fstack-protector-all to my cxxflags. anyway, am I wrong or does that indicate a bug in the emacs code at all or is that a problem with gcc? I wish it were a more common practice for packages to reject cxxflags that are known to cause problems though I guess that's really more a matter of who has time to test stuff like that and who would anyway o_O
Comment 6 Ulrich Müller gentoo-dev 2010-10-25 20:17:12 UTC
Reopening. A very similar issue was observed in bug 294479 comment #1.
Build log and patch are attached to that bug.
Comment 7 Ulrich Müller gentoo-dev 2010-10-25 21:04:46 UTC
I've added the following line to emacs-23.2-r2 (and 22.3-r6):
filter-flags -fstack-protector -fstack-protector-all

Please test.
Comment 8 Vincent de Phily 2010-10-26 15:50:38 UTC
Works for me now with emacs-23.2-r2.

Do I understand correctly that this is a temporary workaround in the ebuild pending an upstream fix ?
Comment 9 Ulrich Müller gentoo-dev 2010-10-26 16:19:59 UTC
(In reply to comment #8)
> Works for me now with emacs-23.2-r2.

Thank you for testing.

> Do I understand correctly that this is a temporary workaround in the ebuild
> pending an upstream fix ?

Right. As soon as there is a release (emacs-23.3 is close to pretest) fixing upstream bug <http://debbugs.gnu.org/7186>, we shall remove the flag filtering again.
Comment 10 Jean-Philippe Robichaud 2011-04-29 12:42:05 UTC
well, I would say that it isn't resolved really.

I'm on a server that got recently switched from "default/linux/x86/10.0/server" to  "hardened/linux/x86" I can't recompile emacs 22 or 23 (even 23.3) even after selecting the i686-pc-linux-gnu-4.4.5-vanilla as the gcc profile.

I'm getting things like:


make[2]: Entering directory `/var/tmp/portage/app-editors/emacs-23.3/work/emacs-23.3/lisp'
make[2]: Entering directory `/var/tmp/portage/app-editors/emacs-23.3/work/emacs-23.3/lisp'
Compiling /var/tmp/portage/app-editors/emacs-23.3/work/emacs-23.3/src/../lisp/buff-menu.el
Compiling /var/tmp/portage/app-editors/emacs-23.3/work/emacs-23.3/src/../lisp/emacs-lisp/byte-run.el
make[2]: *** [compile-onefile] Segmentation fault