From owner-freebsd-sparc64@FreeBSD.ORG Sun Apr 17 05:16:24 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FEB9106564A for ; Sun, 17 Apr 2011 05:16:24 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 184CD8FC0A for ; Sun, 17 Apr 2011 05:16:23 +0000 (UTC) Received: by vxc34 with SMTP id 34so3748670vxc.13 for ; Sat, 16 Apr 2011 22:16:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Crn+mtnj3orD3RZQ7gI2l/zfcAVbUvPhdw1steFLIW0=; b=ZckHMYzmOeawhk/va4Xf4aFMAHuB0ZQ7QHxI2vCnROQZHEl05UwkKBbsp2ns3gJrwB /n2cYbSu3SHR7K15LTZzorOeKDt8VSc03Crls1Ps+2eJISGlIx0HN3isMnk6fWe7gMuA v2VpeTsSsADSFeKY+s7bO7NP1O5J4orE4U5as= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Xwznp6jnzyAi/zY42OOByQmjNqCI8J0f4iBZQ2livExMmLnVhuUa8FWg1Sf8RQNFUm 3vA1MG2j01QcPL2LwRG2ywfg0oIQkHq68L6UK5U14I5ydCpni8KJvZ4l8+cp5JrDdS5l Ie6u467UYUXGd0NoUmdPZr1HOPbl/MYAx5c0c= MIME-Version: 1.0 Received: by 10.220.178.131 with SMTP id bm3mr1090447vcb.28.1303017383154; Sat, 16 Apr 2011 22:16:23 -0700 (PDT) Received: by 10.220.199.2 with HTTP; Sat, 16 Apr 2011 22:16:22 -0700 (PDT) In-Reply-To: References: <20110414085328.GA33206@alchemy.franken.de> Date: Sun, 17 Apr 2011 01:16:22 -0400 Message-ID: From: Super Bisquit To: Marius Strobl Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-sparc64@freebsd.org Subject: Re: Error in elf_machdep.c when building a kernel X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2011 05:16:24 -0000 The above should have been /usr/src/sys/sparc64/sparc64/elf_machdep I've disabled debugging and the defaults for CURRENT- WITNESS et al- but, the script is still searching for a non-existent executable. On 4/14/11, Super Bisquit wrote: > It was just a kernel build, no world. > You're right, the hack didn't work completely. > > "/usr/src/sys/sparc64/elf_machdep.c:100:error: 'elf64_fbsd_brandnote' > undeclared here (not in a function)" > Dump_machdep.c did work in the build process. > > I'll redo the build later. > > On 4/14/11, Marius Strobl wrote: >> On Thu, Apr 14, 2011 at 03:50:59AM -0400, Super Bisquit wrote: >>> I had noted nefore that elf64-sparc-freebsd was not found. >>> There is /usr/src/contrib/binutils/ld/emulparams/elf64_sparc.sh and >>> /usr/src/contrib/binutils/ld/emulparams/elf64_sparc_fbsd.sh >>> >>> I replaced freebsd with fbsd in the stated file and saved >>> elf_machdep.c to elf_machdep.c.old. >>> >>> I'm not sure if it will correct the problem. >> >> Sounds like you're trying to build world across the binutils update >> with an unclean object directory; you need to delete it or not use >> -DNO_CLEAN, otherwise the result likely won't work, even with your >> hack. >> >> Marius >> >> >