Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102390 - Segmentation Fault on emerge rsync OR emerge --update system OR emerge --emptytree system
Summary: Segmentation Fault on emerge rsync OR emerge --update system OR emerge --empt...
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-13 09:06 UTC by Chris
Modified: 2005-08-13 17:50 UTC (History)
0 users

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


Attachments
PreProcessed sourcecode for rsync failure from 'emerge rsync' (cc3bKZFW.out,223.82 KB, text/plain)
2005-08-13 09:08 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2005-08-13 09:06:29 UTC
Cannot get my base system to work, because emerge keeps failing on builds...
very odd, I believe it is probably my settings somewhere.. Maybe my USE setting?
 I made it much more detailed this time around (I have successfully configured
another gentoo based system a month or so ago).. hopefully this isnt a hardware
issue.

Tyan Thunder K7
Dual AMD 1.8 MPs
1.5 GB Ecc RAM
3ware 8 port SATA RAID card
Installing Gentoo onto RAID-0 dual 78GB Raptors (think that is the right size)

Reproducible: Always
Steps to Reproduce:
1. emerge --emptytree system  ( Fails at gpm )
emerge sys-libs/gpm WOrks!
OR
1. emerge --update (skips gpm, b/c it is already installed) ( Fails at rsync )
2. emerge rsync (Fails)

---------------------------------
Also tried emerge --emptytree system on a TTY.. same result ( Failed at GPM
1.20.1-r4)

Actual Results:  
Many Many Errors!  All different.. whats wrong?

--------------------------------------------------
make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src'
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o main.o main.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o gpm.o gpm.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o gpn.o gpn.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o mice.o mice.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o special.o special.c
gpm.c: In function `old_main':
gpm.c:1145: warning: no return statement in function returning non-void
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o twiddler.o twiddler.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o synaptics.o synaptics.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o startup.o startup.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o server_tools.o server_tools.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o report.o report.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o tools.o tools.c
synaptics.c:888: warning: `tp_dump_report_data' defined but not used
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O3 -march=athlon-mp -pipe -O3
-march=athlon-mp -pipe -c -o lib/liblow.lo lib/liblow.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O3 -march=athlon-mp -pipe -O3
-march=athlon-mp -pipe -c -o lib/libhigh.lo lib/libhigh.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O3 -march=athlon-mp -pipe -O3
-march=athlon-mp -pipe -c -o lib/libxtra.lo lib/libxtra.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O3 -march=athlon-mp -pipe -O3
-march=athlon-mp -pipe -c -o lib/report-lib.lo lib/report-lib.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O3 -march=athlon-mp -pipe -O3
-march=athlon-mp -pipe -c -o tools.lo tools.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -DPIC -fPIC -O3 -march=athlon-mp -pipe -O3
-march=athlon-mp -pipe -c -o lib/libcurses.lo lib/libcurses.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o lib/liblow.o lib/liblow.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o lib/libhigh.o lib/libhigh.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o lib/libxtra.o lib/libxtra.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o lib/report-lib.o lib/report-lib.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o lib/libcurses.o lib/libcurses.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o prog/mev.o prog/mev.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o prog/hltest.o prog/hltest.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o prog/mouse-test.o prog/mouse-test.c
gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H
-include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\""
-DSBINDIR="\"/usr/sbin\""  -O3 -march=athlon-mp -pipe -O3 -march=athlon-mp -pipe
-c -o prog/disable-paste.o prog/disable-paste.c
make[1]: *** [prog/disable-paste.o] Illegal instruction
make[1]: *** Waiting for unfinished jobs....
rm prog/hltest.o prog/mev.o
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src'
make: *** [do-all] Error 1

!!! ERROR: sys-libs/gpm-1.20.1-r4 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
-----------------------------------------------------------------------------------------

BUT.  emerge sys-libs/gpm worked.

again w/ --emptry tree it fails

with --update, it fails at rsync
------------------------------------------------------------------
    rsync 2.6.0 configuration successful

gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c rsync.c -o
rsync.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c generator.c
-o generator.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c receiver.c
-o receiver.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c cleanup.c -o
cleanup.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c sender.c -o
sender.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c exclude.c -o
exclude.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c util.c -o util.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c main.c -o main.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c checksum.c
-o checksum.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c match.c -o
match.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c syscall.c -o
syscall.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c log.c -o log.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c backup.c -o
backup.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c options.c -o
options.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c flist.c -o
flist.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c io.c -o io.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c compat.c -o
compat.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c hlink.c -o
hlink.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c token.c -o
token.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c uidlist.c -o
uidlist.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c socket.c -o
socket.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c fileio.c -o
fileio.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c batch.c -o
batch.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c clientname.c
-o clientname.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c progress.c
-o progress.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c pipe.c -o pipe.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c params.c -o
params.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c loadparm.c
-o loadparm.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
clientserver.c -o clientserver.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c access.c -o
access.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c connection.c
-o connection.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
authenticate.c -o authenticate.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
lib/wildmatch.c -o lib/wildmatch.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c lib/compat.c
-o lib/compat.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
lib/snprintf.c -o lib/snprintf.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c lib/mdfour.c
-o lib/mdfour.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
lib/permstring.c -o lib/permstring.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/deflate.c -o zlib/deflate.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/infblock.c -o zlib/infblock.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/infcodes.c -o zlib/infcodes.o
zlib/infcodes.c: In function `inflate_codes':
zlib/infcodes.c:242: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/inffast.c -o zlib/inffast.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/inflate.c -o zlib/inflate.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make: *** [zlib/infcodes.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/rsync-2.6.0-r6 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
------------------------------------------------------------------

emerge rsync fails too.

--------------------------------------------------------------
    rsync 2.6.0 configuration successful

gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c rsync.c -o
rsync.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c generator.c
-o generator.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c receiver.c
-o receiver.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c cleanup.c -o
cleanup.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c sender.c -o
sender.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c exclude.c -o
exclude.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c util.c -o util.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c main.c -o main.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c checksum.c
-o checksum.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c match.c -o
match.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c syscall.c -o
syscall.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c log.c -o log.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c backup.c -o
backup.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c options.c -o
options.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c flist.c -o
flist.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c io.c -o io.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c compat.c -o
compat.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c hlink.c -o
hlink.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c token.c -o
token.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c uidlist.c -o
uidlist.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c socket.c -o
socket.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c fileio.c -o
fileio.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c batch.c -o
batch.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c clientname.c
-o clientname.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c progress.c
-o progress.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c pipe.c -o pipe.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c params.c -o
params.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c loadparm.c
-o loadparm.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
clientserver.c -o clientserver.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c access.c -o
access.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c connection.c
-o connection.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
authenticate.c -o authenticate.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
lib/wildmatch.c -o lib/wildmatch.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c lib/compat.c
-o lib/compat.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
lib/snprintf.c -o lib/snprintf.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c lib/mdfour.c
-o lib/mdfour.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
lib/permstring.c -o lib/permstring.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/deflate.c -o zlib/deflate.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/infblock.c -o zlib/infblock.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/infcodes.c -o zlib/infcodes.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/inffast.c -o zlib/inffast.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/inflate.c -o zlib/inflate.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/inftrees.c -o zlib/inftrees.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/infutil.c -o zlib/infutil.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c zlib/trees.c
-o zlib/trees.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c zlib/zutil.c
-o zlib/zutil.o
gcc -I. -I. -O3 -march=athlon-mp -pipe -DHAVE_CONFIG_H -Wall -W  -c
zlib/adler32.c -o zlib/adler32.o
zlib/trees.c: In function `build_tree':
zlib/trees.c:625: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into
/var/tmp/portage/rsync-2.6.0-r6/temp/cc3bKZFW.out file, please attach this to
your bugreport.
make: *** [zlib/trees.o] Error 1

!!! ERROR: net-misc/rsync-2.6.0-r6 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

**************************************************
Preprocessed Source Code is not attached because it is too long for the post. 
How can I attach it?

Expected Results:  
I am trying to follow the gentoo documentation to setup my 2nd gentoo based
system.. Last time I had to manually emerge gcc because things were out of order
( a month or so ago)  It seams that has been fixed, however I'm seeing all these
errors now.

