Summary: | app-editors/emacs-23.3 segmentation fault with -fstrict-aliasing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ulrich Müller <ulm> |
Component: | Current packages | Assignee: | GNU Emacs project <gnu-emacs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8217 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=839405 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 915000 | ||
Attachments: |
build log
emerge --info gdb backtrace |
Description
Ulrich Müller
2011-03-10 07:50:57 UTC
Created attachment 265413 [details]
build log
Created attachment 265415 [details]
emerge --info
Created attachment 265417 [details]
gdb backtrace
FWIW, this happens with all of GCC 4.3.5, 4.4.5, and 4.5.2. Reported upstream. I'll add -fno-strict-aliasing as a workaround in the ebuild. Quoting from the upstream bug <https://debbugs.gnu.org/8217#32>: ... I find that the workaround of adding -fno-strict-aliasing to CFLAGS wasn't present for version 24.1, and there never were any bugs reported to us. This seems to indicate that the problem had disappeared already in early Emacs 24 versions. However, I also cannot reproduce this any more with Emacs 23.4 and GCC 5.4.0 (nor with GCC 4.9.3). So it may well be that this issue wasn't with Emacs but with GCC. |