From owner-freebsd-bugs Wed Feb 16 20: 0: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id CCC1F37B53B for ; Wed, 16 Feb 2000 20:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 40E95132EB for ; Wed, 16 Feb 2000 19:59:22 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA23896; Wed, 16 Feb 2000 20:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id 7F1BD37B53B for ; Wed, 16 Feb 2000 19:59:29 -0800 (PST) (envelope-from trost@cloud.rain.com) Received: from grey.cloud.rain.com (c1029014-a.bvrtn1.or.home.com [24.12.160.67]) by builder.freebsd.org (Postfix) with ESMTP id 00070132ED for ; Wed, 16 Feb 2000 19:58:48 -0800 (PST) Received: (qmail 25557 invoked by uid 236); 17 Feb 2000 03:59:27 -0000 Message-Id: <20000217035926.25556.qmail@grey.cloud.rain.com> Date: 17 Feb 2000 03:59:26 -0000 From: trost@cloud.rain.com Reply-To: trost@cloud.rain.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/16770: Problems building a.out's Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16770 >Category: i386 >Synopsis: Can't build a.out binaries >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 16 20:00:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Bill Trost >Release: FreeBSD 4.0-20000208-CURRENT i386 >Organization: Trost Computing >Environment: Stock 4.0-RELEASE-to-be, with all the 2.x and 3.x compat libraries. >Description: If you specify "-aout" on the cc command line, you get the error message "ld: crt0.o: No such file or directory" (or c++rt0.o if -shared is specified). >How-To-Repeat: $ echo 'main() {print("Oh, Hell World.\n");}' > foo.c $ cc -aout foo.c >Fix: Got me -- I don't understand the a.out magic well enough to start diagnosing it. If I remove crt.o from the ld command line, ld then complains about libgcc.a having bad magic -- presumably it is using the wrong library. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message