From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 26 02:39:51 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58E5A1065679 for ; Mon, 26 Mar 2012 02:39:51 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2C41D8FC23 for ; Mon, 26 Mar 2012 02:39:50 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so6220022pbc.13 for ; Sun, 25 Mar 2012 19:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bfcSotpxIx8GnU4gfpX43HDGiUTHYxkleQbdUpQ+oo0=; b=LBNY31InBHNKmowx6mnrCnpo5EcUBL9K4zF7hslxV67vRd96Xu5Q49GyOjJjQMMN6d kqHzH4uAXQOvGTfwtYYXxUCRaOGYqPkme9ZEnrtb+yqK+OdvSqoexgOp8HFg1JbWV9Rl hAn37hat00+fHP+0i78AoFg/GHhCH6T0gZuUhtZuobMCuGu6s2mhfS6ETKj8ZzZTpoZK H4JbgH/B47qeZaVJ2RYSONwHPjuOrLoRSHfYxhmU4IebM6fz8uKERw2uVQrreZpdrQyj A+vQGaKaoa3CW+5O465/xqtIdkJ4En1PLEAAJX+wTu6ZQs7KFbw+pbutxmongUKefCng hh0A== MIME-Version: 1.0 Received: by 10.68.223.42 with SMTP id qr10mr48764975pbc.127.1332729590633; Sun, 25 Mar 2012 19:39:50 -0700 (PDT) Received: by 10.68.208.168 with HTTP; Sun, 25 Mar 2012 19:39:50 -0700 (PDT) In-Reply-To: <20120324172025.67615299@narn.knownspace> References: <20120324172025.67615299@narn.knownspace> Date: Sun, 25 Mar 2012 22:39:50 -0400 Message-ID: From: Super Bisquit To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 Cc: Garrett Cooper , FreeBSD PowerPC ML Subject: Re: wi diff X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 02:39:51 -0000 On 3/24/12, Justin Hibbits wrote: > On Sat, 24 Mar 2012 17:04:58 -0400 > Super Bisquit wrote: > >> I sent two emails- the second a repeat of the first. >> In GENERIC, all warnings were edited out and wi was not added in the >> miibus section. >> I haven't rebooted yet. The other messages show the error. >> >> Apologies for the sudden come and go. >> >> Justin, thanks for the reply in CURRENT. I think that clang, llvm, and >> related need to be in the base and not in ports. Developer version >> releases are different. Look on emulation for some posts I made, is >> it possible to get what was sent- I think from you if I recall >> correctly- to be in source? >> >> If it wasn't for the error, buildworld on powerpc with clang would >> have worked. >> >> Garrett, has the error from tinderbox build been corrected and has a >> build been setup with clang instead? > > From my understanding, wi(4) does not attach to the mii bus, so you > will never see it. If my understanding is correct, mii is for physical > ethernet only (a real networking expert can correct me here, gladly). > So the attachment you see of wi(4) should only be on the macio, pci, or > pccard buses, if in fact you have a wi(4) card (original airport, > not airport extreme in the case of my diff). > > As for the clang/llvm problems, since clang is not complete regarding > powerpc (and anything but x86/x86-64 and most of arm), it doesn't make > sense to keep updating them just to track any possible PowerPC > changes. One very important part that's missing in the PowerPC target > is position-independent code, which is required for shared libraries. > I've been working off and on with getting Thread-local storage working > for PowerPC, but have not done too much (wrote the basic function, > haven't added the codegen parts in), but will continue working on it > over the coming months, and then turn my attention to PIC (if nobody > else has stepped up to it by then). With these being the two biggest > stumbling points, solving them will go a long way to getting clang > buildworlding FreeBSD. > > - Justin > I emailed the Debian maintainers for clang and asked about configure options. Although it is not FreeBSD, the information may help some. The #llvm irc channel mentioned that FreeBSD was/is interested in PowerPC builds. Look for the forwarded email.