From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 31 00:02:00 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7E250F15; Sun, 31 Mar 2013 00:02:00 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 306CE15A; Sun, 31 Mar 2013 00:02:00 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id wd20so1129636obb.37 for ; Sat, 30 Mar 2013 17:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=dg3zakqtOUNC5DWD8GrQxhhR2zNp9Zrtzq1ObI2XVtg=; b=AmSBN5Oie+qoev9HMmCE8x97mveDdJLSALxiFca/BAvxe5xvevlnPKGssg/0l1tz2B 5hqp46+gGa6eQQPfhmcEoxxoKp03QWQo3rmiLI3mhjvEei92Up+qCyGX1ySrsiunh59d soJg75dwQUO0aauDRDVgTmBC5cOlFxrg2HELqkVspmhspZrFXcV3iJQgoM8JKnTtdXIr hBxiSEIxJOiGtGjpsW/5MfvqiysjN1y6S/o+xwvsslBHUwFpHPcYf6pMFl2N85a9QVQe ziYuVIjp/+CMa/81tOWElMpGIv1kgfvUfuK3kmdhGSTeT3WNkRCybQc0CXWXd4lqDlXu 5NKw== MIME-Version: 1.0 X-Received: by 10.60.133.75 with SMTP id pa11mr2372790oeb.70.1364688119762; Sat, 30 Mar 2013 17:01:59 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Sat, 30 Mar 2013 17:01:59 -0700 (PDT) In-Reply-To: <20130330230931.GA1548@glenbarber.us> References: <20130330020311.GB1687@glenbarber.us> <20130330093352.58bb5539@X220.ovitrap.com> <20130330230931.GA1548@glenbarber.us> Date: Sat, 30 Mar 2013 20:01:59 -0400 Message-ID: Subject: Re: Question on building from sources. From: Super Bisquit To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Erich Dollansky , freebsd-current , FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 00:02:00 -0000 That was the error that came up, apologies for not specifying such. I'm not trying to disable clang but am trying to build the system using what is there. This is about the time I need a powerpc laptop or a connection...... On Sat, Mar 30, 2013 at 7:09 PM, Glen Barber wrote: > On Sat, Mar 30, 2013 at 07:05:47PM -0400, Super Bisquit wrote: > > Okay. I already have 10.0 on the machine from a year ago. What I have > come > > up against is CLANG_IS_CC ="no" when trying to build run(4). > > If you are trying to disable clang, you want to use: > > WITHOUT_CLANG_IS_CC=yes > > > What is the current state of clang as cc compiler on ppc32? <-- This > needs > > to be fixed first. > > I am not aware of any problems. > > Glen > > > Thanks for the replies and sorry for any noise. > > > > > > > > On Fri, Mar 29, 2013 at 10:33 PM, Erich Dollansky < > > erichsfreebsdlist@alogt.com> wrote: > > > > > Hi, > > > > > > On Fri, 29 Mar 2013 22:03:11 -0400 > > > Glen Barber wrote: > > > > > > > On Fri, Mar 29, 2013 at 09:31:12PM -0400, Super Bisquit wrote: > > > > > I have my QuickSilver and no internet connection. I have a few > > > > > questions. 1. Do I download the latest for PowerPC(32bit) and then > > > > > download the sources according to the Makefile. > > > > > > > > For ports, yes, you will to do 'make fetch' or 'make fetch-recursive' > > > > for third-party software you want to install. > > > > > > > yes. > > > > > > > > 3. Has anyone else done this before? If yes, then what were your > > > > > results? > > > > > > > > > > > > > It is painful. My suggestion is to identify everything you > absolutely > > > > need, and do from a separate machine with internet access: > > > > > > > I do this all the while as I have only random Internet connection. But > > > I do this only for amd64. It works most of the time. Expect some > > > returns to the machine with an Internet connection. > > > > > > > Note that if anything is missing, build will fail at compile time on > > > > the internet-less machine. > > > > > > This should only be a problem for the ports. The sources can easily be > > > downloaded in one go. > > > > > > Erich > > > > From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 31 00:10:39 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D7168128; Sun, 31 Mar 2013 00:10:39 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8C0198; Sun, 31 Mar 2013 00:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=Dz8C6F+CjVItQvczKXQ0nHcokBDpwH6v0/GcroBtGX0=; b=dR3vXV9PQOzgzOFBHVOrvZLT009dBD+0I0NJkvWUs6+4KvsBVf9owt75wx+xTHjzqZZUHeeGQ+EIQAJFTDV3Lz4Dz2+UY9iSoz73g8N6ORPou7rvZ9SMofiyyQAoHIUjodudXjH5P+hqMThPbI9mcTin/Qbni/yRPrZcUqePpmQ=; Received: from [122.129.203.50] (port=57431 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UM5qy-001kdi-E1; Sat, 30 Mar 2013 18:10:33 -0600 Date: Sun, 31 Mar 2013 07:10:16 +0700 From: Erich Dollansky To: Super Bisquit Subject: Re: Question on building from sources. Message-ID: <20130331071016.3b0b3d9d@X220.ovitrap.com> In-Reply-To: References: <20130330020311.GB1687@glenbarber.us> <20130330093352.58bb5539@X220.ovitrap.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Glen Barber , freebsd-current , FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 00:10:39 -0000 Hi, On Sat, 30 Mar 2013 19:05:47 -0400 Super Bisquit wrote: > Okay. I already have 10.0 on the machine from a year ago. What I have this sounds a bit old. > come up against is CLANG_IS_CC ="no" when trying to build run(4). > What is the current state of clang as cc compiler on ppc32? <-- This > needs to be fixed first. I do not use FreeBSD on any thing else but AMD64. > Thanks for the replies and sorry for any noise. Isn't the noise the idea behind this mailing list? Erich From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 31 19:35:42 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6680E22A for ; Sun, 31 Mar 2013 19:35:42 +0000 (UTC) (envelope-from julio@meroh.net) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id DC1B9BE5 for ; Sun, 31 Mar 2013 19:35:41 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id fq12so1650268lab.19 for ; Sun, 31 Mar 2013 12:35:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=/zaIXf1qcJujfNL3iYVHTybIPbDO+kOsUWyrmuISwOs=; b=Qs/GV6fWWtD1lCdQhTPVRsFPSwxAFqCMIZu57xft65G0oPUpEDcv+o+zfyRQ4miA85 bRggQ8XcoGmERiXttEggpjjeBjUo+uX2VY5iQTNNqVS+fFeAp83Ree8cyYF1Td0KOgE9 buv/9uvyAfW5APwxLuQib8Z6GU3e9IOsFwMVYqmIicHcGP3PgiXCpuNTrRVLi2Ogq4y1 1HRq7LhnXUIk36QGJpEXpUs3pf7yZgbUWUlx7YSWcRCNEZTh4Mu3fodYCqWzpxYGClRe EqkxW3OySX8mW3hyKTm9ypFW97qGXnc4T0XbRm/v7aDRbIohtPDzR7Gg0dGlO6JH2mgE A3KQ== X-Received: by 10.112.147.67 with SMTP id ti3mr1805404lbb.124.1364758540580; Sun, 31 Mar 2013 12:35:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.18.104 with HTTP; Sun, 31 Mar 2013 12:35:20 -0700 (PDT) X-Originating-IP: [108.176.158.82] From: Julio Merino Date: Mon, 1 Apr 2013 04:35:20 +0900 Message-ID: Subject: Machine shutting down due to temperature issue To: freebsd-ppc@freebsd.org X-Gm-Message-State: ALoCoQmKxDNz6yvJC5r/TCYN/+32JRybFhueduIFX5ixUrP3Ja2Or+YMbkEY+Vnr56v+npuykAMn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 19:35:42 -0000 Hello, I have a PowerMac G5 (dual PPC 970FX 2Ghz, 6GB of RAM) and recently installed FreeBSD powerpc64 9.1-RELEASE on it. Everything is working pretty nicely but I keep running into the following issue (which unfortunately makes the machine not very usable because I cannot build some software I want): Whenever I try to build pcre, the machine shuts down with this message: WARNING: Current temperature (U3 HEATSINK: 82.5 C) exceeds critical temperature (80.0 C)! Shutting down! The few information I've been able to find online about the U3 heatsink is that it is related to the memory... and the fact that the machine powers down reliably during the build of a particularly memory-intensive source file in pcre seems to explain this. Another data point that may be related is that powerd is enabled in rc.conf but it fails to start with: powerd: lookup freq: No such file or directory Any ideas about what's up with this temperature issue? Is power management not implemented for the G5, does it have a problem or is the machine faulty? I had Linux running on this machine for a while and I didn't experience any such issues. Granted, I didn't build pcre, but I used it as a desktop with other memory-hungry applications and it behaved nicely. Thanks! -- Julio Merino / @jmmv From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 31 20:36:44 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 69D10BEC for ; Sun, 31 Mar 2013 20:36:44 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3C839E35 for ; Sun, 31 Mar 2013 20:36:44 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i18so1557186oag.29 for ; Sun, 31 Mar 2013 13:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=NQGnx+ck5w0xBKTPAylof98sEHVLVmZwra50PkJ4Gpk=; b=0aLWVQl6dgdypkebhiryo0h0JCJXbbPZuDTxOXyjZjFydh5zR/R41CzjSDuuw9mU6A UlEhjFkw09lkKMAIUz+SHc66DJfkE0lK0HPCaL4ZQPqhBbJHq09JPvu9P/woN/7kNWm0 mCJLz8iTc7SmtAbVaf+P3EGyk3mq1Bde493bdG0LrpPWq6qsRNG1nToduLtxmMxgelpT ZUJLUo0HSqU7s8EtEkSb7XpU2wjcAEqXMUrXUyEhC+0reIkzE0TnZDsb7Q6h4LbIba67 K4RrUkrzMI5cnMAkfuxOEnctGLtiE46qWxosCjIPbZFbiGPk3OaNGN1nsDkjIO1ZR1J0 eoow== MIME-Version: 1.0 X-Received: by 10.60.93.105 with SMTP id ct9mr695093oeb.70.1364762202690; Sun, 31 Mar 2013 13:36:42 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Sun, 31 Mar 2013 13:36:42 -0700 (PDT) Date: Sun, 31 Mar 2013 16:36:42 -0400 Message-ID: Subject: Rebuilding 10 From: Super Bisquit To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 20:36:44 -0000 The version of 10.0 from a year ago has the error of clang not being accepted for cc- I wrote about this in a recent post to here and current. Has this been fixed in the current version of 10? From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 1 02:14:48 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E239C935; Mon, 1 Apr 2013 02:14:48 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id 94096DD8; Mon, 1 Apr 2013 02:14:48 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id er7so1552425obc.21 for ; Sun, 31 Mar 2013 19:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=7CKe9fcvaZZ81YeiwbsedV2xA/HsBoEDT0UHnoLieAI=; b=VmbeNK7dnD2gUC/TvSbN5LeB4ePo4/eAlV6pwsRrOUcYiamV/nJ3o62PiEI1QuJRe4 MB4lwvJyB6C0xltYl3YbnhPgas9Es/0uzAD1KNUVwmobOUgw3qoX5ZybRlwDwDjfkyvK DcbzB2eoBq1gev7hiR7XTEULSq9tFykGHzHELj1yk1/ikBscscn9oTpvKgxFRoJVs7Xz x58yUjK+yShBm/7NUcvOw7Oj/Ipv/zflmB9SMGJLdt9+ALGATJebv5mzP9iSpKft4shH KvB3w5j1mmkj36LxQDZALtneSDlIMqQuKEYZpEGMmornWUaA7Q/cCYqs9J574cglugQ6 qrBg== MIME-Version: 1.0 X-Received: by 10.182.116.70 with SMTP id ju6mr3348864obb.48.1364782488160; Sun, 31 Mar 2013 19:14:48 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Sun, 31 Mar 2013 19:14:48 -0700 (PDT) In-Reply-To: <20130331071016.3b0b3d9d@X220.ovitrap.com> References: <20130330020311.GB1687@glenbarber.us> <20130330093352.58bb5539@X220.ovitrap.com> <20130331071016.3b0b3d9d@X220.ovitrap.com> Date: Sun, 31 Mar 2013 22:14:48 -0400 Message-ID: Subject: Re: Question on building from sources. From: Super Bisquit To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Glen Barber , freebsd-current , FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 02:14:49 -0000 Make fetch-recursive stops due to the vulnerability found in perl versions 5.8 to 5.16.3. What's the current status? Are there any patches? On Sat, Mar 30, 2013 at 8:10 PM, Erich Dollansky < erichsfreebsdlist@alogt.com> wrote: > Hi, > > On Sat, 30 Mar 2013 19:05:47 -0400 > Super Bisquit wrote: > > > Okay. I already have 10.0 on the machine from a year ago. What I have > > this sounds a bit old. > > > come up against is CLANG_IS_CC ="no" when trying to build run(4). > > What is the current state of clang as cc compiler on ppc32? <-- This > > needs to be fixed first. > > I do not use FreeBSD on any thing else but AMD64. > > > Thanks for the replies and sorry for any noise. > > Isn't the noise the idea behind this mailing list? > > Erich > From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 1 11:06:48 2013 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ED9E88EC for ; Mon, 1 Apr 2013 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DF82B33E for ; Mon, 1 Apr 2013 11:06:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r31B6m9U033760 for ; Mon, 1 Apr 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r31B6mlE033758 for freebsd-ppc@FreeBSD.org; Mon, 1 Apr 2013 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 1 Apr 2013 11:06:48 GMT Message-Id: <201304011106.r31B6mlE033758@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/175151 ppc Loader fails to load modules on PPC64 o power/170340 ppc Enabling geom-mirror on 9.1-powerpc64 prevents the sys o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/161045 ppc X doesn't detect ADB mouse up event until another even o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 10 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 1 14:39:12 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 39575318 for ; Mon, 1 Apr 2013 14:39:12 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 1680A9C7 for ; Mon, 1 Apr 2013 14:39:11 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0MKK00H00VPZNK00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 01 Apr 2013 08:39:05 -0500 (CDT) X-Spam-PmxInfo: Server=avs-1, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.4.1.132729, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-67-228.dsl.mdsnwi.sbcglobal.net [76.208.67.228]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MKK008OFWL3KH10@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 01 Apr 2013 08:39:04 -0500 (CDT) X-Wisc-Sender: whitehorn@wisc.edu Message-id: <51598DF7.4030008@freebsd.org> Date: Mon, 01 Apr 2013 08:39:03 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130401 Thunderbird/17.0.4 To: freebsd-ppc@freebsd.org Subject: Re: Rebuilding 10 References: In-reply-to: X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 14:39:12 -0000 On 03/31/13 15:36, Super Bisquit wrote: > The version of 10.0 from a year ago has the error of clang not being > accepted for cc- I wrote about this in a recent post to here and current. > Has this been fixed in the current version of 10? > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" What do you mean by "accepted"? You can do it, but there are a few bugs the last time I tried. PPC64 clang is further along (all of world builds and runs properly due to incredible effort by Roman Divacky) but even there the kernel has some weird behavior in the USB stack. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 1 15:24:03 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 0D36243A; Mon, 1 Apr 2013 15:24:03 +0000 (UTC) Date: Mon, 1 Apr 2013 15:24:03 +0000 From: Alexey Dokuchaev To: Nathan Whitehorn Subject: Re: Rebuilding 10 Message-ID: <20130401152403.GC75193@FreeBSD.org> References: <51598DF7.4030008@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <51598DF7.4030008@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 15:24:03 -0000 On Mon, Apr 01, 2013 at 08:39:03AM -0500, Nathan Whitehorn wrote: > On 03/31/13 15:36, Super Bisquit wrote: > >The version of 10.0 from a year ago has the error of clang not being > >accepted for cc- I wrote about this in a recent post to here and current. > >Has this been fixed in the current version of 10? > > What do you mean by "accepted"? You can do it, but there are a few > bugs the last time I tried. PPC64 clang is further along (all of > world builds and runs properly due to incredible effort by Roman > Divacky) but even there the kernel has some weird behavior in the > USB stack. Nathan (and others), Please trim your replies correctly. Particularly, mailman footer definitely should not be quoted. Thank you, ./danfe From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 1 16:43:02 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A6870F44 for ; Mon, 1 Apr 2013 16:43:02 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8329121A for ; Mon, 1 Apr 2013 16:43:02 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0MKL009004AOFH00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 01 Apr 2013 11:43:02 -0500 (CDT) X-Spam-PmxInfo: Server=avs-1, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.4.1.163018, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from terminus.icecube.wisc.edu (i3-user-nat.icecube.wisc.edu [128.104.255.12]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MKL001S153OOQ20@smtpauth1.wiscmail.wisc.edu>; Mon, 01 Apr 2013 11:43:00 -0500 (CDT) X-Wisc-Sender: whitehorn@wisc.edu Message-id: <5159B914.1090209@freebsd.org> Date: Mon, 01 Apr 2013 11:43:00 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130312 Thunderbird/17.0.4 To: Julio Merino Subject: Re: Machine shutting down due to temperature issue References: In-reply-to: Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 16:43:02 -0000 On 03/31/13 14:35, Julio Merino wrote: > Hello, > > I have a PowerMac G5 (dual PPC 970FX 2Ghz, 6GB of RAM) and recently > installed FreeBSD powerpc64 9.1-RELEASE on it. Everything is working pretty > nicely but I keep running into the following issue (which unfortunately > makes the machine not very usable because I cannot build some software I > want): > > Whenever I try to build pcre, the machine shuts down with this message: > > WARNING: Current temperature (U3 HEATSINK: 82.5 C) exceeds critical > temperature (80.0 C)! Shutting down! > > The few information I've been able to find online about the U3 heatsink is > that it is related to the memory... and the fact that the machine powers > down reliably during the build of a particularly memory-intensive source > file in pcre seems to explain this. > > Another data point that may be related is that powerd is enabled in rc.conf > but it fails to start with: > > powerd: lookup freq: No such file or directory > > Any ideas about what's up with this temperature issue? Is power management > not implemented for the G5, does it have a problem or is the machine faulty? > > I had Linux running on this machine for a while and I didn't experience any > such issues. Granted, I didn't build pcre, but I used it as a desktop with > other memory-hungry applications and it behaved nicely. > > Thanks! > I'd guess a faulty fan on the U3 (which is the northbridge), but it's possible there is something else at work. Could you forward the output of sysctl dev.fcu? -Nathan From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 10:51:25 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7F35995E for ; Tue, 2 Apr 2013 10:51:25 +0000 (UTC) (envelope-from julio@meroh.net) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id F00F2956 for ; Tue, 2 Apr 2013 10:51:24 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id fr10so253041lab.12 for ; Tue, 02 Apr 2013 03:51:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:in-reply-to:references :from:date:message-id:subject:to:cc:content-type:x-gm-message-state; bh=YttoGgLlsKsVZ8uEYZSJGhauYHNurhJPwyRHLV5+JWk=; b=bdOs9O5a0Xgq6a6YYNPs78p5i2yqvxiDAfGrcOxTtgCQBc5OW+jOyhkO0wiMnuLIv8 jxHeg+VLkjrFhKZnF7awxPRF9jlgz4YywyJVzsPkSPhFJmZP4vgz7FZP8mGADCyPHJ7h ihd5npU2KRdxlQtF5m+WkB3XDtX+8ZiC+Pe7vCA2TeUj/rKI+5n1GSPJvnFXWw5U4Tif JM5msNww8BZRPKOQXt1gLDuBxnGuC9lFh+W3USwb8DlTUpDTk5nN7Z0N4eSboxVR4z/t 29DmgqfUeHuK78VpWbpUJPuD8uMwn34q9tQ3NWrxYlMIVDGWZGchrCoRTq2PEWn4dgJ3 fKPQ== X-Received: by 10.112.156.42 with SMTP id wb10mr3919582lbb.32.1364899882214; Tue, 02 Apr 2013 03:51:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.18.104 with HTTP; Tue, 2 Apr 2013 03:51:02 -0700 (PDT) X-Originating-IP: [108.176.158.82] In-Reply-To: <5159B914.1090209@freebsd.org> References: <5159B914.1090209@freebsd.org> From: Julio Merino Date: Tue, 2 Apr 2013 19:51:02 +0900 Message-ID: Subject: Re: Machine shutting down due to temperature issue To: Nathan Whitehorn X-Gm-Message-State: ALoCoQkA2BbnYJ030OePDKbC6ivPJJ3KOHGYLGis5TaURcbkjQIoE4LXAgLQ2SDIP/c1m5m+Yz/r Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 10:51:25 -0000 On Tue, Apr 2, 2013 at 1:43 AM, Nathan Whitehorn wrote: > I'd guess a faulty fan on the U3 (which is the northbridge), > I'll take a look... assuming I can find that fan. The last time I tried to hunt this down I saw no fans on the motherboard. Are you sure it exists? Any pictures on where to find it? iFixit didn't help. This is a dual 2GHz PowerMac G5. > but it's possible there is something else at work. > I've been attempting to rebuild that particular file in pcre (libpcre16_la-pcre16_exec.lo, although I'm not sure if it's the same as always) now and paused the compiler with Ctrl+Z every 5 seconds while allowing the machine to rest. In one of these short bursts of activity, the problem reappeared. Doing the same but pausing every 3 seconds allowed it to complete. Otherwise, I've been building lots of other software (including a buildworld!) successfully. Which is what I find weird... > Could you forward the output of sysctl dev.fcu? > dev.fcu.0.%desc: Apple Fan Control Unit dev.fcu.0.%driver: fcu dev.fcu.0.%location: addr=0x15e dev.fcu.0.%pnpinfo: name=fan compat=fcu dev.fcu.0.%parent: iicbus0 dev.fcu.0.fans.cpu_a_intake.minrpm: 600 dev.fcu.0.fans.cpu_a_intake.maxrpm: 7000 dev.fcu.0.fans.cpu_a_intake.rpm: 576 dev.fcu.0.fans.cpu_a_exhaust.minrpm: 600 dev.fcu.0.fans.cpu_a_exhaust.maxrpm: 7000 dev.fcu.0.fans.cpu_a_exhaust.rpm: 576 dev.fcu.0.fans.cpu_b_intake.minrpm: 600 dev.fcu.0.fans.cpu_b_intake.maxrpm: 7000 dev.fcu.0.fans.cpu_b_intake.rpm: 576 dev.fcu.0.fans.cpu_b_exhaust.minrpm: 600 dev.fcu.0.fans.cpu_b_exhaust.maxrpm: 7000 dev.fcu.0.fans.cpu_b_exhaust.rpm: 576 dev.fcu.0.fans.drive_bay.minrpm: 600 dev.fcu.0.fans.drive_bay.maxrpm: 7000 dev.fcu.0.fans.drive_bay.rpm: 576 dev.fcu.0.fans.slot.minpwm: 30 dev.fcu.0.fans.slot.maxpwm: 100 dev.fcu.0.fans.slot.pwm: 33 dev.fcu.0.fans.slot.rpm: 1160 dev.fcu.0.fans.backside.minpwm: 30 dev.fcu.0.fans.backside.maxpwm: 100 dev.fcu.0.fans.backside.pwm: 53 dev.fcu.0.fans.backside.rpm: 2184 I don't think I've seen any of the fan speeds go up... and those 576 numbers, being out of range, seem strange. -- Julio Merino / @jmmv From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 18:53:47 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9EF7092E; Tue, 2 Apr 2013 18:53:47 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by mx1.freebsd.org (Postfix) with ESMTP id 62874CC; Tue, 2 Apr 2013 18:53:47 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i18so721627oag.15 for ; Tue, 02 Apr 2013 11:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=aVri2knoT7q3q9m2D2Jsw0R8AQY8xWfcpBPT05683KE=; b=QbY0JNJ5F9YQj6bJwZW7xNwCs2HwAYQ4q6MkZghnUs5VxC6R+GgIa3yEYT+4nX83la e5/Fts1Nz25lvfXJ1UlnJfA72tGs6j+tmci9kriuVemI/NDe0jcFZIS5ChqPgeMmf3vL OTCnJvJGpp2jT/TliVJhO9kSUuvD505F+FgM6WfV/pjDh684sRzbvP4eVA6ZyP3//rHd MITOuhXN09IkCt35rhZgVMEpQOqCdim3V/3kf8H9fafyvHWycVD1+WpH677h72VpwRF6 2HsxYsm+OwmXfUplI9l7UI7I51o4ugMqwYGPfAPmYmGQ1MgX/UImupW+RwVy6PpXM4Vz m9DA== MIME-Version: 1.0 X-Received: by 10.60.32.134 with SMTP id j6mr6099819oei.15.1364928820979; Tue, 02 Apr 2013 11:53:40 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Tue, 2 Apr 2013 11:53:40 -0700 (PDT) In-Reply-To: <51598DF7.4030008@freebsd.org> References: <51598DF7.4030008@freebsd.org> Date: Tue, 2 Apr 2013 14:53:40 -0400 Message-ID: Subject: Re: Rebuilding 10 From: Super Bisquit To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 18:53:47 -0000 I haven't downloaded the latest src.txz for 10 ppc32 due to a few constraints. I'm just wondering if the make and clang has improved since then. Will src.txz from ppc64 work on a G4 7450 933MHz? And about the perl vulnerability, has that been worked aroundd as of yet? If so, then what ports.txz version - and download link- will have it? On Mon, Apr 1, 2013 at 9:39 AM, Nathan Whitehorn wrote: > On 03/31/13 15:36, Super Bisquit wrote: > >> The version of 10.0 from a year ago has the error of clang not being >> accepted for cc- I wrote about this in a recent post to here and current. >> Has this been fixed in the current version of 10? >> ______________________________**_________________ >> freebsd-ppc@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@**freebsd.org >> " >> > > What do you mean by "accepted"? You can do it, but there are a few bugs > the last time I tried. PPC64 clang is further along (all of world builds > and runs properly due to incredible effort by Roman Divacky) but even there > the kernel has some weird behavior in the USB stack. > -Nathan > ______________________________**_________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@**freebsd.org > " > From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 20:15:18 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 061131AE; Tue, 2 Apr 2013 20:15:18 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id BC88376C; Tue, 2 Apr 2013 20:15:17 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id vb8so737539obc.10 for ; Tue, 02 Apr 2013 13:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=GQ5fiN4WNjiSR4y0Ves1v5ba+4uXl0CHdvDKrz8c3TM=; b=C/HuSV3fLox7mOGPZGSasEGgjDg/SHLEA49/6wIzrFFcC/riOTONIN1LonM0X2KSLf wQDgv6Bl8eRPEq+h2u4rHu2GkhGSxXZrHYmkb7NQkRifuHm3fyKRHA5/iPhgCdKENjcQ zySMHqLBAsr6yftSxaAIA1UCqJVf/hqiBPo9ZlvUfPEtk4MblitzRE2xcj7Jnvf7jcYf 7NTvX+5/x7EyheBim8IYBFk3LSG8QExF5cm4vglqXCKuXSrKtFOoWlcYCV1bqL4IRaoW 9Tkk9pc+2GcehjdGjjJpQba9jfBj8ENv7NyrAiS6SbXyUQ7qxidzs62TpLJYaNPV5O4S ziTQ== MIME-Version: 1.0 X-Received: by 10.182.3.196 with SMTP id e4mr6063751obe.36.1364933717244; Tue, 02 Apr 2013 13:15:17 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Tue, 2 Apr 2013 13:15:17 -0700 (PDT) In-Reply-To: References: <51598DF7.4030008@freebsd.org> Date: Tue, 2 Apr 2013 16:15:17 -0400 Message-ID: Subject: Re: Rebuilding 10 From: Super Bisquit To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 20:15:18 -0000 Second question: Since perl has been known to have a vulnerability, then what do I need to add to "make fetch-recursive" to download perl-5.16.2? http://www.securityfocus.com/bid/58311 http://search.cpan.org/~rjbs/perl-5.16.2/README.freebsd has a link to perl 5.17 but where is this as far as ports.txz? I'm using i386 10.0 to download sources by "make fetch-recursive" to put on the QuickSilver. On Tue, Apr 2, 2013 at 2:53 PM, Super Bisquit wrote: > I haven't downloaded the latest src.txz for 10 ppc32 due to a few > constraints. > I'm just wondering if the make and clang has improved since then. > Will src.txz from ppc64 work on a G4 7450 933MHz? > > And about the perl vulnerability, has that been worked aroundd as of yet? > If so, then what ports.txz version - and download link- will have it? > > > > On Mon, Apr 1, 2013 at 9:39 AM, Nathan Whitehorn wrote: > >> On 03/31/13 15:36, Super Bisquit wrote: >> >>> The version of 10.0 from a year ago has the error of clang not being >>> accepted for cc- I wrote about this in a recent post to here and current. >>> Has this been fixed in the current version of 10? >>> ______________________________**_________________ >>> freebsd-ppc@freebsd.org mailing list >>> http://lists.freebsd.org/**mailman/listinfo/freebsd-ppc >>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@**freebsd.org >>> " >>> >> >> What do you mean by "accepted"? You can do it, but there are a few bugs >> the last time I tried. PPC64 clang is further along (all of world builds >> and runs properly due to incredible effort by Roman Divacky) but even there >> the kernel has some weird behavior in the USB stack. >> -Nathan >> ______________________________**_________________ >> freebsd-ppc@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@**freebsd.org >> " >> > > From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 20:32:57 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 61FEE5D4 for ; Tue, 2 Apr 2013 20:32:57 +0000 (UTC) (envelope-from freebsd-ppc@dino.sk) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) by mx1.freebsd.org (Postfix) with ESMTP id AE5F98C1 for ; Tue, 2 Apr 2013 20:32:56 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by mailhost.netlab.sk with ESMTPSA; Tue, 02 Apr 2013 22:28:01 +0200 id 004EB641.515B3F51.0000AD68 Date: Tue, 2 Apr 2013 22:27:43 +0200 From: Milan Obuch To: freebsd-ppc@freebsd.org Subject: Trying to build cland version on PowerPC Message-ID: <20130402222743.298ac417@zeta.dino.sk> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: ak5rwz4-aUa>hPFZlcg,bXxn.(TN}e9DGFrKU\.i_'B[&5=pAd9o"j)5VSUYW:BRQG#^42Ev$Il|; Ztn=,C X-Operating-System: FreeBSD/amd64 8.2-STABLE Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 20:32:57 -0000 Hi, I am tryingto build clang version FreeBSD on PowerPC, dual 2 GHz PowerMac. When making world with following in /etc/src.conf WITH_CLANG=YES WITH_CLANG_EXTRAS=YES WITH_CLANG_IS_CC=YES compilation ends with following message cc -O2 -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/powerpc -DNLS -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -I/usr/src/lib/libc/../../contrib/libc-vis -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/../../contrib/jemalloc/include -I/usr/src/lib/libc/../../contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -DNDEBUG -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -c /usr/src/lib/libc/gen/fnmatch.c -o fnmatch.o UNREACHABLE executed! Stack dump: 0. Program arguments: /usr/obj/usr/src/tmp/usr/bin/cc -cc1 -triple powerpc-unknown-freebsd10.0 -S -disable-free -disable-llvm-verifier -main-file-name fnmatch.c -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -target-cpu ppc -momit-leaf-frame-pointer -coverage-file /tmp/fnmatch-BBr22n.s -resource-dir /usr/obj/usr/src/tmp/usr/bin/../lib/clang/3.2 -D NLS -D __DBINTERFACE_PRIVATE -D _ACL_PRIVATE -D POSIX_MISTAKE -D BROKEN_DES -D PORTMAP -D DES_BUILTIN -D YP -D NS_CACHING -D SYMBOL_VERSIONING -D NDEBUG -I /usr/src/lib/libc/include -I /usr/src/lib/libc/../../include -I /usr/src/lib/libc/powerpc -I /usr/src/lib/libc/../../contrib/gdtoa -I /usr/src/lib/libc/../../contrib/libc-vis -I /usr/obj/usr/src/lib/libc -I /usr/src/lib/libc/resolv -I /usr/src/lib/libc/../../contrib/jemalloc/include -I /usr/src/lib/libc/../../contrib/tzcode/stdtime -I /usr/src/lib/libc/stdtime -I /usr/src/lib/libc/locale -I /usr/src/lib/libc/rpc -isysroot /usr/obj/usr/src/tmp -fmodule-cache-path /var/tmp/clang-module-cache -O2 -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -std=gnu99 -fno-dwarf-directory-asm -fdebug-compilation-dir /usr/obj/usr/src/lib/libc -ferror-limit 19 -fmessage-length 271 -stack-protector 1 -mstackrealign -fno-signed-char -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/fnmatch-BBr22n.s -x c /usr/src/lib/libc/gen/fnmatch.c 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/usr/src/lib/libc/gen/fnmatch.c'. 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function '@fnmatch1' cc: error: unable to execute command: Abort trap (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 Target: powerpc-unknown-freebsd10.0 Thread model: posix cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. cc: note: diagnostic msg: Error generating preprocessed source(s). *** [fnmatch.o] Error code 254 Stop in /usr/src/lib/libc. *** [lib/libc__L] Error code 1 This error is deterministic, it occured every time I tried make buildworld. If I leave/comment out WITH_CLANG_IS_CC=YES from /etc/src.conf, everything gets compiled, built and installed, naturally, system is built with gcc. Note this is 32 bit powerpc system, when I try 64 bit version, result is similar, just the error is placed differently. Has anybody here any clue how I can build clang usable for buildworld? Regards, Milan From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 21:02:56 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 09CDDCA5 for ; Tue, 2 Apr 2013 21:02:56 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22c.google.com (mail-bk0-x22c.google.com [IPv6:2a00:1450:4008:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 7E432A4A for ; Tue, 2 Apr 2013 21:02:55 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id jk13so432451bkc.17 for ; Tue, 02 Apr 2013 14:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=OLY1FWv91yjzBokERBeuZ2emiOuGNp26R//uQ9CGlVI=; b=l5tXTcHT6K9mFVHEAh5ZqmneN16B0/af5d3jhcYMz8T51ot6M2wEP4N8JARvrKhYvc EHCG+Ir/mwR/oypllfG2mSS7757wGBjxnucjkOfQkDdX2FXA/0dNDkQWk9eJRbs7muP9 XbAS6jcar/yNHKiXR9lUOI3+1xEo6ZtxpO/K6FyLvr6N7zpUhf2GU/qrDcUkEPrI33e7 /BqKmIAabv7w3IBXVNqCBVKtCrIKykRIxpdW13ATmAlx7T9Kr1kzg55l8Xxr4IFM5Gjy uvYg+4LdIRaFzZkTAmbENkwnj9zLWrD1JmpSyI6xhPfo8eOJvUQ2Uumwf9n1NP6VqLMm PHCg== MIME-Version: 1.0 X-Received: by 10.204.172.80 with SMTP id k16mr7561692bkz.123.1364936574264; Tue, 02 Apr 2013 14:02:54 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.156.10 with HTTP; Tue, 2 Apr 2013 14:02:54 -0700 (PDT) Received: by 10.204.156.10 with HTTP; Tue, 2 Apr 2013 14:02:54 -0700 (PDT) In-Reply-To: <20130402222743.298ac417@zeta.dino.sk> References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 14:02:54 -0700 X-Google-Sender-Auth: uehQpvg0zNkRHdwMVO3i7GlmLCM Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Justin Hibbits To: Milan Obuch Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 21:02:56 -0000 Clang is not complete on PowerPC yet. LLVM in subversion, to be 3.3 I think, has full support for ppc64, but there are still some missing features for 32-bit, namely TLS and PIC. So for now WITH_CLANG_IS_CC doesn't work for PowerPC. - Justin On Apr 2, 2013 1:33 PM, "Milan Obuch" wrote: > Hi, > > I am tryingto build clang version FreeBSD on PowerPC, dual 2 GHz > PowerMac. When making world with following in /etc/src.conf > > WITH_CLANG=YES > WITH_CLANG_EXTRAS=YES > WITH_CLANG_IS_CC=YES > > compilation ends with following message > > cc -O2 -pipe -I/usr/src/lib/libc/include > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/powerpc -DNLS > -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa > -I/usr/src/lib/libc/../../contrib/libc-vis -I/usr/obj/usr/src/lib/libc > -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE > -I/usr/src/lib/libc/../../contrib/jemalloc/include > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > -DSYMBOL_VERSIONING -DNDEBUG -std=gnu99 -Qunused-arguments > -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k > -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body > -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value > -Wno-parentheses-equality -Wno-unused-function -Wno-conversion > -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter > -c /usr/src/lib/libc/gen/fnmatch.c -o fnmatch.o > UNREACHABLE executed! > Stack dump: > 0. Program arguments: /usr/obj/usr/src/tmp/usr/bin/cc -cc1 -triple > powerpc-unknown-freebsd10.0 -S -disable-free -disable-llvm-verifier > -main-file-name fnmatch.c -mrelocation-model static -mdisable-fp-elim > -mconstructor-aliases -target-cpu ppc -momit-leaf-frame-pointer > -coverage-file /tmp/fnmatch-BBr22n.s > -resource-dir /usr/obj/usr/src/tmp/usr/bin/../lib/clang/3.2 -D NLS -D > __DBINTERFACE_PRIVATE -D _ACL_PRIVATE -D POSIX_MISTAKE -D BROKEN_DES -D > PORTMAP -D DES_BUILTIN -D YP -D NS_CACHING -D SYMBOL_VERSIONING -D > NDEBUG -I /usr/src/lib/libc/include -I /usr/src/lib/libc/../../include > -I /usr/src/lib/libc/powerpc -I /usr/src/lib/libc/../../contrib/gdtoa > -I /usr/src/lib/libc/../../contrib/libc-vis > -I /usr/obj/usr/src/lib/libc -I /usr/src/lib/libc/resolv > -I /usr/src/lib/libc/../../contrib/jemalloc/include > -I /usr/src/lib/libc/../../contrib/tzcode/stdtime > -I /usr/src/lib/libc/stdtime -I /usr/src/lib/libc/locale > -I /usr/src/lib/libc/rpc -isysroot /usr/obj/usr/src/tmp > -fmodule-cache-path /var/tmp/clang-module-cache -O2 -Wsystem-headers > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign > -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function > -Wno-conversion -Wno-switch -Wno-switch-enum > -Wno-knr-promoted-parameter -std=gnu99 -fno-dwarf-directory-asm > -fdebug-compilation-dir /usr/obj/usr/src/lib/libc -ferror-limit 19 > -fmessage-length 271 -stack-protector 1 -mstackrealign -fno-signed-char > -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics > -o /tmp/fnmatch-BBr22n.s -x c /usr/src/lib/libc/gen/fnmatch.c > 1. parser at end of file > 2. Code generation > 3. Running pass 'Function Pass Manager' on module > '/usr/src/lib/libc/gen/fnmatch.c'. > 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on > function '@fnmatch1' > cc: error: unable to execute command: Abort trap (core dumped) > cc: error: clang frontend command failed due to signal (use -v to see > invocation) > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 > Target: powerpc-unknown-freebsd10.0 > Thread model: posix > cc: note: diagnostic msg: PLEASE submit a bug report to > http://llvm.org/bugs/ and > include the crash backtrace, preprocessed source, and associated run > script. > cc: note: diagnostic msg: Error generating preprocessed source(s). > *** [fnmatch.o] Error code 254 > > Stop in /usr/src/lib/libc. > *** [lib/libc__L] Error code 1 > > This error is deterministic, it occured every time I tried make > buildworld. > > If I leave/comment out > > WITH_CLANG_IS_CC=YES > > from /etc/src.conf, everything gets compiled, built and installed, > naturally, system is built with gcc. Note this is 32 bit powerpc > system, when I try 64 bit version, result is similar, just the error is > placed differently. > > Has anybody here any clue how I can build clang usable for buildworld? > > Regards, > Milan > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 21:52:58 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 824DCDDE for ; Tue, 2 Apr 2013 21:52:58 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by mx1.freebsd.org (Postfix) with ESMTP id 50B5CDB1 for ; Tue, 2 Apr 2013 21:52:58 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i18so878207oag.15 for ; Tue, 02 Apr 2013 14:52:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=sVEzXf6WgIPfJEBe1MaBzzmd6ISNthsKkQmfrq+HZrQ=; b=wL+9OGQnuF1M8DwXyU0PNx6wXJ5eBWHvvccMhhfUPucCnqmEKDeZv5smEj5/prZ/5W GKdsMVbIp0Genayi7NR5kabVdlFt/cUOPxX9HGVr6nnYBUTpmSfhRUrKQzvUOkIKoEI1 jadsYgDnCnV8/athiPtaM5LuNohKD+nExQQ1XjFK0ExFtkZnrXy2tmXHFW7Znvw6f7WO SaFZS3mIstpPNrKeVxHIXkZN84TQR/jkXy4svvs7YxilH0CjPKo4EKTAvBlRoZ0NkDFh 9RnDXOby8JvrtveZKAWVepNjbNEsCCGc3+hh0sQexm6/S+KiX91tSqDYdDIPGHLHCU/1 FgPA== MIME-Version: 1.0 X-Received: by 10.182.12.6 with SMTP id u6mr6084858obb.3.1364939577502; Tue, 02 Apr 2013 14:52:57 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Tue, 2 Apr 2013 14:52:57 -0700 (PDT) In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 17:52:57 -0400 Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Super Bisquit To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 21:52:58 -0000 This is the same problem as I am having. Nathan had mentioned that ppc64 is more complete. Now, can either I or Milan use the PPC64 sources on PPC32 or is there a conditional that we can add to /etc/make.conf to enable the use of the standard gcc-4.x? Thanks muchly, Desmond On Tue, Apr 2, 2013 at 5:02 PM, Justin Hibbits wrote: > Clang is not complete on PowerPC yet. LLVM in subversion, to be 3.3 I > think, has full support for ppc64, but there are still some missing > features for 32-bit, namely TLS and PIC. So for now WITH_CLANG_IS_CC > doesn't work for PowerPC. > > - Justin > On Apr 2, 2013 1:33 PM, "Milan Obuch" wrote: > > > Hi, > > > > I am tryingto build clang version FreeBSD on PowerPC, dual 2 GHz > > PowerMac. When making world with following in /etc/src.conf > > > > WITH_CLANG=YES > > WITH_CLANG_EXTRAS=YES > > WITH_CLANG_IS_CC=YES > > > > compilation ends with following message > > > > cc -O2 -pipe -I/usr/src/lib/libc/include > > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/powerpc -DNLS > > -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa > > -I/usr/src/lib/libc/../../contrib/libc-vis -I/usr/obj/usr/src/lib/libc > > -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE > > -I/usr/src/lib/libc/../../contrib/jemalloc/include > > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime > > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES > > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING > > -DSYMBOL_VERSIONING -DNDEBUG -std=gnu99 -Qunused-arguments > > -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k > > -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body > > -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value > > -Wno-parentheses-equality -Wno-unused-function -Wno-conversion > > -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter > > -c /usr/src/lib/libc/gen/fnmatch.c -o fnmatch.o > > UNREACHABLE executed! > > Stack dump: > > 0. Program arguments: /usr/obj/usr/src/tmp/usr/bin/cc -cc1 -triple > > powerpc-unknown-freebsd10.0 -S -disable-free -disable-llvm-verifier > > -main-file-name fnmatch.c -mrelocation-model static -mdisable-fp-elim > > -mconstructor-aliases -target-cpu ppc -momit-leaf-frame-pointer > > -coverage-file /tmp/fnmatch-BBr22n.s > > -resource-dir /usr/obj/usr/src/tmp/usr/bin/../lib/clang/3.2 -D NLS -D > > __DBINTERFACE_PRIVATE -D _ACL_PRIVATE -D POSIX_MISTAKE -D BROKEN_DES -D > > PORTMAP -D DES_BUILTIN -D YP -D NS_CACHING -D SYMBOL_VERSIONING -D > > NDEBUG -I /usr/src/lib/libc/include -I /usr/src/lib/libc/../../include > > -I /usr/src/lib/libc/powerpc -I /usr/src/lib/libc/../../contrib/gdtoa > > -I /usr/src/lib/libc/../../contrib/libc-vis > > -I /usr/obj/usr/src/lib/libc -I /usr/src/lib/libc/resolv > > -I /usr/src/lib/libc/../../contrib/jemalloc/include > > -I /usr/src/lib/libc/../../contrib/tzcode/stdtime > > -I /usr/src/lib/libc/stdtime -I /usr/src/lib/libc/locale > > -I /usr/src/lib/libc/rpc -isysroot /usr/obj/usr/src/tmp > > -fmodule-cache-path /var/tmp/clang-module-cache -O2 -Wsystem-headers > > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign > > -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare > > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function > > -Wno-conversion -Wno-switch -Wno-switch-enum > > -Wno-knr-promoted-parameter -std=gnu99 -fno-dwarf-directory-asm > > -fdebug-compilation-dir /usr/obj/usr/src/lib/libc -ferror-limit 19 > > -fmessage-length 271 -stack-protector 1 -mstackrealign -fno-signed-char > > -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics > > -o /tmp/fnmatch-BBr22n.s -x c /usr/src/lib/libc/gen/fnmatch.c > > 1. parser at end of file > > 2. Code generation > > 3. Running pass 'Function Pass Manager' on module > > '/usr/src/lib/libc/gen/fnmatch.c'. > > 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on > > function '@fnmatch1' > > cc: error: unable to execute command: Abort trap (core dumped) > > cc: error: clang frontend command failed due to signal (use -v to see > > invocation) > > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 > > Target: powerpc-unknown-freebsd10.0 > > Thread model: posix > > cc: note: diagnostic msg: PLEASE submit a bug report to > > http://llvm.org/bugs/ and > > include the crash backtrace, preprocessed source, and associated run > > script. > > cc: note: diagnostic msg: Error generating preprocessed source(s). > > *** [fnmatch.o] Error code 254 > > > > Stop in /usr/src/lib/libc. > > *** [lib/libc__L] Error code 1 > > > > This error is deterministic, it occured every time I tried make > > buildworld. > > > > If I leave/comment out > > > > WITH_CLANG_IS_CC=YES > > > > from /etc/src.conf, everything gets compiled, built and installed, > > naturally, system is built with gcc. Note this is 32 bit powerpc > > system, when I try 64 bit version, result is similar, just the error is > > placed differently. > > > > Has anybody here any clue how I can build clang usable for buildworld? > > > > Regards, > > Milan > > _______________________________________________ > > freebsd-ppc@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 21:55:25 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E7CFDE1B for ; Tue, 2 Apr 2013 21:55:25 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id B50CBDC2 for ; Tue, 2 Apr 2013 21:55:25 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id 16so806723obc.5 for ; Tue, 02 Apr 2013 14:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=sl6vgUJFUucU8DjKw+RH+67kPK3TsSWR4av70CntndQ=; b=EUD5v844DTAE0eFIRLXIxgpJe8MScpWOxdzJfYyl1hDnPabhi4B9zQCQzKOaXo8VTd d48SDnOVNiYv4jEU3OhMTkoh1A8N3brXh6Nc3j9J+AYwadrwxV51nkXFhVNlGEBHOian Czqdqukd9hg4r5uyiskUm7Hl33ajRQy3ekuGWAVXP7fl7Hid54LtMvfgEmB+O3AJVOm9 SJZuMHsfCztIJAsdWOn/LjHFQjW2fC48N1TjKxcqjUNoLzCnxsjvsijAZV7LYx6ptWAi Cl+7stla/YZmFn4eZ9Xa7HNlJRTr6c3CcCJvrMcHoh7Aa7Y6c/cGwkupIi+Iy3BlDbPZ BE5g== MIME-Version: 1.0 X-Received: by 10.182.12.6 with SMTP id u6mr6087276obb.3.1364939725274; Tue, 02 Apr 2013 14:55:25 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Tue, 2 Apr 2013 14:55:25 -0700 (PDT) In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 17:55:25 -0400 Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Super Bisquit To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 21:55:26 -0000 And to add: I've changed the variable in both /usr/src/sys/kern.conf and /usr/src/sys/kmod.conf to CLANG_IS_CC="yes" with the results being a failed build. I thought that the error was only on the year old version of 10 I have but it seems to be even on the present version. On Tue, Apr 2, 2013 at 5:52 PM, Super Bisquit wrote: > This is the same problem as I am having. Nathan had mentioned that ppc64 > is more complete. > Now, can either I or Milan use the PPC64 sources on PPC32 or is there a > conditional that we can add to /etc/make.conf to enable the use of the > standard gcc-4.x? > > Thanks muchly, > Desmond > > > On Tue, Apr 2, 2013 at 5:02 PM, Justin Hibbits wrote: > >> Clang is not complete on PowerPC yet. LLVM in subversion, to be 3.3 I >> think, has full support for ppc64, but there are still some missing >> features for 32-bit, namely TLS and PIC. So for now WITH_CLANG_IS_CC >> doesn't work for PowerPC. >> >> - Justin >> On Apr 2, 2013 1:33 PM, "Milan Obuch" wrote: >> >> > Hi, >> > >> > I am tryingto build clang version FreeBSD on PowerPC, dual 2 GHz >> > PowerMac. When making world with following in /etc/src.conf >> > >> > WITH_CLANG=YES >> > WITH_CLANG_EXTRAS=YES >> > WITH_CLANG_IS_CC=YES >> > >> > compilation ends with following message >> > >> > cc -O2 -pipe -I/usr/src/lib/libc/include >> > -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/powerpc -DNLS >> > -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa >> > -I/usr/src/lib/libc/../../contrib/libc-vis -I/usr/obj/usr/src/lib/libc >> > -I/usr/src/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE >> > -I/usr/src/lib/libc/../../contrib/jemalloc/include >> > -I/usr/src/lib/libc/../../contrib/tzcode/stdtime >> > -I/usr/src/lib/libc/stdtime -I/usr/src/lib/libc/locale -DBROKEN_DES >> > -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING >> > -DSYMBOL_VERSIONING -DNDEBUG -std=gnu99 -Qunused-arguments >> > -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k >> > -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body >> > -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value >> > -Wno-parentheses-equality -Wno-unused-function -Wno-conversion >> > -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter >> > -c /usr/src/lib/libc/gen/fnmatch.c -o fnmatch.o >> > UNREACHABLE executed! >> > Stack dump: >> > 0. Program arguments: /usr/obj/usr/src/tmp/usr/bin/cc -cc1 -triple >> > powerpc-unknown-freebsd10.0 -S -disable-free -disable-llvm-verifier >> > -main-file-name fnmatch.c -mrelocation-model static -mdisable-fp-elim >> > -mconstructor-aliases -target-cpu ppc -momit-leaf-frame-pointer >> > -coverage-file /tmp/fnmatch-BBr22n.s >> > -resource-dir /usr/obj/usr/src/tmp/usr/bin/../lib/clang/3.2 -D NLS -D >> > __DBINTERFACE_PRIVATE -D _ACL_PRIVATE -D POSIX_MISTAKE -D BROKEN_DES -D >> > PORTMAP -D DES_BUILTIN -D YP -D NS_CACHING -D SYMBOL_VERSIONING -D >> > NDEBUG -I /usr/src/lib/libc/include -I /usr/src/lib/libc/../../include >> > -I /usr/src/lib/libc/powerpc -I /usr/src/lib/libc/../../contrib/gdtoa >> > -I /usr/src/lib/libc/../../contrib/libc-vis >> > -I /usr/obj/usr/src/lib/libc -I /usr/src/lib/libc/resolv >> > -I /usr/src/lib/libc/../../contrib/jemalloc/include >> > -I /usr/src/lib/libc/../../contrib/tzcode/stdtime >> > -I /usr/src/lib/libc/stdtime -I /usr/src/lib/libc/locale >> > -I /usr/src/lib/libc/rpc -isysroot /usr/obj/usr/src/tmp >> > -fmodule-cache-path /var/tmp/clang-module-cache -O2 -Wsystem-headers >> > -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign >> > -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare >> > -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function >> > -Wno-conversion -Wno-switch -Wno-switch-enum >> > -Wno-knr-promoted-parameter -std=gnu99 -fno-dwarf-directory-asm >> > -fdebug-compilation-dir /usr/obj/usr/src/lib/libc -ferror-limit 19 >> > -fmessage-length 271 -stack-protector 1 -mstackrealign -fno-signed-char >> > -fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics >> > -o /tmp/fnmatch-BBr22n.s -x c /usr/src/lib/libc/gen/fnmatch.c >> > 1. parser at end of file >> > 2. Code generation >> > 3. Running pass 'Function Pass Manager' on module >> > '/usr/src/lib/libc/gen/fnmatch.c'. >> > 4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on >> > function '@fnmatch1' >> > cc: error: unable to execute command: Abort trap (core dumped) >> > cc: error: clang frontend command failed due to signal (use -v to see >> > invocation) >> > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 >> > Target: powerpc-unknown-freebsd10.0 >> > Thread model: posix >> > cc: note: diagnostic msg: PLEASE submit a bug report to >> > http://llvm.org/bugs/ and >> > include the crash backtrace, preprocessed source, and associated run >> > script. >> > cc: note: diagnostic msg: Error generating preprocessed source(s). >> > *** [fnmatch.o] Error code 254 >> > >> > Stop in /usr/src/lib/libc. >> > *** [lib/libc__L] Error code 1 >> > >> > This error is deterministic, it occured every time I tried make >> > buildworld. >> > >> > If I leave/comment out >> > >> > WITH_CLANG_IS_CC=YES >> > >> > from /etc/src.conf, everything gets compiled, built and installed, >> > naturally, system is built with gcc. Note this is 32 bit powerpc >> > system, when I try 64 bit version, result is similar, just the error is >> > placed differently. >> > >> > Has anybody here any clue how I can build clang usable for buildworld? >> > >> > Regards, >> > Milan >> > _______________________________________________ >> > freebsd-ppc@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >> > >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >> > > From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 2 23:10:35 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C2EB73BF for ; Tue, 2 Apr 2013 23:10:35 +0000 (UTC) (envelope-from michael@kryptos-security.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 9002D2A1 for ; Tue, 2 Apr 2013 23:10:35 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id ni5so856292obc.12 for ; Tue, 02 Apr 2013 16:10:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=UkGQoSLbsMVc0p0x/AVJyleivsdus5QnK1rK6Jn72gg=; b=OcgLfIjtmu1uuaZ0VwnI3v9BuFxWNKhIkCXZZVVkespLYDrczb9xK+AuHCmt0Y5hNb DLZ/XL6G+ENWybmvDmt4mkm7vhsW/1PzTAiJff7ndkZlAZvo2Yg3D/gA2kCcocP0QQYm hmmVGsv7+U0Ex2R5TdN8LrMpiPPIOgjaD6ue2RmocgatpnwXSZlDL3gXlqVRVq6fT319 UJxQXIOKeg41jCieJJQ/xPhSmc5EwRfwdcYoGWA53JbDibnOdQmUf+7oAn67rjXriEv7 a1WjS/Dyl70hemD06mRLeeO786CHM8Gqx0AQ4u53TmvMSr6vhz/k2yhZ4J/hRAA77qN/ 2AAQ== MIME-Version: 1.0 X-Received: by 10.60.179.65 with SMTP id de1mr6384750oec.44.1364944235052; Tue, 02 Apr 2013 16:10:35 -0700 (PDT) Received: by 10.76.74.168 with HTTP; Tue, 2 Apr 2013 16:10:34 -0700 (PDT) X-Originating-IP: [66.177.125.30] In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 19:10:34 -0400 Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Michael Copeland To: Super Bisquit X-Gm-Message-State: ALoCoQl31LH8EnqfRtLFpPDI5SUOooUdmImZlYarQQi/+kLgk9RUVocCxUgYSw8HHk3X8KItJUds Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Apr 2013 23:10:35 -0000 Guys, as Justin has said, Clang is not complete/working on PPC yet. From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 00:01:50 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 500DDBE8 for ; Wed, 3 Apr 2013 00:01:50 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 1F19F660 for ; Wed, 3 Apr 2013 00:01:50 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id dn14so885137obc.32 for ; Tue, 02 Apr 2013 17:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=sjozGyfcyIFmSS8nlwlqiCy+Yo1UaTfXujillwOFbOA=; b=NQJHtAPISoPVn1c2JFPYHgTOpqZznOqX3oY6HfwchjGTGbKHp7CnF0GO2uUgw1KUQO vyVaCmpdgPKmMp/wc20dRWL/ZExpr+5ogdrMSmDCTB1wNTr1HFUSit6ebqdoZ09TAwiK E7Lkz78tKz47XcLvQS/TyI5ctK4SPlgFI/uPz8uTi/6LNJehqellX7ftst6xLzQ0bUla KqzxdKWRagOSzaEd0DayTt4JkeNMmMEuLe4dKVQjs3Aw9ftpHbmtw3VY9T4cXYxgS0VI s2BLQfBfrGzeEUklvNKAmqswhUzSlqKygWoAzyZbFmrQR/1D8EnytZ5zQAQ08sYYQa1G wZZQ== MIME-Version: 1.0 X-Received: by 10.60.26.137 with SMTP id l9mr6416264oeg.17.1364947309744; Tue, 02 Apr 2013 17:01:49 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Tue, 2 Apr 2013 17:01:49 -0700 (PDT) In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 20:01:49 -0400 Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Super Bisquit To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 00:01:50 -0000 That is understood but the problem is nothing will build because clang is the default compiler. I am not able to build the toolchain, modules, world, kernel, or anything else for that matter. In order for my system to work, I and others will need to know what to add to /etc/make.conf- such as DAMN_IT_ALL_AND_USE_GCC_OKAY- for the system to build something as simple as runfw and wi. Nathan Whitehorn did mention that PPC64 was more complete; therefore, it seemed and seems reasonable to ask if the sources for PPC64 will work on PPC32. On Tue, Apr 2, 2013 at 7:10 PM, Michael Copeland < michael@kryptos-security.com> wrote: > Guys, as Justin has said, Clang is not complete/working on PPC yet. From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 00:06:45 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B9A06C5C for ; Wed, 3 Apr 2013 00:06:45 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 4B4B468E for ; Wed, 3 Apr 2013 00:06:45 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id ik5so481898bkc.34 for ; Tue, 02 Apr 2013 17:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Uihextah049b2veN1r32y4beY4t9JoQFpv8k6yoK0IA=; b=nrU21lrpKxOBI6VwinBMVExILHrumnnseO99Z82kuV71BNhHYkJGELKXDifvwIp29s LKOZH3v0+gve9NkyOMdSKBdDeS8baHgi6WycJbz9w3VLLdMXqiGanUyt1fAHNJAaefLw /K0fB9+U24Yec7qiSVFlZDRg8m1OFceqKPMLsHUy1uqELxxlm5Mf1e9c5GAS17zoFonP q/CQus7U/hoEEHUzaahWb6kAOkx+NwOmcTPWfpF9yj5UjeeWDvXKOVb57RhM4ERIiKWB 4JtSONyf28Hj3IQrAuZI8flI4Y8m7jIgZRluYMcP37HP+5+bVO+nTnOvQwpH/PEQat/b njUw== MIME-Version: 1.0 X-Received: by 10.205.119.19 with SMTP id fs19mr7676649bkc.105.1364947604275; Tue, 02 Apr 2013 17:06:44 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.156.10 with HTTP; Tue, 2 Apr 2013 17:06:43 -0700 (PDT) Received: by 10.204.156.10 with HTTP; Tue, 2 Apr 2013 17:06:43 -0700 (PDT) In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 17:06:43 -0700 X-Google-Sender-Auth: Q9ZeBrRsZ0gttJxfqS-LUzGkNX0 Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Justin Hibbits To: Super Bisquit Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 00:06:45 -0000 Clang is _not_ the default compiler on PowerPC, only on x86, amd64, and one flavor of arm. You made it the default for you by setting WITH_CLANG_IS_CC. Remove that and it will work, as long as you did not blow away your initial install. - Justin On Apr 2, 2013 5:02 PM, "Super Bisquit" wrote: > That is understood but the problem is nothing will build because clang is > the default compiler. I am not able to build the toolchain, modules, world, > kernel, or anything else for that matter. In order for my system to work, I > and others will need to know what to add to /etc/make.conf- such as > DAMN_IT_ALL_AND_USE_GCC_OKAY- for the system to build something as simple > as runfw and wi. > > Nathan Whitehorn did mention that PPC64 was more complete; therefore, it > seemed and seems reasonable to ask if the sources for PPC64 will work on > PPC32. > > > > On Tue, Apr 2, 2013 at 7:10 PM, Michael Copeland < > michael@kryptos-security.com> wrote: > > > Guys, as Justin has said, Clang is not complete/working on PPC yet. > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 00:10:39 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 14038D10 for ; Wed, 3 Apr 2013 00:10:39 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) by mx1.freebsd.org (Postfix) with ESMTP id D554C6A3 for ; Wed, 3 Apr 2013 00:10:38 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id m17so950388oag.26 for ; Tue, 02 Apr 2013 17:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=l6SuhO1xBPc96hC669idEmzFavWa2as5Ht5h3J19zdo=; b=EDE1qNX21RtVlxaxioK3RaXOIb8wJPvIn5KQIb88xA2EzX3O4UvgRBrRBwv+oGBYNm RkJi3lwpr2ZfCqYUnbZZWUdoI+vNUun6U8Bt5n6+LgSwApqlIci8ciXdGtsZsO2azkzU Ep/j/gpp2EOmtqNvRW6jqDKglNJUuYw2QBNi+VNNCMAuUhysZdhM+ZuQKgwXwuMukro8 k9lMGn5fmSnoLakeXHsy0kjZZzVp4gslnHuGZsHRaa2rMWNBWJBgDWxaHBaWJAdEo7h0 AOWbiIWaFlskiq5FvD3vzTJCc1zbG3RSCWoKNzmY1lKNQy5JtxOGflQzdeqCH1C8vWn+ PXjw== MIME-Version: 1.0 X-Received: by 10.60.144.226 with SMTP id sp2mr6150230oeb.64.1364947837941; Tue, 02 Apr 2013 17:10:37 -0700 (PDT) Received: by 10.182.116.196 with HTTP; Tue, 2 Apr 2013 17:10:37 -0700 (PDT) In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 20:10:37 -0400 Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Super Bisquit To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 00:10:39 -0000 Unfortunately, Justin, that seems to be embedded into the kmod.conf and kern.conf file in /usr/src/sys. the file of /etc/make.conf still has the standard flags, which aren't any. So, what do I do for those files? Thanks muchly and again, Desmond. On Tue, Apr 2, 2013 at 8:06 PM, Justin Hibbits wrote: > Clang is _not_ the default compiler on PowerPC, only on x86, amd64, and > one flavor of arm. You made it the default for you by setting > WITH_CLANG_IS_CC. Remove that and it will work, as long as you did not blow > away your initial install. > > - Justin > On Apr 2, 2013 5:02 PM, "Super Bisquit" wrote: > >> That is understood but the problem is nothing will build because clang is >> the default compiler. I am not able to build the toolchain, modules, >> world, >> kernel, or anything else for that matter. In order for my system to work, >> I >> and others will need to know what to add to /etc/make.conf- such as >> DAMN_IT_ALL_AND_USE_GCC_OKAY- for the system to build something as simple >> as runfw and wi. >> >> Nathan Whitehorn did mention that PPC64 was more complete; therefore, it >> seemed and seems reasonable to ask if the sources for PPC64 will work on >> PPC32. >> >> >> >> On Tue, Apr 2, 2013 at 7:10 PM, Michael Copeland < >> michael@kryptos-security.com> wrote: >> >> > Guys, as Justin has said, Clang is not complete/working on PPC yet. >> _______________________________________________ >> freebsd-ppc@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc >> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >> > From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 00:21:05 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 86BD2E64 for ; Wed, 3 Apr 2013 00:21:05 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 154006F8 for ; Wed, 3 Apr 2013 00:21:04 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id it16so489475bkc.39 for ; Tue, 02 Apr 2013 17:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=zzSzu5GVIKtOiAXIEnW3IGj12X4KpgujUl9tUW2pV7Q=; b=gO5IfdFJDM+bwV2ALmaZsDZrNXuy7bKeXx8z5iGrm9WIf0rda8BWvjP70DWksPM2F1 X0A2tVBXmWvdzc3c7gVzAmHRspq1LSDYV5DVQ75jH4XsID64en00ecQV4ies0ltHivAC aKsgM+kq+dIjm3lK6PA+biXdOPmX0pa13FtjcXxLeWt8VtsyDXen4fYnylzdGRWdy3qL gMB/BQQ5UiqwjDdlfObE0JfUeSBiZKTHIFq1pfNvnz/fIdjXXHTiCZFUZASiRXUndJtp epkp/CgHttGGNrE+T/9Mwt8IafCJxD8nMcZIi30yYIVigVzu/UHYaLDhf9Pl5Fcw6sni BxGA== MIME-Version: 1.0 X-Received: by 10.204.184.193 with SMTP id cl1mr7627309bkb.17.1364948462533; Tue, 02 Apr 2013 17:21:02 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.156.10 with HTTP; Tue, 2 Apr 2013 17:21:02 -0700 (PDT) Received: by 10.204.156.10 with HTTP; Tue, 2 Apr 2013 17:21:02 -0700 (PDT) In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 17:21:02 -0700 X-Google-Sender-Auth: hOECyKp-nPhrpQ2zgNXiQSBOAWo Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Justin Hibbits To: Super Bisquit Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 00:21:05 -0000 It does not exist in those files. You mentioned earlier that you added the setting to those files yourself. If you checked the code out of subversion please perform an svn revert on your whole source tree, clean, and try again. - Justin On Apr 2, 2013 5:10 PM, "Super Bisquit" wrote: > > Unfortunately, Justin, that seems to be embedded into the kmod.conf and > kern.conf file in /usr/src/sys. the file of /etc/make.conf still has the > standard flags, which aren't any. So, what do I do for those files? > Thanks muchly and again, > Desmond. > > > > > On Tue, Apr 2, 2013 at 8:06 PM, Justin Hibbits wrote: > > > Clang is _not_ the default compiler on PowerPC, only on x86, amd64, and > > one flavor of arm. You made it the default for you by setting > > WITH_CLANG_IS_CC. Remove that and it will work, as long as you did not blow > > away your initial install. > > > > - Justin > > On Apr 2, 2013 5:02 PM, "Super Bisquit" wrote: > > > >> That is understood but the problem is nothing will build because clang is > >> the default compiler. I am not able to build the toolchain, modules, > >> world, > >> kernel, or anything else for that matter. In order for my system to work, > >> I > >> and others will need to know what to add to /etc/make.conf- such as > >> DAMN_IT_ALL_AND_USE_GCC_OKAY- for the system to build something as simple > >> as runfw and wi. > >> > >> Nathan Whitehorn did mention that PPC64 was more complete; therefore, it > >> seemed and seems reasonable to ask if the sources for PPC64 will work on > >> PPC32. > >> > >> > >> > >> On Tue, Apr 2, 2013 at 7:10 PM, Michael Copeland < > >> michael@kryptos-security.com> wrote: > >> > >> > Guys, as Justin has said, Clang is not complete/working on PPC yet. From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 00:32:03 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9593D1AB for ; Wed, 3 Apr 2013 00:32:03 +0000 (UTC) (envelope-from michael@kryptos-security.com) Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by mx1.freebsd.org (Postfix) with ESMTP id 5F987772 for ; Wed, 3 Apr 2013 00:32:02 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id j6so948755oag.8 for ; Tue, 02 Apr 2013 17:31:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=4ii9h7Vyl/PDTrQO2vte6olIyJi1Q4dFSmCE4NZxv6M=; b=HVD1VBZZdpcicJyE1taB+zjCclon3xXK+MODoUYj7LzkUaAVs5nBYmXTxPYSnMgwMz vxfAKYvRkPUAk98yryfA3fNb8+cFz/sRggR2EPt9C6JLCONw9Tkd5cXnAnTHhPuHkpJG vgYcGs/iFhfWY+Wlm2Y3NbffrFc75ZCPk7kaA1K/2UT7wPM0thl3hXc/a49GX6ml7je4 c1sq8VnyOPIhQtPs83S8VhGV93VT2dsBpIYEV7NhhkzlXhwyWTVXEZvhrDD1tCb0z4MZ utWkC7I3OxpqOUU2cT0SRclz+WGuA4JyHXoJGFktXm8mc80X9xrvgdk9dBIUl1LZjrXT tZ7w== MIME-Version: 1.0 X-Received: by 10.182.248.196 with SMTP id yo4mr6346454obc.65.1364949116386; Tue, 02 Apr 2013 17:31:56 -0700 (PDT) Received: by 10.76.74.168 with HTTP; Tue, 2 Apr 2013 17:31:56 -0700 (PDT) X-Originating-IP: [66.177.125.30] In-Reply-To: References: <20130402222743.298ac417@zeta.dino.sk> Date: Tue, 2 Apr 2013 20:31:56 -0400 Message-ID: Subject: Re: Trying to build cland version on PowerPC From: Michael Copeland To: Justin Hibbits X-Gm-Message-State: ALoCoQnsitB4VhF14IAoH8FlkSxcBJa5aqTzyUQriIvD9b5U+p3g+VZ9Bt/Xo/sKlvTO1mG/YZUU Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 00:32:03 -0000 Do what Justin suggests. I noticed that you mentioned that your g4 is lacking network access. Is this in the same house? Do you have an android smart phone by chance and wifi in your house? If so, plug your android phone into your G4 via usb and then under "wireless and networking" or whatever you have on there, then click on tethering and use usb tethering. That should get you on your wifi. If you don't have any of that, disregard everything I said and put the G4 behind your door and use it as a door stop. From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 18:48:36 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B3C13CA8 for ; Wed, 3 Apr 2013 18:48:36 +0000 (UTC) (envelope-from jeclark2006@aim.com) Received: from imr-da01.mx.aol.com (imr-da01.mx.aol.com [205.188.105.143]) by mx1.freebsd.org (Postfix) with ESMTP id 8CFCF789 for ; Wed, 3 Apr 2013 18:48:36 +0000 (UTC) Received: from mtaout-db06.r1000.mx.aol.com (mtaout-db06.r1000.mx.aol.com [172.29.51.198]) by imr-da01.mx.aol.com (Outbound Mail Relay) with ESMTP id 8E2A31C00010E for ; Wed, 3 Apr 2013 14:48:35 -0400 (EDT) Received: from [10.0.0.201] (wsip-68-105-252-106.sd.sd.cox.net [68.105.252.106]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-db06.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id D52D7E000105 for ; Wed, 3 Apr 2013 14:48:34 -0400 (EDT) From: John Clark Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FreeBSD booting freescale P1020wlan eval board, via u-boot? Date: Wed, 3 Apr 2013 11:48:27 -0700 Message-Id: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> To: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1365014915; bh=iI4ChCgryToF94YKkZJsos8qaQGiagz2dZF7MKMtSbw=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=mRRvseIGwY0euSVUKwTd6xWuRkfGklfpLA8pzZAWsDrDSNhJJFTAgdhT3R/4fW3CU HcomtLBmJsnVfYy3fWfJaV0R6iLXUMy/H1u+UuQHXPP8TyEtuDiN5Woj+hOv01M16i 7ikssoIyTrWBv4WyzIfvvD3HZ2FOy7y1/EnMDpkU= X-AOL-SCOLL-SCORE: 0:2:352641824:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c6515c798278fc X-AOL-IP: 68.105.252.106 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 18:48:36 -0000 I have been running Linux on a P1020wlan board for some time, and now = want to run FreeBSD. I've successfully built a 'world', along with a kernel which I believe = is configured for the MPC85XX, and using a first pass p1020wlan.dts as a FDT setup, I think I've created an appropriate loader/kernel binary = image. However, no matter how I load the loader, a file seductively named = 'ubldr', or kernel, whether using the U-Boot 'bootelf' or 'go' (with = objcopying the binary out to a *.bin file...), I get a fatal trap early on in the process. I've found little documentation for the powerpc line, other than ancient = documentation when PPC and Apple were best buddies. Is there someone who has booted the p1020rdb, or even the p1020wlan, = eval board? If so what is the configuration and procedure. Thanks, John Clark. From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 19:05:03 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A7A42178 for ; Wed, 3 Apr 2013 19:05:03 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-oa0-f45.google.com (mail-oa0-f45.google.com [209.85.219.45]) by mx1.freebsd.org (Postfix) with ESMTP id 77E0584D for ; Wed, 3 Apr 2013 19:05:02 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id o6so1876842oag.4 for ; Wed, 03 Apr 2013 12:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=1Z2hEowbVpUfBwg4eajZUjP4W1b8jFVSb19acoGM0qc=; b=wewYGbk3Z0NTyzuubiSFUkOQwAtNCMgQB07NV4Cq1OhUkMXUkvFcg9HVvVBJa9OaNo ymd03y6mb2Yq5U1fLf9IjtBFH6orFDA+lPoPNRw6l+bpZYys30nzK6BZAFa9pZ9frOKk 125cZrAsstXwBAoZlB/xUcqZG9jrixmLBz+lb2KwIrplWAAAsThTl/L6UmcXlZnzvAPb HbgWQx230Mkl/MXcXbgcAuApGtKLHX2wwn/kx/DJLD1CocwrgDDYBEysxRk6nOmX5tEu ekkC9m8beBfOp3VZu4CiTyeeXq+doWQRZkHqYkWqNl0oBldYJ4zb3YwBn5m5Nl/JYZe+ KU/A== MIME-Version: 1.0 X-Received: by 10.182.188.69 with SMTP id fy5mr2000681obc.14.1365015896484; Wed, 03 Apr 2013 12:04:56 -0700 (PDT) Sender: adutkowski@gmail.com Received: by 10.76.95.194 with HTTP; Wed, 3 Apr 2013 12:04:56 -0700 (PDT) In-Reply-To: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> References: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> Date: Wed, 3 Apr 2013 21:04:56 +0200 X-Google-Sender-Auth: NiemL5n8X0-qJ_C7lceiQle81_w Message-ID: Subject: Re: FreeBSD booting freescale P1020wlan eval board, via u-boot? From: Aleksander To: John Clark , freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 19:05:03 -0000 please attach some output, maybe I could help. The booke_init() function has a bug, which is not yet fixed in HEAD. Anyway, you need to use kernel image (not ubldr) either binary or elf (if elf, you need to jump with offset to __start function regards aleek On Wed, Apr 3, 2013 at 8:48 PM, John Clark wrote: > I have been running Linux on a P1020wlan board for some time, and now want > to run FreeBSD. > > I've successfully built a 'world', along with a kernel which I believe is > configured for the MPC85XX, and using a first pass p1020wlan.dts as a > FDT setup, I think I've created an appropriate loader/kernel binary image. > > However, no matter how I load the loader, a file seductively named > 'ubldr', or kernel, whether using the U-Boot 'bootelf' or 'go' (with > objcopying the binary out to a *.bin file...), > I get a fatal trap early on in the process. > > I've found little documentation for the powerpc line, other than ancient > documentation when PPC and Apple were best buddies. > > Is there someone who has booted the p1020rdb, or even the p1020wlan, eval > board? > > If so what is the configuration and procedure. > > Thanks, > John Clark. > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > -- regards aleek From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 19:20:33 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A362C9D7 for ; Wed, 3 Apr 2013 19:20:33 +0000 (UTC) (envelope-from jeclark2006@aim.com) Received: from imr-da01.mx.aol.com (imr-da01.mx.aol.com [205.188.105.143]) by mx1.freebsd.org (Postfix) with ESMTP id 69839978 for ; Wed, 3 Apr 2013 19:20:33 +0000 (UTC) Received: from mtaout-db04.r1000.mx.aol.com (mtaout-db04.r1000.mx.aol.com [172.29.51.196]) by imr-da01.mx.aol.com (Outbound Mail Relay) with ESMTP id DE54F1C0000B0; Wed, 3 Apr 2013 15:20:32 -0400 (EDT) Received: from [10.0.0.201] (wsip-68-105-252-106.sd.sd.cox.net [68.105.252.106]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-db04.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 64756E00008F; Wed, 3 Apr 2013 15:20:32 -0400 (EDT) Subject: Re: FreeBSD booting freescale P1020wlan eval board, via u-boot? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: John Clark In-Reply-To: Date: Wed, 3 Apr 2013 12:20:30 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> To: Aleksander X-Mailer: Apple Mail (2.1085) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1365016832; bh=qkLqAqzYOIMdPZDBYOdl6ftGHe2CHitRMlYYwjPVgPU=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=A7ZYa9L88QJbY01k6+mLaPAsgUY3jehtpU6xockWvHqGpmBb1PsRD+OaL7NJBaSdq UCUjv4Bokzv45Vg7Pb9xjgoZY1RP7U2QHzThbnR8VYKxZNnmsfVh85ZeFKs2BeOVfz S7IudxkY5CMjEo1Q/FfFuYP7q9ncU7DYkt5syL84= X-AOL-SCOLL-SCORE: 0:2:511884672:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c4515c81002b60 X-AOL-IP: 68.105.252.106 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 19:20:33 -0000 On Apr 3, 2013, at 12:04 PM, Aleksander wrote: > please attach some output, maybe I could help. >=20 > The booke_init() function has a bug, which is not yet fixed in HEAD. >=20 > Anyway, you need to use kernel image (not ubldr) either binary or elf = (if elf, you need to jump with offset to __start function objdump lists the entry point for the ELF as, C0001000. So, I used the following u-boot command tftp 1000 kernel-freebsd.bin go 1000 With the presumption that the init code uses PC relative jumps/calls = until the MMU is setup enough to resolve to the correct addresses of = C0001000, which is what NM reports as the entry point for __start. The result is 'nothing' on the serial console output... The thought there is that the kernel is not using my p1020wlan FDT file, = but I did use the following: options FDT_DTB_STATIC Which I presume would statically link the FDT file into the kernel. The Linux that I use can use an external FDT 'file' which is save in = Flash memory. However, that requires the u-boot boot command to pass the = FDT location. Anyway, any clarifying notes would be helpful. Thanks, John Clark. From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 3 20:39:16 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E400DA5D for ; Wed, 3 Apr 2013 20:39:16 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) by mx1.freebsd.org (Postfix) with ESMTP id B2ADEDBC for ; Wed, 3 Apr 2013 20:39:16 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id k1so2023906oag.33 for ; Wed, 03 Apr 2013 13:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=CqoVu56WFx1vNdGxHRsD4OYSnEqeloyLKj4oU4zFJtQ=; b=cjDQdB4opH1XIobqaFd9elYnsjCW2rWqvUVESqHrLo8VAWX+MsX4wEbgrCsNdcQRmj QoAY5D+RMurc/vbDGw3Msi+oKsFCKMp6Dy16aFwrFNoYytASyUkQ0SqWizHP8sesii+J 6p72RQocumzC2ybccevQ0cu1ju9AomWFXsQ10IUPRaYEiwFkiqDd/3PWBNKEaTjZshSe 2b9rkZ6yZmFUxCwTexB5hSBfE1+c/s3feifJ7FXGTmb48Q74pzOMuAMXWV/An4j0sI1S rYvYheodhSKZOR8v/gTQJAVTHOOL7CkZqHJC3KqhLG2p2MfMJS3SHcxwTuGZRQxQwlcm nmcw== MIME-Version: 1.0 X-Received: by 10.182.131.4 with SMTP id oi4mr2174435obb.64.1365021555797; Wed, 03 Apr 2013 13:39:15 -0700 (PDT) Sender: adutkowski@gmail.com Received: by 10.76.95.194 with HTTP; Wed, 3 Apr 2013 13:39:15 -0700 (PDT) In-Reply-To: References: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> Date: Wed, 3 Apr 2013 22:39:15 +0200 X-Google-Sender-Auth: v16-hD4G3L2YOnffPIVsZBbIgCA Message-ID: Subject: Fwd: FreeBSD booting freescale P1020wlan eval board, via u-boot? From: Aleksander To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2013 20:39:16 -0000 On Wed, Apr 3, 2013 at 9:20 PM, John Clark wrote: > > On Apr 3, 2013, at 12:04 PM, Aleksander wrote: > > > please attach some output, maybe I could help. > > > > The booke_init() function has a bug, which is not yet fixed in HEAD. > > > > Anyway, you need to use kernel image (not ubldr) either binary or elf > (if elf, you need to jump with offset to __start function > > objdump lists the entry point for the ELF as, C0001000. > > So, I used the following u-boot command > > tftp 1000 kernel-freebsd.bin > > go 1000 > No no:) Elf formated binary contains (shortly) - elf header - the code So, you load binary at addres X, but you need to add some offset to the very first instruction of __start() function. Since powerpc's freebsd kernel likes to be loaded at address 0x1000000 (16th megabyte), load it at this addr: tftp 0x1000000 kernel.elf and start kernel at first instruction of __start() go 0x1001000 If you want to use raw binary, do the following: tftp 0x1000000 go 0x1000000 > > With the presumption that the init code uses PC relative jumps/calls until > the MMU is setup enough to resolve to the correct addresses of C0001000, > which is what NM reports as the entry point for __start. > > The result is 'nothing' on the serial console output... > > The thought there is that the kernel is not using my p1020wlan FDT file, > but I did use the following: > > options FDT_DTB_STATIC > Which I presume would statically link the FDT file into the kernel. > that correct > > The Linux that I use can use an external FDT 'file' which is save in Flash > memory. However, that requires the u-boot boot command to pass the FDT > location. > > Anyway, any clarifying notes would be helpful. > > Thanks, > John Clark. > > Please attach your fatal trap error message, so I could help you more :) -- regards aleek From owner-freebsd-ppc@FreeBSD.ORG Thu Apr 4 01:52:57 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CA3978E1; Thu, 4 Apr 2013 01:52:57 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3E1ED1; Thu, 4 Apr 2013 01:52:57 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i18so2277355oag.29 for ; Wed, 03 Apr 2013 18:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=RR10DGsoJALukXA/9HgrIzgjiv9INzh5tT33vRVQRhI=; b=f+/MNasNycwDuvxL46EsEhXYJ2RX6c4jupUsTuoL7WJ7ExsSaa9BQFqv3Nbdsd67kQ NyPphoXYkTaBiV9gNHmpbngz+Zos4iOBPuLLrCUqrhULY/+GL4Vd1VujQ0W7P568l/za ZKmVZ8gFp7jlujGiOa/aOPHRl6btYTo+eBxDtClgNyOlYaMTEHQJdLh8sRAFNTmy1T5z /4/y/A+1WoScGwl5r61H4wYapAlQ6gWdyIeagRO92y/BJwCXqoTuz/PCb+iZ1sICkJav ZlAlvkHSVEF9kXWYxTo3ZfNTxAQa01nOh1At7ZqatWjnNgygo/oybsi66yJZRXOxswB4 zFTQ== MIME-Version: 1.0 X-Received: by 10.60.142.230 with SMTP id rz6mr42602oeb.22.1365040370748; Wed, 03 Apr 2013 18:52:50 -0700 (PDT) Received: by 10.182.52.169 with HTTP; Wed, 3 Apr 2013 18:52:50 -0700 (PDT) In-Reply-To: <20130403021550.GA44412@FreeBSD.org> References: <51598DF7.4030008@freebsd.org> <20130403021550.GA44412@FreeBSD.org> Date: Wed, 3 Apr 2013 21:52:50 -0400 Message-ID: Subject: Re: Rebuilding 10 From: Super Bisquit To: Alexey Dokuchaev , FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 01:52:57 -0000 Sorry, everybody, Anyway, I've found that the source from July or so of 2012 was/is different from the current source. Warren Block showed me what to do with perl in the forums. I'm using sneakernet for the moment. The files are kmod.mk and kern.mk as the old ones with the CLANG_IS_CC value. I saw the differences early this morning when extracting src.txz. Again apologies and thanks, Desmond On Tue, Apr 2, 2013 at 10:15 PM, Alexey Dokuchaev wrote: > Desmond (?), > > Please stop excessive overquoting, thank you. I think I've brought this to > your attention before. > > ./danfe > From owner-freebsd-ppc@FreeBSD.ORG Thu Apr 4 19:56:53 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C13CBB57 for ; Thu, 4 Apr 2013 19:56:53 +0000 (UTC) (envelope-from jeclark2006@aim.com) Received: from imr-ma03.mx.aol.com (imr-ma03.mx.aol.com [64.12.206.41]) by mx1.freebsd.org (Postfix) with ESMTP id 86FD9A59 for ; Thu, 4 Apr 2013 19:56:53 +0000 (UTC) Received: from mtaout-ma05.r1000.mx.aol.com (mtaout-ma05.r1000.mx.aol.com [172.29.41.5]) by imr-ma03.mx.aol.com (Outbound Mail Relay) with ESMTP id 880EB1C00011B; Thu, 4 Apr 2013 15:56:47 -0400 (EDT) Received: from [10.0.0.201] (wsip-68-105-252-106.sd.sd.cox.net [68.105.252.106]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-ma05.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id DE5C2E000089; Thu, 4 Apr 2013 15:56:46 -0400 (EDT) Subject: Re: FreeBSD booting freescale P1020wlan eval board, via u-boot? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: John Clark In-Reply-To: Date: Thu, 4 Apr 2013 12:56:45 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <52A23090-2C0C-413C-81CA-17ED250616C8@aim.com> References: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> To: Aleksander X-Mailer: Apple Mail (2.1085) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1365105407; bh=8ajBOT1JgdA4GIj/Pw9nXWxJ9kZ6j3Nj7QT9ELH/RFo=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=KuwAiSkvOvrGcweU0m5Wxh7V293i39+ogV8RXxzMSbDg8FERG8eLutL2DbJoBQ+SS uVOnZrDVxyIbkUfFdS+clOf3fCz1xlzJ/+bjaisQYyVR9DvjqkGyhC4o0h248zySHK rx61ahie06pmboYRR+IaCciBAzsy7Tl30husxSgY= X-AOL-SCOLL-SCORE: 0:2:453510304:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d2905515ddafe4126 X-AOL-IP: 68.105.252.106 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 19:56:53 -0000 On Apr 3, 2013, at 12:04 PM, Aleksander wrote: > please attach some output, maybe I could help. >=20 > The booke_init() function has a bug, which is not yet fixed in HEAD. >=20 > Anyway, you need to use kernel image (not ubldr) either binary or elf = (if elf, you need to jump with offset to __start function I've been continuing to look into why things aren't working. I believe the diagnostic output was due to jumping into the 'wrong' = places. When I objcopy out a binary image, load that, the use the u-boot 'go' = command at 1000000, there is nothing that is output to the console. I've checked and believe a FDT file is statically linked into the code, = and it seems to match up with the p1020rdb.dts, with a few differences due to the 'wlan' version. However, the serial ports are the = same, as well as various memory and other devices. One thing that did occur to me was the default speed of the serial port = as a console. My u-boot is setup for 115200, but I did try 9600 and 19200, just in case someone took the lowest speeds (these = days...). But still no output. I did disassemble the kernel... verified that there's the some what = expected startup code, which was setting up an initial translation = table, then a call the 'booke_init'. You indicated a bug in 'head' for booke_init.c... what are the symptoms? = And where to get a fixed version? If you have other ideas I'd appreciate them as well. Thanks, John Clark. From owner-freebsd-ppc@FreeBSD.ORG Fri Apr 5 06:35:38 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9E0E7D for ; Fri, 5 Apr 2013 06:35:38 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 884AE326 for ; Fri, 5 Apr 2013 06:35:38 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id wn14so2356229obc.4 for ; Thu, 04 Apr 2013 23:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=fh3EURZfOU6fNPJaAeLLndPRwV43fXSFJ0okdJBrxSo=; b=mGLMeZ/B5xxjUh7I9msMgM9OzdFSVADMN/eIjhfgU4R3j5TaXJPTAru+6uIcRunXnY SHVRzoIzRIpaC+De4tXYW5VQKqmMfQXb5vqCW4d0GEJJM5XCa4ZyKabrd8ln8HKbn/dn kT/mcP8FV+Hw7eaKkIoluv6wjrG04EEMJrTYOHms6Pu+Gdx9vSLNqkmuJUPggHm9qqCs QoCUEhl6rXAGEcTBvB0DwcoEAs13Ru7Yk2DnGrRcOM5c83ht7yPtgMjOLVBW9M233ZLi Ke8ZxvFJPKZHvRc/bUGFiGwFfvSQ8gm1zxwt8tB1StZtSB+lF6Vr0AUiWZtU7Xd+vjSx S3ng== MIME-Version: 1.0 X-Received: by 10.182.56.134 with SMTP id a6mr7120143obq.29.1365143737261; Thu, 04 Apr 2013 23:35:37 -0700 (PDT) Sender: adutkowski@gmail.com Received: by 10.76.95.194 with HTTP; Thu, 4 Apr 2013 23:35:37 -0700 (PDT) In-Reply-To: <52A23090-2C0C-413C-81CA-17ED250616C8@aim.com> References: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> <52A23090-2C0C-413C-81CA-17ED250616C8@aim.com> Date: Fri, 5 Apr 2013 08:35:37 +0200 X-Google-Sender-Auth: 31IzXMT86pYOZ5qdoCk-VvQyylk Message-ID: Subject: Re: FreeBSD booting freescale P1020wlan eval board, via u-boot? From: Aleksander To: John Clark , freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2013 06:35:38 -0000 Hi! Try the patch attached to the message. It should fix the bug in booke_init(). It also has p1010_printf() which is early printf that uses my p1010 DUART registers. If you want to use it, check if cn_ptr and cn_lst variables in p1010_putc have proper values. The main fixup is in lines 375-396 of the original file (107 of patch). Without this patch, my board (p1010rdb) hung without any message, so the symptoms were similar to yours. On Thu, Apr 4, 2013 at 9:56 PM, John Clark wrote: > > On Apr 3, 2013, at 12:04 PM, Aleksander wrote: > > > please attach some output, maybe I could help. > > > > The booke_init() function has a bug, which is not yet fixed in HEAD. > > > > Anyway, you need to use kernel image (not ubldr) either binary or elf > (if elf, you need to jump with offset to __start function > > I've been continuing to look into why things aren't working. > > I believe the diagnostic output was due to jumping into the 'wrong' places. > > When I objcopy out a binary image, load that, the use the u-boot 'go' > command at 1000000, there is nothing that is output > to the console. > > I've checked and believe a FDT file is statically linked into the code, > and it seems to match up with the p1020rdb.dts, with a few > differences due to the 'wlan' version. However, the serial ports are the > same, as well as various memory and other devices. > > One thing that did occur to me was the default speed of the serial port as > a console. My u-boot is setup for 115200, but I did try > 9600 and 19200, just in case someone took the lowest speeds (these > days...). But still no output. > > I did disassemble the kernel... verified that there's the some what > expected startup code, which was setting up an initial translation table, > then a call the 'booke_init'. > > You indicated a bug in 'head' for booke_init.c... what are the symptoms? > And where to get a fixed version? > > If you have other ideas I'd appreciate them as well. > > Thanks, > John Clark. > > > -- regards aleek From owner-freebsd-ppc@FreeBSD.ORG Fri Apr 5 10:06:16 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C481D129 for ; Fri, 5 Apr 2013 10:06:16 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by mx1.freebsd.org (Postfix) with ESMTP id 926C0CBB for ; Fri, 5 Apr 2013 10:06:16 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id g12so3837645oah.10 for ; Fri, 05 Apr 2013 03:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=59jXaKsG6L/IHsOXj1X/TB6rT3d1ibFfX7lIC2fDhmw=; b=Q+9LR5JR6g80yE5jZJVIyxmEscC43q+3I4jfUytIPX6wIlqksi75N5Ft5Kg3J717KC 9FHlWTmLYf+QOC0PK000qswl6POTiGvOE6Ap1scRf8iejJYQjRdMJEpG/wliIie862Qn YV76cLTwrX4+PmLh/HSbnEap9vnGnZti4OPywlklKAvU+mtNVeVopLc2s1zaU3RjYRii 3/IkJZOhbz8iQJFoPL3x08jb341t4VbXx6SXp87Mqak/cF4nlkDXVULVGrIMXZOAMuXe ckoHUKkjhxQ4KgE6whyT/0lL1qdFOilnJCPWVSHoGmoy6U3cbcxK/loZ1/AO6fwfeXTs O3kw== MIME-Version: 1.0 X-Received: by 10.182.56.134 with SMTP id a6mr7586077obq.29.1365156370413; Fri, 05 Apr 2013 03:06:10 -0700 (PDT) Sender: adutkowski@gmail.com Received: by 10.76.95.194 with HTTP; Fri, 5 Apr 2013 03:06:10 -0700 (PDT) In-Reply-To: References: <9C09C6C4-EBF5-4CC2-9684-8B33932579BE@aim.com> <52A23090-2C0C-413C-81CA-17ED250616C8@aim.com> Date: Fri, 5 Apr 2013 12:06:10 +0200 X-Google-Sender-Auth: Q7CNg6R1hnr7U3Pa_n68JwP94_8 Message-ID: Subject: Re: FreeBSD booting freescale P1020wlan eval board, via u-boot? From: Aleksander To: John Clark , freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2013 10:06:16 -0000 and of course I forgot the patch:D http://pastebin.com/0TbxhPuv On Fri, Apr 5, 2013 at 8:35 AM, Aleksander wrote: > Hi! > > Try the patch attached to the message. It should fix the bug in > booke_init(). It also has p1010_printf() which is early printf that uses my > p1010 DUART registers. If you want to use it, check if cn_ptr and cn_lst > variables in p1010_putc have proper values. The main fixup is in lines > 375-396 of the original file (107 of patch). > Without this patch, my board (p1010rdb) hung without any message, so the > symptoms were similar to yours. > > > On Thu, Apr 4, 2013 at 9:56 PM, John Clark wrote: > >> >> On Apr 3, 2013, at 12:04 PM, Aleksander wrote: >> >> > please attach some output, maybe I could help. >> > >> > The booke_init() function has a bug, which is not yet fixed in HEAD. >> > >> > Anyway, you need to use kernel image (not ubldr) either binary or elf >> (if elf, you need to jump with offset to __start function >> >> I've been continuing to look into why things aren't working. >> >> I believe the diagnostic output was due to jumping into the 'wrong' >> places. >> >> When I objcopy out a binary image, load that, the use the u-boot 'go' >> command at 1000000, there is nothing that is output >> to the console. >> >> I've checked and believe a FDT file is statically linked into the code, >> and it seems to match up with the p1020rdb.dts, with a few >> differences due to the 'wlan' version. However, the serial ports are the >> same, as well as various memory and other devices. >> >> One thing that did occur to me was the default speed of the serial port >> as a console. My u-boot is setup for 115200, but I did try >> 9600 and 19200, just in case someone took the lowest speeds (these >> days...). But still no output. >> >> I did disassemble the kernel... verified that there's the some what >> expected startup code, which was setting up an initial translation table, >> then a call the 'booke_init'. >> >> You indicated a bug in 'head' for booke_init.c... what are the symptoms? >> And where to get a fixed version? >> >> If you have other ideas I'd appreciate them as well. >> >> Thanks, >> John Clark. >> >> >> > > > -- > regards > aleek > -- regards aleek From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 6 00:48:34 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 03460AA7 for ; Sat, 6 Apr 2013 00:48:34 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22c.google.com (mail-bk0-x22c.google.com [IPv6:2a00:1450:4008:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 90737616 for ; Sat, 6 Apr 2013 00:48:33 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id jk13so2370287bkc.31 for ; Fri, 05 Apr 2013 17:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=9D1hFNVrDtz09JTIQNP1JoSULN9IagIf9Svy+FfKxQc=; b=OOw+Dz4XO+tvEyAExVTI/VkGHxmm85JR/rd0XKV+xa20KxG9Z6BozWLYmlhggrvJSo UyIzl8q8dzYA/bvU6/azzX03HOcWAlsjHYvX3AXcM60xUo1j1C2LBLmWNoVHlO2tyeIf gu1YWgJi2x7Prc3U5dUAbCsO2V9dfjb/Nmxo8arHHflWLU560bpGMTQ+LqEQM+2C4syX QE6qkSPb2F19pQiuxzwC4te9VfR/dmfmt2moStjXNXNxREQ9ua8+BW8iA8iGyzkrqDX0 tUwjVSzLS46dHYtvU3UqDXAb3x+kfNYACyHz7xK9v12FtA0NGTT0sjcRdOYS6P3FpEGg YPmg== MIME-Version: 1.0 X-Received: by 10.204.184.193 with SMTP id cl1mr7675857bkb.17.1365209312541; Fri, 05 Apr 2013 17:48:32 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.204.239.132 with HTTP; Fri, 5 Apr 2013 17:48:32 -0700 (PDT) Date: Fri, 5 Apr 2013 17:48:32 -0700 X-Google-Sender-Auth: jiRzwW-6mG7pJIyN7cz-PHI88k4 Message-ID: Subject: Audio on MDD From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2013 00:48:34 -0000 Does anyone on this list have an MDD with working audio (snapper driver)? Mine doesn't work in FreeBSD. However, I do get the startup chime, so I know the chip works, and the driver worked in the past, I'm just not certain when it broke, and I'm not certain of the last known working svn revision to bisect and test, and don't know if it's just my setup. - Justin From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 6 11:40:39 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5D2747F2 for ; Sat, 6 Apr 2013 11:40:39 +0000 (UTC) (envelope-from julio+host-g5-jmmv@meroh.net) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 21AFCA1B for ; Sat, 6 Apr 2013 11:40:38 +0000 (UTC) X-Authority-Analysis: v=2.0 cv=aOZyWMBm c=1 sm=0 a=1lbwAAoRGm/NdAkqiSZsRw==:17 a=8h8YZ-4vjzcA:10 a=wom5GMh1gUkA:10 a=oU4pudxqFdkA:10 a=kj9zAlcOel0A:10 a=ydJLDSZwAAAA:8 a=CX1_XbCs5kIA:10 a=iKgK73k3gUrqJMOBdNMA:9 a=CjuIK1q_8ugA:10 a=1lbwAAoRGm/NdAkqiSZsRw==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 108.176.158.82 Received: from [108.176.158.82] ([108.176.158.82:65086] helo=portal.meroh.net) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 42/7C-09862-0B900615; Sat, 06 Apr 2013 11:40:32 +0000 Received: from g5.meroh.net (g5.meroh.net [192.168.1.12]) by portal.meroh.net (Postfix) with ESMTP id ECAD3EFE6A for ; Sat, 6 Apr 2013 07:40:24 -0400 (EDT) Received: from g5.meroh.net (localhost [127.0.0.1]) by g5.meroh.net (8.14.5/8.14.5) with ESMTP id r36BdhIo000902 for ; Sat, 6 Apr 2013 07:39:43 -0400 (EDT) (envelope-from jmmv@g5.meroh.net) Received: (from jmmv@localhost) by g5.meroh.net (8.14.5/8.14.5/Submit) id r36Bdh0j000901 for freebsd-ppc@freebsd.org; Sat, 6 Apr 2013 07:39:43 -0400 (EDT) (envelope-from jmmv) Date: Sat, 6 Apr 2013 07:39:43 -0400 From: Julio Merino To: freebsd-ppc@freebsd.org Subject: 4:3 console on 19:10 screen Message-ID: <20130406113943.GA896@g5.meroh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2013 11:40:39 -0000 Hello, I have a PowerMac attached to a 24" widescreen capable of 1920x1200@60Hz. The graphics card is an nVidia GeForce FX 5200 Ultra (NV34). OpenFirmware properly sets up the screen to its highest resolution and uses the full display to show the console. When FreeBSD powerpc64 9.1 boots, I get a 4:3 console centered on the screen. According to the monitor's built-in information panel, however, the screen is properly set up to 1920x1200. This makes me believe that FreeBSD is correctly setting the display to its native resolution but, for some reason, forces the console to be 4:3 (which is a 72 lines by 99 columns). Any ideas on how to change this? vidcontrol appears to be not working, as the output of "vidcontrol -i mode" is non-sense (and the screen is ats native resolution anyway!). Thanks! From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 6 20:59:52 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D110310B for ; Sat, 6 Apr 2013 20:59:52 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by mx1.freebsd.org (Postfix) with ESMTP id A1E84D4 for ; Sat, 6 Apr 2013 20:59:52 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i18so5092010oag.1 for ; Sat, 06 Apr 2013 13:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=RCKs3i4IPSqxCEja5/imrRKqXyRP/e4rAZ+pMGmEMzM=; b=Jhr0WuYHqwHAJfPOOk/2mR3hxfDc2f/jXLyuEkSLtP17wYYA3R1XCNZBndnRb8uHuR EHPRrDOGMBKG5aQ251kNY8njLosOV8dZwLVJkwKMfHAW8vu98lDFXV6hiBRL5FpDth5e JR/UtcTdEJcm9t0REWpYVZ+4r4RzT7zfDWDG/0e7pYxAlhmT+AEDVrU+WE+ebKbSzmpb oqT4088wgRuoqvGWP1NeDP9coqv37I+DjFnw9cqysLvJdoHamuAKqCma9HwxYIZ0cdM8 NUKbxd/rAjijiqEkX6vxYgpT5gDAPRrdZ7hC852rXEDTgExcVzWjIcnwFPVZTZeLjv8g 2Cuw== MIME-Version: 1.0 X-Received: by 10.182.33.102 with SMTP id q6mr11429292obi.39.1365281992068; Sat, 06 Apr 2013 13:59:52 -0700 (PDT) Received: by 10.182.52.169 with HTTP; Sat, 6 Apr 2013 13:59:51 -0700 (PDT) In-Reply-To: <20130406113943.GA896@g5.meroh.net> References: <20130406113943.GA896@g5.meroh.net> Date: Sat, 6 Apr 2013 16:59:51 -0400 Message-ID: Subject: Re: 4:3 console on 19:10 screen From: Super Bisquit To: Julio Merino , FreeBSD PowerPC ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2013 20:59:52 -0000 Xorg is done with "Xorg -configure -retro" and you put the values in. The Gentoo SPARC(64) FAQ section has a part on setting vid mode with OpenBoot. OpenBoot and OpenFirmware are basically the same thing. However, know that it is better to use Xorg -configure on a PPC machine. On Sat, Apr 6, 2013 at 7:39 AM, Julio Merino wrote: > Hello, > > I have a PowerMac attached to a 24" widescreen capable of 1920x1200@60Hz. > The graphics card is an nVidia GeForce FX 5200 Ultra (NV34). > > OpenFirmware properly sets up the screen to its highest resolution and > uses the full display to show the console. > > When FreeBSD powerpc64 9.1 boots, I get a 4:3 console centered on the > screen. According to the monitor's built-in information panel, however, > the screen is properly set up to 1920x1200. This makes me believe that > FreeBSD is correctly setting the display to its native resolution but, > for some reason, forces the console to be 4:3 (which is a 72 lines by > 99 columns). > > Any ideas on how to change this? vidcontrol appears to be not working, > as the output of "vidcontrol -i mode" is non-sense (and the screen is > ats native resolution anyway!). > > Thanks! > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >