Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104268 - gcc crash while emerging anything
Summary: gcc crash while emerging anything
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-30 07:38 UTC by Nestor Arocha
Modified: 2005-09-02 06:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nestor Arocha 2005-08-30 07:38:13 UTC
when I set PORTAGE_NICENESS = 15 or 5 at /etc/make.conf, some program
compilation with emerge will abort showing this message...
file.c:line: error: stray '\127' in program
It doesn't happen at the same line every compilation, It has some random component.
Unsetting PORTAGE_NICENESS fix the problem

Reproducible: Sometimes
Steps to Reproduce:
1./etc/make.conf: Set PORTAGE_NICENESS=15
2.emerge mplayer (or gimp or gcc or any big package)
3.

Actual Results:  
...Usual messages and warnings....
help/help_mp-es.h:907:1: warning: this is the location of the previous definition
codec-cfg.c: In function `parse_codec_cfg':
codec-cfg.c:616: error: stray '\127' in program
codec-cfg.c:616: error: `get_t' undeclared (first use in this function)
codec-cfg.c:616: error: (Each undeclared identifier is reported only once
codec-cfg.c:616: error: for each function it appears in.)
codec-cfg.c:616: error: parse error before "ken"
make: *** [codec-cfg.o] Error 1


Expected Results:  
Install mplayer

disabling ccache does nothing.
Probe done with 2.6.12-gentoo-r6 , 2.6.12-gentoo-r9 and 2.6.13-vanilla, all with
preemption capabilies enabled.

emerge info output
 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.4, glibc-2
.3.5-r1, 2.6.13 x86_64)
=================================================================
System uname: 2.6.13 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-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/shar
e/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sh
are/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/tex
mf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/"
LC_ALL="es_ES"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt curl eds foomaticdb gdbm gif
 gtk gtk2 imagemagick imlib ipv6 jpeg kde libwww lzw mp3 mpeg ncurses nls ogg op
engl pam pdflib perl png python qt readline ruby sdl slang spell ssl tcpd tetex 
tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml2 xpm xv zlib lin
guas_es userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-08-30 16:58:02 UTC
most likely bad hardware/kernel i think
Comment 2 Nestor Arocha 2005-09-02 06:00:03 UTC
An error on dimm memory block. Memtest detects the error after five minutes.
However, I can't find any reason to explain why only niced emerge was affected
by ram error.