Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98951 - Getting "sys-apps/texinfo-4.8 failed" error while trying to bootsrap
Summary: Getting "sys-apps/texinfo-4.8 failed" error while trying to bootsrap
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://www.rafb.net/paste/results/6JT...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-13 21:13 UTC by Jae
Modified: 2005-08-27 11:58 UTC (History)
2 users (show)

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


Attachments
Was told to attach this file (ccad2WXB.out,151.87 KB, text/plain)
2005-07-13 21:19 UTC, Jae
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jae 2005-07-13 21:13:38 UTC
Im installing gentoo on a box ( AuthenticAMD-K6 500 mhz ).  Im recieving an
error about "sys-apps/texinfo-4.8 failed".  I have tryed to run
"scripts/bootstrap.sh" several time's and im still receiving this error in the
exact same spot everytime.  I have ran memtest86 and it passed.

Reproducible: Always
Steps to Reproduce:
1.Startup box
2. mount filesystem's
3. chroot into system
4. change directory to portage
5. run the command "scripts/bootstrap.sh"

Actual Results:  
EXACT results located at : http://www.rafb.net/paste/results/6JT8Aw53.html
summary: 
ables.o window.o doc.o ../lib/libtxi.a -lncurses
infokey.c: In function `error_message':
infokey.c:879: internal compiler error: Segmentation faul

Expected Results:  
It should of bootsraped my gentoo system, so i can continue on my installation
with gentoo.

I have listed as much info as possible.

CPU INFO:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 8
model name      : AMD-K6(tm) 3D processor
stepping        : 12
cpu MHz         : 500.096
cache size      : 64 KB
physical id     : 0
siblings        : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp      : yes
flags           : fpu vme de pse tsc msr mce cx8 pge mmx pni syscall 3dnow k6_mtrr
bogomips        : 983.04

MEM INFO:
livecd portage # cat /proc/meminfo
MemTotal:       247948 kB
MemFree:        145328 kB
Buffers:         12808 kB
Cached:          66180 kB
SwapCached:         96 kB
Active:          59156 kB
Inactive:        23936 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       247948 kB
LowFree:        145328 kB
SwapTotal:      500464 kB
SwapFree:       494404 kB
Dirty:               0 kB
Writeback:           0 kB
Mapped:           7724 kB
Slab:            15828 kB
CommitLimit:    624436 kB
Committed_AS:    16684 kB
PageTables:        324 kB
VmallocTotal:   778232 kB
VmallocUsed:      6032 kB
VmallocChunk:   772052 kB

Hard Drive:
IBM-DPTA-351500

Fdisk:
Disk /dev/hda: 13.6 GB, 13676544000 bytes
16 heads, 63 sectors/track, 26500 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          63       31720+  83  Linux
/dev/hda2              64        1056      500472   82  Linux swap / Solaris
/dev/hda3            1057       26500    12823776   83  Linux

GCC Version:
gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)

cat /prov/version:
livecd portage # cat /proc/version
Linux version 2.6.11-gentoo-r3 (root@nemo) (gcc version 3.3.5 (Gentoo Linux
3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)) #1 SMP Fri Mar 18 21:30:04 UTC 2005


"emerge info" :
livecd portage # emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0/2.4, gcc-3.3.5,
glibc-2.3.4.20040808-r
=================================================================
System uname: 2.6.11-gentoo-r3 i586 AMD-K6(tm) 3D processor
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=k6 -O2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/confi
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups emboss encode
foomati
pv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis
opengl oss
adline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib
userl
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

livecd portage #
Comment 1 Jae 2005-07-13 21:19:06 UTC
Created attachment 63359 [details]
Was told to attach this file

Was told to submit this as an attachment in the error message.
Comment 2 SpanKY gentoo-dev 2005-07-14 06:00:28 UTC
looks like your cpu cooling may suck

try running cpuburn
Comment 3 Stian Skjelstad 2005-07-16 06:14:28 UTC
If it ALWAYS stop at the same spot, try to remove -march=k6 flag. There has been
some problems about what the different old AMD's actually can do and not, along
gcc bugs around this.
Comment 4 Alexander Skwar 2005-08-06 02:30:24 UTC
Ah.
Isn't this a dupe of Bug #96181 ?

Same error here. I'm copying what I wrote in bug 96181 comment #11

(In reply to comment #5)


>   $restore $backupdir/* `echo "./info.info" | sed 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
> /bin/sh: line 1: 15017 Illegal instruction     ..//makeinfo/makeinfo -I . -o
> texinfo.info `test -f 'texinfo.txi' || echo './'`texinfo.txi
> make[2]: *** [texinfo.info] Error 132
> make[2]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8/doc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8'
> make: *** [all] Error 2
> 
> !!! ERROR: sys-apps/texinfo-4.8 failed.
> !!! Function src_compile, Line 47, Exitcode 2

I'm getting kind of the same error here - it's just, that I don't get the "make"
output. IOW: it ends with:

if ..//makeinfo/makeinfo   -I . \
 -o info.info `test -f 'info.texi' || echo './'`info.texi; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./info.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc


I'm getting this during run of "scripts/bootstrap.sh".


Since bootstrapping doesn't work, I'd be happy if someone could raise the
severity of this bug. Critical would suffice.


I'm bootstrapping in a chroot of my normal Gentoo system for a new Gentoo
system. The normal Gentoo system is a system build with:

CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"

The new one will be with:

CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"

server tree # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.12-ck4.010.reiser4.nfsv4.inotify.genkernel i686)
=================================================================
System uname: 2.6.12-ck4.010.reiser4.nfsv4.inotify.genkernel i686 AMD Athlon(tm)
XP 2000+
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://php2.ath.cx/~askwar/gentoo-files/
http://stuff.alexander.skwar.name/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X a52 aac acpi alsa amd apm arts artswrappersuid
async avi berkdb bluetooth bootsplash browserplugin cardbus ccache cdda cddb
cdio cdparanoia cdrom cle266 crypt css cups curlwrappers dbus devmap dillo
directfb divx4linux dlloader dvd dvdread emoticon exif fam fbcon fbdev fbsplash
firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3
idn imap imlib imlib2 insecure-drivers insecure-savers javascript jikes jpeg kde
libedit libwww logrotate lynxkeymap mad maildir matroska mbox mmx mmxext mozilla
moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses network new-login
nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh
nocommonslogging nocommonsnet nodrm nogg nogulm nojoystick nojsch nojython
nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nsplugin offensive
ogg oggvorbis opengl openssh pam pam_console pam_timestamp passfile password
patented pccts pcmcia pcre perl perlsuid player png pnp qt quicktime rar
readline real recode reiserfs sendfile sensord sftp sms spell spf sse sse2 ssl
startup-notification stream subp subtitles suid symlink sysfs syslog transcode
truetype truetype-fonts trusted type1-fonts underscores unichrome unicode unsafe
usb utf8 uudeview vim vim-pager vim-with-x vlm vorbis wifi win32codecs wma123
x11vnc xinetd xml xml2 xmms xpm xscreensaver xv xvid xvmc zlib video_cards_via
linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY



[11:28:38 alexander@server:~] $ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2000+
stepping        : 1
cpu MHz         : 1660.336
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3295.28




[11:28:39 alexander@server:~] $ cat /proc/meminfo
MemTotal:       516440 kB
MemFree:         15784 kB
Buffers:          3016 kB
Cached:         140436 kB
SwapCached:      66840 kB
Active:         382084 kB
Inactive:        74116 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       516440 kB
LowFree:         15784 kB
SwapTotal:      774632 kB
SwapFree:       387160 kB
Dirty:               8 kB
Writeback:           0 kB
Mapped:         342120 kB
Slab:            30936 kB
CommitLimit:   1032852 kB
Committed_AS:   792232 kB
PageTables:       3036 kB
VmallocTotal:   516020 kB
VmallocUsed:     40280 kB
VmallocChunk:   475500 kB
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-08-25 04:04:49 UTC
(In reply to comment #4)

> > /bin/sh: line 1: 15017 Illegal instruction     ..//makeinfo/makeinfo -I . -o

> System uname: 2.6.12-ck4.010.reiser4.nfsv4.inotify.genkernel i686 AMD Athlon(tm)
> XP 2000+

> CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"

> [11:28:38 alexander@server:~] $ cat /proc/cpuinfo
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 6
> model           : 8
> model name      : AMD Athlon(tm) XP 2000+

Ok, I butchered your output a bit, but the fact is that you are using
-march=pentium4 on a AMD XP, which will not work ...


Jae, try changing -march=k6 to -march=i586 as already suggested.

Comment 6 Alexander Skwar 2005-08-27 06:47:45 UTC
(In reply to comment #5)

> Ok, I butchered your output a bit, but the fact is that you are using
> -march=pentium4 on a AMD XP, which will not work ...

Yep, I found that out too.

> Jae, try changing -march=k6 to -march=i586 as already suggested.

To fix the issue for me, I changed the "-march=pentium4" to "-mtune=pentium4"
(or rather -mcpu=pentium4, since during bootstrap gcc 3.3.x is/was used).

Comment 7 SpanKY gentoo-dev 2005-08-27 11:58:43 UTC
sounds good