Date: Sat, 6 Nov 2004 20:36:51 -0500 From: "Haulmark, Chris" <chris@sigd.net> To: "Haulmark, Chris" <chris@sigd.net>, <freebsd-hackers@freebsd.org> Subject: RE: Cannot compile a simple program.. Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC22024F6F56@ms05.mailstreet2003.net>
next in thread | raw e-mail | index | archive | help
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. > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org > [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of > Haulmark, Chris > Sent: Saturday, November 06, 2004 7:28 PM > To: freebsd-hackers@freebsd.org > Subject: Cannot compile a simple program.. > > > 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 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6FC9F9894A9F8C49A722CF9F2132FC22024F6F56>
