Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27842 - gcc-3.2.3-r2 can't be compiled
Summary: gcc-3.2.3-r2 can't be compiled
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-03 00:25 UTC by Rok Jaklic
Modified: 2003-09-04 17:53 UTC (History)
1 user (show)

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 Rok Jaklic 2003-09-03 00:25:27 UTC
Hi.

When I do "emerge -u world" I get an error like:

/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/libjava/posix.cc: In function
   `jlong _Jv_platform_gettimeofday()':
/var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/libjava/posix.cc:49: internal
   error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [posix.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gcc-3.2.3-r2/work/build/i586-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gcc-3.2.3-r2/work/build/i586-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r2/work/build'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.2.3-r2 failed.
!!! Function src_compile, Line 371, Exitcode 2
!!! (no error message)


I'm pretty sure that it has something to do with my "unusual hardweare" that I
use and its memory. It's old p166 with 64MB of ram and about 40 GB of disks.

Some useful information for you maybe:
svinja root # emerge -p gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] sys-devel/gcc-3.2.3-r2 [3.2.3-r1] 

Best regards,

Rok
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-03 08:24:07 UTC
Does the compilation always fail at the same point?
Where's your "emerge info" output?
If compiling fails at different points, please try running memtest86.
Comment 2 Rok Jaklic 2003-09-03 10:58:41 UTC
Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-pre10-ac1)
=================================================================
System uname: 2.4.22-pre10-ac1 i586 Pentium 75 - 200
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++ mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime sdl spell truetype xml2 xv zlib gdbm berkdb slang readline svga java gpm tcpd perl python oggvorbis opengl -X -gtk -gnome -qt -alsa -kde -xmms mysql apache2 pam ssl sasl imap libwww maildir ipv6 gd xml"
Comment 3 Rok Jaklic 2003-09-03 13:22:40 UTC
Ok. Error appears at different points of compiling; so it's probably something to do with my memory. 

After second compiling I've got an error like:

cp: reading `.libs/libgcj.a': Input/output error
make[3]: *** [install-toolexeclibLTLIBRARIES] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r2/work/build/i586-pc-linux-gnu/libjava'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r2/work/build/i586-pc-linux-gnu/libjava'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r2/work/build/i586-pc-linux-gnu/libjava'
make: *** [install-target-libjava] Error 2

!!! ERROR: sys-devel/gcc-3.2.3-r2 failed.
!!! Function src_install, Line 398, Exitcode 2
!!! (no error message)


; but i used emerge -u gcc

This happend at almoust at the end of compiling; when binaries are installing.

So, close this or delete this bug report.

Thanks for you time anyway.

Best reagards,

Rok
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-03 23:06:40 UTC
Ok, setting this to INVALID.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-04 14:28:35 UTC
It still sounds like space problems on whatever media PORTAGE_TMPDIR are
located.
Comment 6 Rok Jaklic 2003-09-04 17:53:16 UTC
Nope.

This are disks I use and PORTAGE_TMPDIR is set to /var/tmp.

                                                   Use%  
/dev/root              5992876   2423420   3265028  43% /
/dev/hdb1             14761044   1992588  12018624  15% /home
/dev/hdc1             19726356   3419348  15304956  19% /mnt/disk

I'll try to delete tmp files. Maybe something there got mixed.