Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47283 - sed compile fails during bootstrap
Summary: sed compile fails during bootstrap
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo LiveCD Package Maintainers
Depends on:
Reported: 2004-04-08 17:00 UTC by Kirk Smith
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Kirk Smith 2004-04-08 17:00:18 UTC
When running the bootstrap script, all versions (stable and devel) of sed fail to compile on regex.

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl -I.. -I../lib   -march=athlon-xp -O2 -pipe -fomit-frame-pointer -MT regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c; \
then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f ".deps/regex.Tpo"; exit 1; fi
In file included from regex.c:78:
regex_internal.h:100:1: warning: "__mempcpy" redefined
In file included from /usr/include/string.h:375,
                 from regex_internal.h:29,
                 from regex.c:78:
/usr/include/bits/string2.h:204:1: warning: this is the location of the previous definition
In file included from regex.c:81:
regcomp.c: In function `parse_bracket_element':
regcomp.c:3250: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sed-4.0.9/work/sed-4.0.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sed-4.0.9/work/sed-4.0.9'
make: *** [all] Error 2

!!! ERROR: sys-apps/sed-4.0.9 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! Shared build failed


Reproducible: Always
Steps to Reproduce:
1. run

AMD Athlon XP 2200+
512 MB Ram
Comment 1 Benjamin Judas (RETIRED) gentoo-dev 2004-04-09 05:00:01 UTC
regcomp.c:3250: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.

Likely to be a hardware issue like buggy memory or broken (overheated?) cpu
Comment 2 Benjamin Judas (RETIRED) gentoo-dev 2004-05-11 22:39:30 UTC
I am closing this one now. Drop a comment if it needs to be reopened

*** This bug has been marked as a duplicate of 20600 ***
Comment 3 Phattanon Duangdara 2004-10-06 03:48:13 UTC
I found cause of sed and other packages build fail.

I have stage 1 in my my amd64 box. Using and from stage1.

sed build failed every time every bootstarap.

I found that configure is not properly running ?

I mean configure (econf) not actually running and sed being build after gnuconfig_update because of 'which' executable in stage tarball is missing lead to ebuild process failed.

Build process use from sed when not neccessary and cause sed build to fail and also bootstrapping.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-10-06 05:39:33 UTC
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:24:48 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.