ps Isnt emerged yet...  SSHd is running, Network is up... other then that
nothing besides the normal base system is up.. I am chrooted into /mnt/gentoo
Maybe an env settings problem?  I updated the env upon chrooting

----------------------------------------------------

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) MP 1900+
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-mp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alsa apache2 apm audiofile avi bash-completion berkdb
bitmap-fonts bzip2 cdparanoia cdr clamav clibpdf crypt cups dba dv dvd dvdr
dvdread eds emboss encode ethereal exif foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 hardened hardenedphp ieee1394 imagemagick imlib innodb ipv6
javascript jpeg kde ldap libg++ libwww mad mikmod mime mmx motif mp3 mpeg mysql
mysqli nas ncurses nls ogg oggvorbis opengl oss pam pdflib perl php png python
qt quicktime readline samba sdl soap spell ssl tcpd tiff truetype truetype-fonts
type1-fonts vcd vorbis win32codecs x86 xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

*********************************************
Comment 1 Chris 2005-08-13 09:08:28 UTC
Created attachment 65850 [details]
PreProcessed sourcecode for rsync failure from 'emerge rsync'
Comment 2 Chris 2005-08-13 09:20:06 UTC
Always seams to fail in Function src_compile Line 52, exit w/ code 2

Here's a failure from 'emerge system'

---------------------
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe isearch.c
mv rltty.o rltty.so
rm -f display.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe signals.c
../complete.c: In function `compute_lcd_of_matches':
../complete.c:1154: warning: passing arg 1 of pointer to function discards quali
fiers from pointer target type
rm -f util.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe util.c
display.c: In function `rl_character_len':
display.c:1782: warning: comparison is always true due to limited range of data
type
mv complete.o complete.so
rm -f bind.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=a
thlon-mp -pipe -fPIC -o bind.o ../bind.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe kill.c
../bind.c: In function `rl_function_of_keyseq':
../bind.c:672: warning: comparison is always true due to limited range of data t
ype
rm -f undo.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe undo.c
In file included from ../bind.c:1480:
../bind.c: In function `rl_variable_bind':
../bind.c:1476: warning: passing arg of `bool_to_int' discards qualifiers from p
ointer target type
../bind.c: In function `glean_key_from_name':
../bind.c:1662: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
rm -f macro.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe terminal.c
rm -f isearch.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=a
thlon-mp -pipe -fPIC -o isearch.o ../isearch.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe text.c
mv isearch.o isearch.so
rm -f display.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=a
thlon-mp -pipe -fPIC -o display.o ../display.c
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [bind.so] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f nls.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe nls.c
text.c: In function `_rl_insert_char':
text.c:788: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
rm -f misc.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe misc.c
../display.c: In function `rl_on_new_line':
../display.c:1516: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
rm -f compat.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [text.o] Error 1
make[1]: *** Waiting for unfinished jobs....
gcc -c -DHAVE_CONFIG_H   -I. -I. -DRL_LIBRARY_VERSION='"5.0"' -O3 -march=athlon-
mp -pipe compat.c
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/readline-5.0-r2/work/readline-5.0'
make: *** [static] Error 2
make: *** Waiting for unfinished jobs....
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [display.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/readline-5.0-r2/work/readline-5.0/s
hlib'
make[1]: *** [supported] Error 2
make[1]: Leaving directory `/var/tmp/portage/readline-5.0-r2/work/readline-5.0/s
hlib'
make: [shared] Error 2 (ignored)

!!! ERROR: sys-libs/readline-5.0-r2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
-----------------
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-08-13 11:21:42 UTC
I'd strongly suggest you look at your hardware as the source of the problem.

[snip]
../display.c: In function `rl_on_new_line':
../display.c:1516: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
[snip]

Please also always include the output of 'emerge info' with your bug reports!

Consult bug #20600, as that's a large collection of bugs caused by hardware 
troubles.

memtest86 should definetly be run overnight, and if that passes, consider 
cpuburn/mmxburn.
Comment 4 SpanKY gentoo-dev 2005-08-13 17:50:03 UTC

*** This bug has been marked as a duplicate of 20600 ***