everytime I try to merge sed-4.1.4 on my ppc, it merges correctly, but after that i get a broken sed which causes segmentation faults in every configure script which uses sed. Reproducible: Always Steps to Reproduce: 1. emerge sed 2. emerge xmms # e.g. Actual Results: sed merges, but xmms gets caught in a segmentation fault in the configure script. ./configure: line 1383: 13749 Segmentation fault sed -n "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" thats on several packages which use sed in the configure-script. the Segmentation fault is the same, only the line-numbers change. Expected Results: should merge sed and all other packages afterwards. niv@pr0llb00k ~ $ emerge info Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 ppc) ================================================================= System uname: 2.6.10-gentoo-r6 ppc 7410, altivec supported Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 09:08:41)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3, 1.5, 1.9.5 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage" USE="X aalib aim alsa altivec apache2 arts bash-completion berkdb bidi bitmap-fonts bluetooth bonobo bzip2 cddb cdr cdrom cjk clamav crypt cups curl dba directfb divx4linux dlloader dmx dvd dvdr dvdread eep emboss escreen esd etwin f77 fam fbcon fla flac font-server foomaticdb fortran ftp gd gdbm gif gimpprint gpm gstreamer gtk gtk2 hardened hardenedphp iconv icq imagemagick imap imlib ipv6 ipv6arpa irda irmc jabber jack jack-tmpfs java jpeg junit ldap libwww mad maildir motif mozilla mp3 mpeg mpeg4 msn mysql ncurses nethack nls odbc oggvorbis opengl oscar pam pcmcia pda perl php png pnp postgres ppc ppds psyco pthreads python qt quicktime radeon readline samba screenshot sdl session slang soap spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode vhosts vim-with-x wmf xine xinerama xml xml2 xmms xprint xsl xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY -- Calculating dependencies ...done! [ebuild R ] sys-apps/sed-4.1.4 -bootstrap -build -debug -nls -static 0 kB Total size of downloads: 0 kB --- Thx to JoseJX i got a working replacement, but that is not a solution for that problem, because everytime i remerge sed, i get the same error.
if you emerge it with CFLAGS="-pipe" does it work ?
sounds good... i merged sed with CFLAGS="-pipe" and tried to merge pam... looks very good... i'm creating libtool now... if i have any problems with pam, I will tell you :)
looks good :) thx for that hint... no problems yet. merging now all other packages (thats alot)
So, this bug could be considered as fixed.
I don't understand how it can be considered fixed when no CFLAGS are being stripped in the ebuild, yet using pretty reasonable CFLAGS breaks it on ppc. I just emerged this and now I'm kinda stuck, because the sed configure script uses sed, so I can't downgrade without grabbing a binary package. CFLAGS="-O2 -mcpu=7450 -fno-strict-aliasing -pipe -fomit-frame-pointer -fstack-protector"
(In reply to comment #5) > I don't understand how it can be considered fixed when no CFLAGS are being > stripped in the ebuild, yet using pretty reasonable CFLAGS breaks it on ppc. > > I just emerged this and now I'm kinda stuck, because the sed configure script > uses sed, so I can't downgrade without grabbing a binary package. > > CFLAGS="-O2 -mcpu=7450 -fno-strict-aliasing -pipe -fomit-frame-pointer > -fstack-protector" Do you have hardened in your use flags perhaps? Solar's patch works for me: https://bugs.gentoo.org/show_bug.cgi?id=86857#c6
What is the status of this bug?
well, i don't have that selinux-ppc installation on my powerbook at the moment, i have some backup somewhere but don't have the time now to reroll it. I'd guess a "won't fix" or "can't fix", or quite "fixed with a work-around" would be the status...
(In reply to comment #7) > What is the status of this bug? 1. Status FIXED in bug #83549, but that's probably because the true character of the problem was not recognised there. 2. A workaround here: https://bugs.gentoo.org/show_bug.cgi?id=86857#c6 3. And a comment that says "Don't do that" in comment #9 of the same bug. The choice seems to be between applying solars patch or not using pie. I've applied solars patch and haven't had any problems with it so far.
This is a hardened bug, re-assigning to them.
Is this still even remotely relevant?
Haven't heard back and pretty sure this is fixed, so closing as such. Re-open if it isn't.