From owner-freebsd-arm@FreeBSD.ORG Sun Aug 2 18:45:08 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B90A1065674 for ; Sun, 2 Aug 2009 18:45:08 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id BEC978FC16 for ; Sun, 2 Aug 2009 18:45:07 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.14.3/8.14.3) with ESMTP id n72Ij6pt094850 for ; Sun, 2 Aug 2009 13:45:06 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1249238707; bh=Q4ITBWZIlSdfLg8g8k9/a9qWUXcW60l2uUHurQDLnDk=; h=Date:From:Message-Id:To:Subject; b=gOWVh8TZ+KRphIV7lgNRSfoYVJUQgewLDZvs96v0ESTD9lECENxocdcVX7tNIcTon 3jimZLHwrQlPjv16+2yuCYkhcJCHIITGrbMbr3sK2/DGUE0NyWQC9mVP0FouxF7W2K ZKg4g1HU5k7EWij8Oa65xSVwgLlVmnwsGl5qEeqo= Received: (from tinguely@localhost) by casselton.net (8.14.3/8.14.2/Submit) id n72Ij6Nn094849 for freebsd-arm@freebsd.org; Sun, 2 Aug 2009 13:45:06 -0500 (CDT) (envelope-from tinguely) Date: Sun, 2 Aug 2009 13:45:06 -0500 (CDT) From: Mark Tinguely Message-Id: <200908021845.n72Ij6Nn094849@casselton.net> To: freebsd-arm@freebsd.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.2 (casselton.net [127.0.0.1]); Sun, 02 Aug 2009 13:45:07 -0500 (CDT) Subject: FYI: elf_trampoline.c rev 194609 breaks PXA gcc 4.5/binutils 2.19 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2009 18:45:08 -0000 I have a copy of the GCC 4.5 compilers (ARM/i386) and binutils 2.19 (ARM only) that have been ported to gnu/usr.bin/ (BSD makefiles). I have been using the compiler for several weeks and the binutils is realitively new. The source that I have been testing are my local mods to an old code base. Thinking it is time to move the mods to the newest kernel code, last week I tried the current head GUMSTIX kernel sources and found the compiled kernel would no longer boot under the QEMU. It took me a long time to isolate, I even build new versions of qemu, gcc 4.5, and binutiils 2.19, but I finally isolated the problem to the file sys/arm/arm/elf_trampoline.c revision 94609. I suspect, the lack MMU enable in the __start routine. This code still works with the built-in gcc 4.2.1/binutils 2.15, so this is just a FYI. --Mark Tinguely.