Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85835 - as failed during builds
Summary: as failed during builds
Status: RESOLVED DUPLICATE of bug 83047
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-18 16:56 UTC by romain
Modified: 2005-07-17 13:06 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 romain 2005-03-18 16:56:45 UTC
The seems to be something wrong with AS. When I compile something, every time gcc try to call as, as segfaults.

I have ran successfully memtest on my computer, and the error is not random. When i re-emerge a package that failed to build it fails at the same point.



Reproducible: Always
Steps to Reproduce:
1. emerge anything
2.
3.

Actual Results:  
>>> emerge (1 of 2) app-arch/unzip-5.52 to /
>>> md5 src_uri ;-) unzip552.tar.gz
>>> Unpacking source...
>>> Unpacking unzip552.tar.gz to /var/tmp/portage/unzip-5.52/work
>>> Source unpacked.
make unzips CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-gcc CF="-march=k8
-O3 -pipe -Wall -I. "
make[1]: Entering directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52'
x86_64-pc-linux-gnu-gcc -c -march=k8 -O3 -pipe -Wall -I.  unzip.c
x86_64-pc-linux-gnu-gcc -c -march=k8 -O3 -pipe -Wall -I.  crc32.c
x86_64-pc-linux-gnu-gcc: Erreur internal error: Erreur de segmentation
(programme as)
SVP soumettre un rapport complet d'anomalies.
Consulter <URL:http://bugs.gentoo.org/> pour les instructions.
make[1]: *** [crc32.o] Erreur 1
make[1]: *** Attente des t
Comment 1 romain 2005-03-18 16:56:45 UTC
The seems to be something wrong with AS. When I compile something, every time gcc try to call as, as segfaults.

I have ran successfully memtest on my computer, and the error is not random. When i re-emerge a package that failed to build it fails at the same point.



Reproducible: Always
Steps to Reproduce:
1. emerge anything
2.
3.

Actual Results:  
>>> emerge (1 of 2) app-arch/unzip-5.52 to /
>>> md5 src_uri ;-) unzip552.tar.gz
>>> Unpacking source...
>>> Unpacking unzip552.tar.gz to /var/tmp/portage/unzip-5.52/work
>>> Source unpacked.
make unzips CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-gcc CF="-march=k8
-O3 -pipe -Wall -I. "
make[1]: Entering directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52'
x86_64-pc-linux-gnu-gcc -c -march=k8 -O3 -pipe -Wall -I.  unzip.c
x86_64-pc-linux-gnu-gcc -c -march=k8 -O3 -pipe -Wall -I.  crc32.c
x86_64-pc-linux-gnu-gcc: Erreur internal error: Erreur de segmentation
(programme as)
SVP soumettre un rapport complet d'anomalies.
Consulter <URL:http://bugs.gentoo.org/> pour les instructions.
make[1]: *** [crc32.o] Erreur 1
make[1]: *** Attente des tâches non terminées....
x86_64-pc-linux-gnu-gcc: Erreur internal error: Erreur de segmentation
(programme as)
SVP soumettre un rapport complet d'anomalies.
Consulter <URL:http://bugs.gentoo.org/> pour les instructions.
make[1]: *** [unzip.o] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/unzip-5.52/work/unzip-5.52'
make: *** [linux_noasm] Erreur 2



Expected Results:  
Successfull build

drizzt gcc # emerge info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 21:04:04)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/co
ntrol"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/
http://gentoo.blueyonder.co.uk http://gentoo.inode.at/"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi aim bash-completion berkdb bitmap-fonts bootsplash bzip2
cdr chroot cjk crypt curl divx4linux dvd dvdr fam flac font-server fortran gif
gpm gstreamer gtk gtk2 imagemagick
 imlib ipv6 jabber java jp2 jpeg kde lzw lzw-tiff mad mp3 multilib ncurses nls
nvidia oggvorbis opengl oss pam perl png python qt readline samba ssl tcltk tcpd
tiff truetype truetype-fonts typ
e1-fonts unicode usb xinerama xml2 xmms xpm xrandr xv xvid zlib linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

dmesg says :
as[30843]: segfault at 00000000000000f0 rip 0000000000421004 rsp 000007fbfffdd60
 error 4


drizzt gcc # gcc --version
gcc (GCC) 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)

drizzt gcc # as --version
GNU assembler 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-pc-linux-gnu'.
Comment 2 SpanKY gentoo-dev 2005-03-22 08:26:42 UTC

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