From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 7 01:28:20 2004 Return-Path: <owner-freebsd-hackers@FreeBSD.ORG> 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 486E716A4CE for <freebsd-hackers@freebsd.org>; Sun, 7 Nov 2004 01:28:20 +0000 (GMT) Received: from ms05.mailstreet2003.net (MS05.mailstreet2003.net [63.251.155.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id F22C343D2D for <freebsd-hackers@freebsd.org>; Sun, 7 Nov 2004 01:28:19 +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:28:04 -0500 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC22024F6F53@ms05.mailstreet2003.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Cannot compile a simple program.. Thread-Index: AcTEaQdsfvNCJ6EMQ1C9RrIZB+ZFsw== From: "Haulmark, Chris" <chris@sigd.net> To: <freebsd-hackers@freebsd.org> Subject: 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 <freebsd-hackers.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 07 Nov 2004 01:28:20 -0000 I made a simple hello.c -------- #include<stdio.h> int main() { printf("Hello World\n"); return 0; } -------- When I do this: lrids# cc -o helloworld hello.c cc: Internal compiler error: program ld got fatal signal 11 lrids# It also creates a ld.core in the same directory. I was given this machine to configure it to run as an IDS system. After = some ports install attempts, compilings were failing. I would like to have any suggestions to figure out exactly what is = causing it. My guess is a hardware part such as processor or ram is failing. Here are some info about this machine. It was fresh install of 4.10 from a mini version of the downloaded iso = image. There is no /etc/make.conf so it's untouched. No customized kernel. It is using the GENERIC version. I tried to use gdb: --------- 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 License, and you = are welcome to change it and/or distribute copies of it under certain = conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for = details. This GDB was configured as "i386-unknown-freebsd"... "/usr/home/chaulmark/ld.core": not in executable format: File format not = recognized (gdb) quit lrids# file ld.core ld.core: ELF 32-bit LSB core file Intel 80386, version 1 (FreeBSD), = FreeBSD-style, from 'ld' lrids# --------- I'm open to any suggestions on how to pinpoint the problem. -- Chris Haulmark