From owner-freebsd-ppc@FreeBSD.ORG Sat Mar 24 21:20:30 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 55091106564A for ; Sat, 24 Mar 2012 21:20:30 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 177118FC20 for ; Sat, 24 Mar 2012 21:20:30 +0000 (UTC) Received: by mail-iy0-f182.google.com with SMTP id k25so8366936iah.13 for ; Sat, 24 Mar 2012 14:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=Wvab/8Quwoq9458BYdfwDfFlaD0JRyncH/4GzqmW3jk=; b=rpD/QWH6tT98f8XJGdNudUwNt+4wjm308tl2QpvGEfczX51LlxkKjfYkBhUIuF428D gzTirEVbNlF4UjVp0aDiDa55umodc90YFz/FObwM8NLlXUhmbAblbTLb2cfo6Zj+GY/h AntM6Hcm7NW3bBOsYk+sgJSoqMJRXfiYRaJMmoN/HmKsvLm9TPYi/Hz8mTOW26JO6sHA dq/LA+BCVSL/IMYjYBRtSuVhZ4YiFY6ek8TNysUcRYCWDSs9EoOmE/w4sxcdOfM0fr0s P7GkjXNTH6urhjtjbMSQykYc8LUkEM8bM79ClcZaMmrIpdvHxYMeSJUC83FohCMZbUg1 hfnQ== Received: by 10.50.89.201 with SMTP id bq9mr2190966igb.55.1332624029949; Sat, 24 Mar 2012 14:20:29 -0700 (PDT) Received: from narn.knownspace (216-15-41-8.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com. [216.15.41.8]) by mx.google.com with ESMTPS id vr4sm15038105igb.1.2012.03.24.14.20.29 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Mar 2012 14:20:29 -0700 (PDT) Date: Sat, 24 Mar 2012 17:20:25 -0400 From: Justin Hibbits To: Super Bisquit Message-ID: <20120324172025.67615299@narn.knownspace> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; powerpc-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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: Sat, 24 Mar 2012 21:20:30 -0000 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. >=20 > Apologies for the sudden come and go. >=20 > 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? >=20 > If it wasn't for the error, buildworld on powerpc with clang would > have worked. >=20 > Garrett, has the error from tinderbox build been corrected and has a > build been setup with clang instead? =46rom 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