Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95626 - emerge openldap fails with gcc: Internal error: killed (program as)
Summary: emerge openldap fails with gcc: Internal error: killed (program as)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-09 20:05 UTC by jrhodes
Modified: 2005-07-04 08:08 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 jrhodes 2005-06-09 20:05:09 UTC
Emerge compile for net-nds/openldap-2.1.30-r2 fails while trying to execute the
following command: 

../../build/mkversion -v "2.1.30" -s -n Versionstr slapd > version.c

Reproducible: Didn't try
Steps to Reproduce:
1. emerge openldap


Actual Results:  
(assorted successful components of compile)

../../build/mkversion -v "2.1.30" -s -n Versionstr slapd > version.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o main.o
main.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
daemon.o daemon.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
connection.o connection.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
search.o search.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
filter.o filter.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o add.o
add.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o cr.o cr.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o attr.o
attr.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
entry.o entry.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
config.o config.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
backend.o backend.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
result.o result.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
operation.o operation.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o dn.o dn.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
compare.o compare.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
modify.o modify.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
delete.o delete.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
modrdn.o modrdn.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
ch_malloc.o ch_malloc.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
value.o value.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o ava.o
ava.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o bind.o
bind.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
unbind.o unbind.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
abandon.o abandon.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
filterentry.o filterentry.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
phonetic.o phonetic.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o acl.o
acl.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
str2filter.o str2filter.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
aclparse.o aclparse.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o init.o
init.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o user.o
user.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o repl.o
repl.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o lock.o
lock.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
controls.o controls.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
extended.o extended.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
kerberos.o kerberos.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
passwd.o passwd.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
schema.o schema.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
schema_check.o schema_check.c
cc -mcpu=supersparc -O2 -pipe -I../../include -I../../include       -c -o
schema_init.o schema_init.c
gcc: Internal error: Killed (program as)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [schema_init.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/openldap-2.1.30-r2/work/openldap-2.1.30/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/var/tmp/portage/openldap-2.1.30-r2/work/openldap-2.1.30/servers'
make: *** [all-common] Error 1

!!! ERROR: net-nds/openldap-2.1.30-r2 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! make failed


Expected Results:  
install openldap.

Other processes running:
irssi
bitlbeed
screen

emerge info:
Portage 2.0.51.19 (default-linux/sparc/sparc32/2005.0, gcc-3.3.5, glibc-2.3.3.20
040420-r2, 2.4.29-smp-sparc sparc)
=================================================================
System uname: 2.4.29-smp-sparc sparc sun4m
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  5 2005, 03:09:06)
]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.23
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=supersparc -O2 -pipe"
CHOST="sparc-unknown-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="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc -X arts berkdb bitmap-fonts crypt cups dlloader fbcon foomaticdb
fortran gdbm gif gpm libwww mad mikmod motif mpeg ncurses nls opengl pam perl
png python readline slang spell ssl tcpd truetype truetype-fonts type1-fonts xv
zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

uname -a:
Linux viking 2.4.29-smp-sparc #6 SMP Fri May 13 20:27:37 EST 2005 sparc sun4m
Texas Instruments, Inc. - SuperSparc-(II) GNU/Linux

Also, unsure if this is related: system underwent a watchdog reset roughly 10
minutes after the build failed.
Comment 1 jrhodes 2005-06-09 20:09:29 UTC
Note: Didn't try to reproduce it yet because of how long it takes. Will try
again tomorrow and update the bug report if my results change.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-07-03 07:37:32 UTC
I'd strongly suspect your hardware here, not openldap.
It builds fine on every machine I have access to.

Passing this over to sparc as that's your arch, but I suspect they will close 
it as a dupe of bug 20600.
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2005-07-04 08:08:19 UTC
Actually it's not the hardware, it's the kernel/toolchain.
sparc32 isn't quite supported, i'll close as LATER in case some sparc dev or
someone decides to beat sparc32 into shape.