From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 7 01:36:59 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1324716A4CE for ; Sun, 7 Nov 2004 01:36:58 +0000 (GMT) Received: from ms05.mailstreet2003.net (MS05.mailstreet2003.net [63.251.155.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B3CE43D2D for ; Sun, 7 Nov 2004 01:36:58 +0000 (GMT) (envelope-from chris@sigd.net) X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sat, 6 Nov 2004 20:36:51 -0500 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC22024F6F56@ms05.mailstreet2003.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cannot compile a simple program.. Thread-Index: AcTEaQdsfvNCJ6EMQ1C9RrIZB+ZFswAARi6A From: "Haulmark, Chris" To: "Haulmark, Chris" , Subject: RE: Cannot compile a simple program.. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 01:36:59 -0000 Disregard this. Just found a link. http://www.bitwizard.nl/sig11/ This was in the OutBox and I thought I deleted it before it was sent.=20 > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org=20 > [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of=20 > Haulmark, Chris > Sent: Saturday, November 06, 2004 7:28 PM > To: freebsd-hackers@freebsd.org > Subject: Cannot compile a simple program.. >=20 >=20 > I made a simple hello.c >=20 > -------- >=20 > #include >=20 > int main() > { > printf("Hello World\n"); > return 0; > } >=20 > -------- >=20 > When I do this: >=20 > lrids# cc -o helloworld hello.c > cc: Internal compiler error: program ld got fatal signal 11 > lrids# >=20 > It also creates a ld.core in the same directory. >=20 > I was given this machine to configure it to run as an IDS=20 > system. After some ports install attempts, compilings were failing. >=20 > I would like to have any suggestions to figure out exactly=20 > what is causing it. >=20 > My guess is a hardware part such as processor or ram is failing. >=20 > Here are some info about this machine. >=20 > It was fresh install of 4.10 from a mini version of the=20 > downloaded iso image. >=20 > There is no /etc/make.conf so it's untouched. >=20 > No customized kernel. It is using the GENERIC version. >=20 > I tried to use gdb: >=20 > --------- > lrids# gdb ld.core > GNU gdb 4.18 (FreeBSD) > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public=20 > License, and you are > welcome to change it and/or distribute copies of it under=20 > certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show=20 > warranty" for details. > This GDB was configured as "i386-unknown-freebsd"... >=20 > "/usr/home/chaulmark/ld.core": not in executable format: File=20 > format not recognized >=20 > (gdb) quit > lrids# file ld.core > ld.core: ELF 32-bit LSB core file Intel 80386, version 1=20 > (FreeBSD), FreeBSD-style, from 'ld' > lrids# >=20 > --------- >=20 > I'm open to any suggestions on how to pinpoint the problem. >=20 > -- > Chris Haulmark > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to=20 > "freebsd-hackers-unsubscribe@freebsd.org" >=20