From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 8 05:12:17 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 3255F16A4CE for ; Wed, 8 Dec 2004 05:12:17 +0000 (GMT) Received: from a.mx.ict1.everquick.net (a.mx.ict1.everquick.net [67.67.61.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E224043D2D for ; Wed, 8 Dec 2004 05:12:16 +0000 (GMT) (envelope-from eddy+public+spam@noc.everquick.net) Received: from a.mx.ict1.everquick.net (localhost [127.0.0.1]) iB85CHJI018162 for ; Wed, 8 Dec 2004 05:12:17 GMT X-Everquick-No-Abuse-1: Report any email abuse to or X-Everquick-No-Abuse-2: call +1 (785) 865-5885. Please be sure to reference X-Everquick-No-Abuse-3: the Message-Id and include GMT timestamps. Received: from localhost (eddy@localhost)iB85CGsR018159 for ; Wed, 8 Dec 2004 05:12:16 GMT X-Authentication-Warning: a.mx.ict1.everquick.net: eddy owned process doing -bs Date: Wed, 8 Dec 2004 05:12:16 +0000 (GMT) From: "Edward B. Dreger" X-X-Sender: eddy@a.mx.ict1.everquick.net To: freebsd-hackers@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: kernel not linking (4.10-R + GCC-3.3.5 + binutils-2.15) 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: Wed, 08 Dec 2004 05:12:17 -0000 Greetings, Apologies in advance if this is better suited for another forum. I have a mostly-stock 4.10-RELEASE system, save for GCC 3.3.5 and binutils 2.15. After bootstrapping the GCC/binutils builds with stock versions, I self-built the new GCC and binutils. I can compile and link most software without trouble. Building a kernel apparently works fine[1] until the linking stage, when I receive linking kernel ld: target elf32-i386 not found *** Error code 1 Any hints on how I've managed to screw up binutils? [1] A few source files required slight modifications (mostly re preprocessor stringification and switch statements), and I removed -fformat-extensions from CWARNFLAGS in bsd.kern.mk. I'd bet money that these aren't the problems; I only mention it because I don't want anyone to try replacing their toolchain and getting highly annoyed. TIA, Eddy -- Everquick Internet - http://www.everquick.net/ A division of Brotsman & Dreger, Inc. - http://www.brotsman.com/ Bandwidth, consulting, e-commerce, hosting, and network building Phone: +1 785 865 5885 Lawrence and [inter]national Phone: +1 316 794 8922 Wichita ________________________________________________________________________ DO NOT send mail to the following addresses: davidc@brics.com -*- jfconmaapaq@intc.net -*- sam@everquick.net Sending mail to spambait addresses is a great way to get blocked.