From owner-freebsd-ppc@FreeBSD.ORG Mon Oct 3 11:07:13 2011 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 89325106564A for ; Mon, 3 Oct 2011 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 781ED8FC0C for ; Mon, 3 Oct 2011 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p93B7DeA033854 for ; Mon, 3 Oct 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p93B7CGY033852 for freebsd-ppc@FreeBSD.org; Mon, 3 Oct 2011 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Oct 2011 11:07:12 GMT Message-Id: <201110031107.p93B7CGY033852@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 Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org 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, 03 Oct 2011 11:07:13 -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/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/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 7 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 4 09:59:22 2011 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 AB1E4106564A for ; Tue, 4 Oct 2011 09:59:22 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECC08FC16 for ; Tue, 4 Oct 2011 09:59:22 +0000 (UTC) Received: by qadz30 with SMTP id z30so189192qad.13 for ; Tue, 04 Oct 2011 02:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=+nNk/s+WbLLqjmWVPrrmI5igPPQIFpRzOT96M8AJNKk=; b=wQPh0b8J82/+3GmE4Ah+DXJTqFpPFPTNTY4m7Cos1TUqfBuX90wV/TDeVFK7qnBFRB UgDJlQocjDcxKVAqLCMweuAocitNKXToLLzXGP4ZEfACZytNUdllxKTEmq/Cx2oAHnZO uo4UO5vN2MLcIK35YY59QpWFKGuYoVoTROdxQ= MIME-Version: 1.0 Received: by 10.229.68.10 with SMTP id t10mr767964qci.140.1317720808432; Tue, 04 Oct 2011 02:33:28 -0700 (PDT) Received: by 10.229.236.203 with HTTP; Tue, 4 Oct 2011 02:33:28 -0700 (PDT) Date: Tue, 4 Oct 2011 02:33:28 -0700 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Powerbook G4 GPU choice 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: Tue, 04 Oct 2011 09:59:22 -0000 I am looking toward getting a Powerbook G4. Which GPU has more support for 3D (nouveau said it was getting artifacts, couldn't find info on ati). I prefer the ATI due to double memory. - NVIDIA GeForce FX Go5200 / (NV34) - ATI Mobility Radeon 9700 / (R300) Also, this is the latest PPC notebook out there right? Is there some Chinese brand out there still doing PPC? I only found an ARM notebook by Genisi. If you know of any vendor, please do share. Cheers. -- Lyubomir Grigorov (bgalakazam) From owner-freebsd-ppc@FreeBSD.ORG Tue Oct 4 11:57:23 2011 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 71AC9106566C for ; Tue, 4 Oct 2011 11:57:23 +0000 (UTC) (envelope-from gdriggs@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 21F8E8FC12 for ; Tue, 4 Oct 2011 11:57:22 +0000 (UTC) Received: by vws11 with SMTP id 11so365125vws.13 for ; Tue, 04 Oct 2011 04:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=00/8oQQM36ai4QvGWVG3weOA6KP/u03PxMTc/KBeWyM=; b=Z4j+kwhmY+J0P9JW9+O9I5DDPnOaGUUJhSD7A0+BeMmWv1csakgQ+ff33YyPe6UCHh LYsk47EF0DL1u+Ua4JY/Js418vsGzEc4d8mMwG5MU3RXHkVN7knw4jLEq9nmQp+gLAZf eb1jql18SA+DnRpKE3MRoX4Icg4nn1tRnNYTk= Received: by 10.68.33.101 with SMTP id q5mr8719584pbi.121.1317727744706; Tue, 04 Oct 2011 04:29:04 -0700 (PDT) Received: from [192.168.111.81] ([69.64.225.246]) by mx.google.com with ESMTPS id i3sm64056237pbg.10.2011.10.04.04.29.02 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Oct 2011 04:29:03 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8C148) Message-Id: <05688D7E-181C-48A8-ACEF-6B4635B48430@gmail.com> X-Mailer: iPhone Mail (8C148) From: Gary Driggs Date: Tue, 4 Oct 2011 04:29:17 -0700 To: =?utf-8?B?0JvRjtCx0L7QvNC40YAg0JPRgNC40LPQvtGA0L7Qsg==?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-ppc@freebsd.org" Subject: Re: Powerbook G4 GPU choice 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: Tue, 04 Oct 2011 11:57:23 -0000 Power systems from Apple were all discontinued in 2006 when they switched to= Intel processors. IBM still makes several expensive servers based on the ar= chitecture, however. Fixstars used to make the PowerStation that shipped wit= h Yellow Dog Linux and the following specs but Apple G4 and G5 systems are p= robably easier to find: - Quad-core 2.5GHz IBM 970MP CPUs. - Up to 32GB RAM and 4 hot-swap SAS drive bays. - ATI X1650 Pro graphics card. - Dual Gig-e and 5 USB 2.0 ports. - DVD/CD-RW and YDL v6.1 pre-installed. Also, you might check with the nouveau driver devs but last I looked in they= hadn't made a lot of progress toward supporting anything but x86_64 systems= . Others here may have more current info, however. On another side note, the first beta motherboards for A-Eon's AmigaOne X1000= workstation have finally shipped but I don't know if anyone in the BSD or L= inux communities have yet to announce their intention to work on it. You can= find its specs in Wikipedia & elsewhere. -Gary On Oct 4, 2011, at 2:33 AM, =D0=9B=D1=8E=D0=B1=D0=BE=D0=BC=D0=B8=D1=80 =D0=93= =D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=BE=D0=B2 wrote: > I am looking toward getting a Powerbook G4. Which GPU has more support for= > 3D (nouveau said it was getting artifacts, couldn't find info on ati). I > prefer the ATI due to double memory. >=20 > - NVIDIA GeForce FX Go5200 / (NV34) > - ATI Mobility Radeon 9700 / (R300) >=20 > Also, this is the latest PPC notebook out there right? Is there some Chine= se > brand out there still doing PPC? I only found an ARM notebook by Genisi. I= f > you know of any vendor, please do share. >=20 > Cheers. >=20 > --=20 > Lyubomir Grigorov (bgalakazam) > _______________________________________________ > 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 Oct 4 12:19:33 2011 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 ED49D106566B for ; Tue, 4 Oct 2011 12:19:32 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id AB86F8FC17 for ; Tue, 4 Oct 2011 12:19:32 +0000 (UTC) Received: by qyk10 with SMTP id 10so3356476qyk.13 for ; Tue, 04 Oct 2011 05:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=V5pk9k2jPXHHUSHVe/u4vpXK7PrYIYPIyFDQAY812rw=; b=XY2j600kCjIrDP36CQO1NdvbS717T67mapzPRRJIjoFTnly6ijUhI8J2zKTVhDNmHM 68ahUlAivfVX2e9YLFic/iwc2NAUxAapbEeiW+9WZROOfXNVBiFHvO53TqndUbZBxbVU ERt/NwXx2scwKnPDLt65JayzhPA7Krxlwf5Bs= MIME-Version: 1.0 Received: by 10.68.21.37 with SMTP id s5mr4240418pbe.35.1317730771645; Tue, 04 Oct 2011 05:19:31 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.142.156.11 with HTTP; Tue, 4 Oct 2011 05:19:31 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Oct 2011 08:19:31 -0400 X-Google-Sender-Auth: GnGSffECFIblx5Bd1hAslyKs7Pw Message-ID: From: Justin Hibbits To: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Powerbook G4 GPU choice 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: Tue, 04 Oct 2011 12:19:33 -0000 2011/10/4 =CB=FE=E1=EE=EC=E8=F0 =C3=F0=E8=E3=EE=F0=EE=E2 > I am looking toward getting a Powerbook G4. Which GPU has more support fo= r > 3D (nouveau said it was getting artifacts, couldn't find info on ati). I > prefer the ATI due to double memory. > > - NVIDIA GeForce FX Go5200 / (NV34) > - ATI Mobility Radeon 9700 / (R300) > > Also, this is the latest PPC notebook out there right? Is there some > Chinese > brand out there still doing PPC? I only found an ARM notebook by Genisi. = If > you know of any vendor, please do share. > > Cheers. > > -- > Lyubomir Grigorov (bgalakazam) > You are correct, those are the latest PowerPC laptop models available, unfortunately. No work has been done on the DRI drivers for PowerPC on FreeBSD. The most that we have so far is an AGP attachment, so the drivers compile. Last time I tried they resulted in a blank screen and insane CPU load. This was several months ago though. - Justin From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 5 01:48:17 2011 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 5E185106564A for ; Wed, 5 Oct 2011 01:48:17 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 196068FC13 for ; Wed, 5 Oct 2011 01:48:16 +0000 (UTC) Received: by ywp17 with SMTP id 17so1403883ywp.13 for ; Tue, 04 Oct 2011 18:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; bh=NCfUCku9VOG5f5dc/GFcuXUVQ3fO8w1cYcb+wNEUH30=; b=ZxViCPxs4HTxqo3aKxiuqrm/KiqoAZBwuY2/mG/RaqZ5HPYoGSo7DqZfOn444OFuCJ DHvoxxDJVpHzgapd2QDPJ1OTzOR7lz1NqvgRTAuOZN329hdbvXKwedTPX6rgb04loaTd eBu+Hb9oqvoaNktivyrnMfgTjonPXiE9n7dT0= Received: by 10.236.184.198 with SMTP id s46mr10792156yhm.23.1317779296350; Tue, 04 Oct 2011 18:48:16 -0700 (PDT) Received: from triad.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 o48sm65150yhl.4.2011.10.04.18.48.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Oct 2011 18:48:15 -0700 (PDT) Message-Id: <81F640D6-2A3C-4C96-A3F6-3E4BA97ECAA9@gmail.com> From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: multipart/mixed; boundary=Apple-Mail-26-169677013 Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 4 Oct 2011 21:48:13 -0400 X-Mailer: Apple Mail (2.936) Subject: Call for testing/comments: ADB keyboard additions 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: Wed, 05 Oct 2011 01:48:17 -0000 --Apple-Mail-26-169677013 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Take 2 on the ADB special keys, now with power button action! This works on my TiBook (1GHz), can people test it, comment, etc. It might still need some style(9) work, for now I just want some more tests. Just a run-down: - Fn-key alternates generate devd notifications. - Power button generates a devd notification. - All events are under the PMU system, keys are under 'keys' subsystem, power button is under 'Button' subsystem. Hopefully this, or something like it, can be committed soon. - Justin --Apple-Mail-26-169677013 Content-Disposition: attachment; filename=adb_special.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="adb_special.diff" Content-Transfer-Encoding: 7bit Index: sys/conf/files.powerpc =================================================================== --- sys/conf/files.powerpc (revision 225971) +++ sys/conf/files.powerpc (working copy) @@ -22,6 +22,7 @@ dev/adb/adb_mouse.c optional adb dev/adb/adb_hb_if.m optional adb dev/adb/adb_if.m optional adb +dev/adb/adb_buttons.c optional adb dev/agp/agp_apple.c optional agp powermac dev/cfi/cfi_bus_fdt.c optional cfi fdt dev/fb/fb.c optional sc Index: sys/dev/adb/adb_buttons.c =================================================================== --- sys/dev/adb/adb_buttons.c (revision 0) +++ sys/dev/adb/adb_buttons.c (revision 0) @@ -0,0 +1,161 @@ +/* $OpenBSD: abtn.c,v 1.12 2009/01/10 18:00:59 robert Exp $ */ +/* $NetBSD: abtn.c,v 1.1 1999/07/12 17:48:26 tsubai Exp $ */ + +/*- + * Copyright (c) 2011, Justin Hibbits. + * Copyright (c) 2002, Miodrag Vallat. + * Copyright (C) 1999 Tsubai Masanari. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include +#include +#include +#include + +#include + +#include +#include + +#include + +#define ABTN_HANDLER_ID 31 + +struct abtn_softc { + device_t sc_dev; + + int handler_id; +}; + +static int abtn_probe(device_t dev); +static int abtn_attach(device_t dev); +static u_int abtn_receive_packet(device_t dev, u_char status, + u_char command, u_char reg, int len, u_char *data); + +static device_method_t abtn_methods[] = { + /* Device interface */ + DEVMETHOD(device_probe, abtn_probe), + DEVMETHOD(device_attach, abtn_attach), + DEVMETHOD(device_shutdown, bus_generic_shutdown), + DEVMETHOD(device_suspend, bus_generic_suspend), + DEVMETHOD(device_resume, bus_generic_resume), + + /* ADB interface */ + DEVMETHOD(adb_receive_packet, abtn_receive_packet), + + { 0, 0 } +}; + +static driver_t abtn_driver = { + "abtn", + abtn_methods, + sizeof(struct abtn_softc), +}; + +static devclass_t abtn_devclass; + +DRIVER_MODULE(abtn, adb, abtn_driver, abtn_devclass, 0, 0); + +static int +abtn_probe(device_t dev) +{ + uint8_t type; + + type = adb_get_device_type(dev); + + if (type != ADB_DEVICE_MISC) + return (ENXIO); + + device_set_desc(dev,"ADB Brightness/volume/eject buttons"); + return (0); +} + +static int +abtn_attach(device_t dev) +{ + struct abtn_softc *sc; + + sc = device_get_softc(dev); + sc->sc_dev = dev; + + sc->handler_id = adb_get_device_handler(dev); + + return 0; +} + +static u_int +abtn_receive_packet(device_t dev, u_char status, + u_char command, u_char reg, int len, u_char *data) +{ + u_int cmd; + + cmd = data[0]; + + switch (cmd) { + case 0x0a: /* decrease brightness */ + if (devctl_process_running()) + devctl_notify("PMU", "keys", "brightness", "notify=down"); + break; + + case 0x09: /* increase brightness */ + if (devctl_process_running()) + devctl_notify("PMU", "keys", "brightness", "notify=up"); + break; + + case 0x08: /* mute */ + case 0x01: /* mute, AV hardware */ + if (devctl_process_running()) + devctl_notify("PMU", "keys", "mute", NULL); + break; + case 0x07: /* decrease volume */ + case 0x02: /* decrease volume, AV hardware */ + if (devctl_process_running()) + devctl_notify("PMU", "keys", "volume", "notify=down"); + break; + case 0x06: /* increase volume */ + case 0x03: /* increase volume, AV hardware */ + if (devctl_process_running()) + devctl_notify("PMU", "keys", "volume", "notify=up"); + break; + case 0x0c: /* mirror display key */ + /* Need callback to do something with this */ + break; + case 0x0b: /* eject tray */ + if (devctl_process_running()) + devctl_notify("PMU", "keys", "eject", NULL); + case 0x7f: /* numlock */ + /* Need callback to do something with this */ + break; + + default: +#ifdef DEBUG + if ((cmd & ~0x7f) == 0) + device_printf(dev, "unknown ADB button 0x%x\n", cmd); +#endif + break; + } + return 0; +} Index: sys/dev/adb/adb_kbd.c =================================================================== --- sys/dev/adb/adb_kbd.c (revision 225971) +++ sys/dev/adb/adb_kbd.c (working copy) @@ -35,12 +35,15 @@ #include #include #include +#include #include #include "opt_kbd.h" #include #include +#include +#include #include #include @@ -55,6 +58,7 @@ static int adb_kbd_attach(device_t dev); static int adb_kbd_detach(device_t dev); static void akbd_repeat(void *xsc); +static int adb_fn_keys(SYSCTL_HANDLER_ARGS); static u_int adb_kbd_receive_packet(device_t dev, u_char status, u_char command, u_char reg, int len, u_char *data); @@ -282,6 +286,8 @@ { struct adb_kbd_softc *sc; keyboard_switch_t *sw; + uint32_t fkeys; + phandle_t handle; sw = kbd_get_switch(KBD_DRIVER_NAME); if (sw == NULL) { @@ -333,6 +339,38 @@ adb_set_autopoll(dev,1); + handle = OF_finddevice("mac-io/via-pmu/adb/keyboard"); + device_printf(dev, "phandle: %x\n", handle); + if (OF_getprop(handle, "AAPL,has-embedded-fn-keys", &fkeys, sizeof(fkeys)) != -1) + { + static const char *key_names[] = { + "F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"}; + int i = 0; + struct sysctl_ctx_list *ctx; + struct sysctl_oid *tree; + + device_printf(dev, "Keyboard has embedded Fn keys\n"); + for (; i < 12; i++) + { + uint32_t keyval; + char buf[3]; + if (OF_getprop(handle, key_names[i], &keyval, sizeof(keyval)) < 0) + continue; + buf[0] = 1; + buf[1] = i+1; + buf[2] = keyval; + adb_write_register(dev, 0, 3, buf); + } + adb_write_register(dev, 1, 2, &(uint16_t){0}); + + ctx = device_get_sysctl_ctx(dev); + tree = device_get_sysctl_tree(dev); + + SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, + "fn_keys_function_as_primary", CTLTYPE_INT | CTLFLAG_RW, sc, 0, + adb_fn_keys, "I", "Set the Fn keys to be their F-key type as default"); + } + return (0); } @@ -383,6 +421,14 @@ return (0); mtx_lock(&sc->sc_mutex); + /* 0x7f is always the power button */ + if (data[0] == 0x7f && devctl_process_running()) { + devctl_notify("PMU", "Button", "pressed", NULL); + return (0); + } + else if (data[0] == 0xff) { + return (0); /* Ignore power button release. */ + } if ((data[0] & 0x7f) == 57 && sc->buffers < 7) { /* Fake the down/up cycle for caps lock */ sc->buffer[sc->buffers++] = data[0] & 0x7f; @@ -390,7 +436,6 @@ } else { sc->buffer[sc->buffers++] = data[0]; } - if (sc->buffer[sc->buffers-1] < 0xff) sc->last_press = sc->buffer[sc->buffers-1]; @@ -814,5 +859,29 @@ return (0); } +static int +adb_fn_keys(SYSCTL_HANDLER_ARGS) +{ + struct adb_kbd_softc *sc = arg1; + int error; + uint16_t is_fn_enabled; + unsigned int is_fn_enabled_sysctl; + + adb_read_register(sc->sc_dev, 1, &is_fn_enabled); + is_fn_enabled &= 1; + is_fn_enabled_sysctl = is_fn_enabled; + error = sysctl_handle_int(oidp, &is_fn_enabled_sysctl, 0, req); + + if (error || !req->newptr) + return (error); + + is_fn_enabled = is_fn_enabled_sysctl; + if (is_fn_enabled != 1 && is_fn_enabled != 0) + return (EINVAL); + + adb_write_register(sc->sc_dev, 1, 2, &is_fn_enabled); + return (0); +} + DEV_MODULE(akbd, akbd_modevent, NULL); --Apple-Mail-26-169677013 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-26-169677013-- From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 5 15:11:43 2011 Return-Path: Delivered-To: powerpc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 8E0CA1065674; Wed, 5 Oct 2011 15:11:43 +0000 (UTC) Date: Wed, 5 Oct 2011 15:11:43 +0000 From: Alexander Best To: FreeBSD Tinderbox Message-ID: <20111005151143.GA39590@freebsd.org> References: <201110051443.p95Ehh6n084130@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201110051443.p95Ehh6n084130@freebsd-current.sentex.ca> Cc: powerpc@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/powerpc 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: Wed, 05 Oct 2011 15:11:43 -0000 On Wed Oct 5 11, FreeBSD Tinderbox wrote: > TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on freebsd-current.sentex.ca > TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc > TB --- 2011-10-05 12:55:29 - cleaning the object tree > TB --- 2011-10-05 12:55:43 - cvsupping the source tree > TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile > TB --- 2011-10-05 12:55:55 - building world > TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES > TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj > TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null > TB --- 2011-10-05 12:55:55 - TARGET=powerpc > TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc > TB --- 2011-10-05 12:55:55 - TZ=UTC > TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null > TB --- 2011-10-05 12:55:55 - cd /src > TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld > >>> World build started on Wed Oct 5 12:55:56 UTC 2011 > >>> Rebuilding the temporary build tree > >>> stage 1.1: legacy release compatibility shims > >>> stage 1.2: bootstrap tools > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3: cross tools > >>> stage 4.1: building includes > >>> stage 4.2: building libraries > >>> stage 4.3: make dependencies > >>> stage 4.4: building everything > [...] > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/util.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/fastmatch.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/hashtable.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-compile.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-fastmatch.c [..] -Wno-unused-parameter [..] -Wunused-parameter ? cheers. alex > cc1: warnings being treated as errors > /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': > /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false > *** Error code 1 > > Stop in /src/usr.bin/grep. > *** Error code 1 > > Stop in /src/usr.bin. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2011-10-05 14:43:43 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2011-10-05 14:43:43 - ERROR: failed to build world > TB --- 2011-10-05 14:43:43 - 5199.23 user 882.58 system 6494.23 real > > > http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 5 15:18:45 2011 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6BFA106564A for ; Wed, 5 Oct 2011 15:18:45 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6ABEA8FC08 for ; Wed, 5 Oct 2011 15:18:45 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.4) with ESMTP id p95EhiHM084150; Wed, 5 Oct 2011 10:43:44 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.4/Submit) id p95Ehh6n084130; Wed, 5 Oct 2011 14:43:43 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 5 Oct 2011 14:43:43 GMT Message-Id: <201110051443.p95Ehh6n084130@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 15:18:45 -0000 TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-05 12:55:29 - cleaning the object tree TB --- 2011-10-05 12:55:43 - cvsupping the source tree TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-05 12:55:55 - building world TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null TB --- 2011-10-05 12:55:55 - TARGET=powerpc TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc TB --- 2011-10-05 12:55:55 - TZ=UTC TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null TB --- 2011-10-05 12:55:55 - cd /src TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 12:55:56 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 14:43:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 14:43:43 - ERROR: failed to build world TB --- 2011-10-05 14:43:43 - 5199.23 user 882.58 system 6494.23 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 5 15:30:01 2011 Return-Path: Delivered-To: powerpc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 7C12D1065670; Wed, 5 Oct 2011 15:30:01 +0000 (UTC) Date: Wed, 5 Oct 2011 15:30:01 +0000 From: Alexander Best To: FreeBSD Tinderbox Message-ID: <20111005153001.GA43197@freebsd.org> References: <201110051443.p95Ehh6n084130@freebsd-current.sentex.ca> <20111005151143.GA39590@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111005151143.GA39590@freebsd.org> Cc: powerpc@freebsd.org, current@freebsd.org Subject: Re: [head tinderbox] failure on powerpc/powerpc 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: Wed, 05 Oct 2011 15:30:01 -0000 On Wed Oct 5 11, Alexander Best wrote: > On Wed Oct 5 11, FreeBSD Tinderbox wrote: > > TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on freebsd-current.sentex.ca > > TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc > > TB --- 2011-10-05 12:55:29 - cleaning the object tree > > TB --- 2011-10-05 12:55:43 - cvsupping the source tree > > TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile > > TB --- 2011-10-05 12:55:55 - building world > > TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES > > TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj > > TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > > TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null > > TB --- 2011-10-05 12:55:55 - TARGET=powerpc > > TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc > > TB --- 2011-10-05 12:55:55 - TZ=UTC > > TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null > > TB --- 2011-10-05 12:55:55 - cd /src > > TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld > > >>> World build started on Wed Oct 5 12:55:56 UTC 2011 > > >>> Rebuilding the temporary build tree > > >>> stage 1.1: legacy release compatibility shims > > >>> stage 1.2: bootstrap tools > > >>> stage 2.1: cleaning up the object tree > > >>> stage 2.2: rebuilding the object tree > > >>> stage 2.3: build tools > > >>> stage 3: cross tools > > >>> stage 4.1: building includes > > >>> stage 4.2: building libraries > > >>> stage 4.3: make dependencies > > >>> stage 4.4: building everything > > [...] > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/util.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/fastmatch.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/hashtable.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-compile.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-fastmatch.c > > [..] -Wno-unused-parameter [..] -Wunused-parameter ? any thoughts about diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 796d169..a6127bf 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -36,12 +36,12 @@ CWARNFLAGS += -Werror CWARNFLAGS += -Wall -Wno-format-y2k . endif . if ${WARNS} >= 3 -CWARNFLAGS += -W -Wno-unused-parameter -Wstrict-prototypes\ +CWARNFLAGS += -Wextra -Wstrict-prototypes\ -Wmissing-prototypes -Wpointer-arith . endif . if ${WARNS} >= 4 CWARNFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch\ - -Wshadow -Wunused-parameter + -Wshadow . if !defined(NO_WCAST_ALIGN) CWARNFLAGS += -Wcast-align . endif @@ -56,6 +56,9 @@ CWARNFLAGS += -Wchar-subscripts -Winline -Wnested-externs\ # XXX always get it right. CWARNFLAGS += -Wno-uninitialized . endif +. if ${WARNS} == 3 +CWARNFLAGS += -Wno-unused-parameter +. endif CWARNFLAGS += -Wno-pointer-sign . endif ? -Wunused-parameter seems to be enforced by -Wunsed, which seems to be implied by -Wall. i also changed -W to the new name -Wextra. > > cheers. > alex > > > cc1: warnings being treated as errors > > /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': > > /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false > > *** Error code 1 > > > > Stop in /src/usr.bin/grep. > > *** Error code 1 > > > > Stop in /src/usr.bin. > > *** Error code 1 > > > > Stop in /src. > > *** Error code 1 > > > > Stop in /src. > > *** Error code 1 > > > > Stop in /src. > > TB --- 2011-10-05 14:43:43 - WARNING: /usr/bin/make returned exit code 1 > > TB --- 2011-10-05 14:43:43 - ERROR: failed to build world > > TB --- 2011-10-05 14:43:43 - 5199.23 user 882.58 system 6494.23 real > > > > > > http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Oct 5 19:46:24 2011 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF62B106564A; Wed, 5 Oct 2011 19:46:24 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4428FC15; Wed, 5 Oct 2011 19:46:24 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.4) with ESMTP id p95JkNX4019085; Wed, 5 Oct 2011 15:46:23 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.4/Submit) id p95JkNeA019064; Wed, 5 Oct 2011 19:46:23 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 5 Oct 2011 19:46:23 GMT Message-Id: <201110051946.p95JkNeA019064@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 19:46:24 -0000 TB --- 2011-10-05 17:56:45 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 17:56:45 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-05 17:56:45 - cleaning the object tree TB --- 2011-10-05 17:56:54 - cvsupping the source tree TB --- 2011-10-05 17:56:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-05 17:57:33 - building world TB --- 2011-10-05 17:57:33 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 17:57:33 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 17:57:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 17:57:33 - SRCCONF=/dev/null TB --- 2011-10-05 17:57:33 - TARGET=powerpc TB --- 2011-10-05 17:57:33 - TARGET_ARCH=powerpc TB --- 2011-10-05 17:57:33 - TZ=UTC TB --- 2011-10-05 17:57:33 - __MAKE_CONF=/dev/null TB --- 2011-10-05 17:57:33 - cd /src TB --- 2011-10-05 17:57:33 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 17:57:33 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 19:46:22 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 19:46:22 - ERROR: failed to build world TB --- 2011-10-05 19:46:23 - 5222.12 user 929.49 system 6578.05 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 6 00:33:58 2011 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A07D1106564A; Thu, 6 Oct 2011 00:33:58 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6C3FC8FC08; Thu, 6 Oct 2011 00:33:58 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.4) with ESMTP id p960XvYZ057422; Wed, 5 Oct 2011 20:33:57 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.4/Submit) id p960Xv8L057404; Thu, 6 Oct 2011 00:33:57 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 6 Oct 2011 00:33:57 GMT Message-Id: <201110060033.p960Xv8L057404@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 00:33:58 -0000 TB --- 2011-10-05 22:46:20 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 22:46:20 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-05 22:46:20 - cleaning the object tree TB --- 2011-10-05 22:46:30 - cvsupping the source tree TB --- 2011-10-05 22:46:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-05 22:46:42 - building world TB --- 2011-10-05 22:46:42 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 22:46:42 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 22:46:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 22:46:42 - SRCCONF=/dev/null TB --- 2011-10-05 22:46:42 - TARGET=powerpc TB --- 2011-10-05 22:46:42 - TARGET_ARCH=powerpc TB --- 2011-10-05 22:46:42 - TZ=UTC TB --- 2011-10-05 22:46:42 - __MAKE_CONF=/dev/null TB --- 2011-10-05 22:46:42 - cd /src TB --- 2011-10-05 22:46:42 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 22:46:43 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 00:33:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 00:33:56 - ERROR: failed to build world TB --- 2011-10-06 00:33:57 - 5142.78 user 921.96 system 6456.77 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Oct 6 05:34:19 2011 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49D021065672; Thu, 6 Oct 2011 05:34:19 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 158F38FC08; Thu, 6 Oct 2011 05:34:18 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.4) with ESMTP id p965YIgA003698; Thu, 6 Oct 2011 01:34:18 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.4/Submit) id p965YISe003675; Thu, 6 Oct 2011 05:34:18 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 6 Oct 2011 05:34:18 GMT Message-Id: <201110060534.p965YISe003675@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2011 05:34:19 -0000 TB --- 2011-10-06 03:45:56 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-06 03:45:56 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-06 03:45:56 - cleaning the object tree TB --- 2011-10-06 03:46:08 - cvsupping the source tree TB --- 2011-10-06 03:46:08 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-06 03:46:31 - building world TB --- 2011-10-06 03:46:31 - CROSS_BUILD_TESTING=YES TB --- 2011-10-06 03:46:31 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-06 03:46:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-06 03:46:31 - SRCCONF=/dev/null TB --- 2011-10-06 03:46:31 - TARGET=powerpc TB --- 2011-10-06 03:46:31 - TARGET_ARCH=powerpc TB --- 2011-10-06 03:46:31 - TZ=UTC TB --- 2011-10-06 03:46:31 - __MAKE_CONF=/dev/null TB --- 2011-10-06 03:46:31 - cd /src TB --- 2011-10-06 03:46:31 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 6 03:46:32 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 05:34:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 05:34:17 - ERROR: failed to build world TB --- 2011-10-06 05:34:17 - 5186.42 user 913.09 system 6500.70 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full