From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 18 11:06:55 2013 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 943DDAD4 for ; Mon, 18 Nov 2013 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83BEE2094 for ; Mon, 18 Nov 2013 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIB6thX009166 for ; Mon, 18 Nov 2013 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAIB6toA009164 for freebsd-ppc@FreeBSD.org; Mon, 18 Nov 2013 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Nov 2013 11:06:55 GMT Message-Id: <201311181106.rAIB6toA009164@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.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2013 11:06:55 -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/183040 ppc Nested signal handling is broken o power/182908 ppc Unable to build debug binaries with clang on powerpc64 o power/181502 ppc /usr/include/stdint.h 9.2-RC1/powerpc does not compile o power/180593 ppc PowerMac G5 shuts down when building pcre o power/178038 ppc clang++ fails to produce a binary in powerpc64 o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) 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 11 problems total. From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 10:35:09 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 856761FF for ; Wed, 20 Nov 2013 10:35:09 +0000 (UTC) Received: from mail-vc0-x22e.google.com (mail-vc0-x22e.google.com [IPv6:2607:f8b0:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 49FB62F2B for ; Wed, 20 Nov 2013 10:35:09 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id id10so2435276vcb.5 for ; Wed, 20 Nov 2013 02:35:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=0zD2h/80yaLpx1n2UbAaynoM96PRMLROBGGA3zvPohg=; b=VKKktqYB60XWvbcP5t8CB88ZjGbrHNC0QbuNnxjKcFur0EXxTOVmGTbA6qOmAQrpS8 0qnNtVh9KF0sD0uFV/9j7w2EzNOL+VG4RYKZ+1bE/hGOv1h151Mwh2KKBpPGTs+L2e7E X7wabH9lbgUdGtaI8/+OSHGvDz3lCgsE0+rb8EvllcyZeJRzPqZ0gBcUtxFW6udYvYao qhppVyoSWCf89BL2i2M5BQc59xVfDjaEWD0x3hvJ7FSxfAPgOYO0nO6Bm/osmQ3WKYvl kCEy1KWzPDdKQkADIkUDIf7uqIWCTnOqClXbfyRT3BtYS1xxX+mcS6VmWY+5X7QwKULH FxXw== X-Received: by 10.52.28.6 with SMTP id x6mr20959926vdg.3.1384943708390; Wed, 20 Nov 2013 02:35:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.165.2 with HTTP; Wed, 20 Nov 2013 02:34:47 -0800 (PST) From: Frank Pfabigan Date: Wed, 20 Nov 2013 11:34:47 +0100 Message-ID: Subject: /usr/ports/devel/icu does not compile To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 10:35:09 -0000 hello readers ^^ trying to run freebsd 9.2 on mac mini g4 (first generation). freebsd installs like a charm from cd (will not boot from usb) but when it comes to compile a window manager, all tries fail. one little piece that is used by - gnome - kde - firefox - xfce - many others is /usr/ports/devel/icu, which will not compile so that neither kde, gnome, xfce will be built. the only window manager so far that works is enlightenment (0.17). the compilation of firefox also fails, because of /usr/ports/devel/icu. is there already any solution for this issue? i am very new to this list (since 10 minutes) and not an unix-expert, so maybe i haven't seen a provided solution. thank you for your time. --=20 Frank Pfabigan Holstenstra=C3=9Fe 9 23552 L=C3=BCbeck Tel. 0451 / 70 20 358 Mobil 0151 / 22 655 432 frank.pfabigan@gmail.com From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 11:26:21 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4898805 for ; Wed, 20 Nov 2013 11:26:21 +0000 (UTC) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 5F86D22FE for ; Wed, 20 Nov 2013 11:26:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3dPhRv3QNmzCy1r for ; Wed, 20 Nov 2013 12:26:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id oW78B-7WHEut for ; Wed, 20 Nov 2013 12:26:19 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3dPhRv2QRczCy1h for ; Wed, 20 Nov 2013 12:26:19 +0100 (CET) Received: from puffo.bilink.net (unknown [192.168.44.6]) by hermes.mcs.it (Postfix) with ESMTP id 340E81B7515 for ; Wed, 20 Nov 2013 12:26:19 +0100 (CET) Date: Wed, 20 Nov 2013 12:23:36 +0100 From: Luciano Mannucci (by way of Luciano Mannucci ) To: freebsd-ppc@freebsd.org Message-ID: <20131120122336.0553e1fd@puffo.bilink.net> In-Reply-To: References: Organization: MediaConsultants srl X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Date: Wed, 20 Nov 2013 12:26:18 +0100 Resent-From: Luciano Mannucci Subject: Re: /usr/ports/devel/icu does not compile Resent-To: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 11:26:21 -0000 On Wed, 20 Nov 2013 11:34:47 +0100 Frank Pfabigan wrote: > is /usr/ports/devel/icu, which will not compile so that neither kde, gnome, > xfce will be built. > > the only window manager so far that works is enlightenment (0.17). I'm running xfce on my old (1998) powerbook. It works like a charm :-) I remember having had a hard time compiling icu, I don't remember what fixed the thigie though. Maybe it needs gcc46. Or maybe it was not enough swap space. You may wish ti try. Once compiled gcc46 from the ports, just issue "setenv CC gcc46" and "setenv GXX g++46" and type a make install clean in the icu directory. Good luck, BTW... :-) Now I'm trying to compile webkit-gtk2 (needed - among others - by gnome). I'm still trying to understand what's going wrong (each attempt costs more then 24 hours compilation :). I'll report the results once I have some... :-) Cheers, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 14:41:03 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 90A603FB for ; Wed, 20 Nov 2013 14:41:03 +0000 (UTC) Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 538382F4F for ; Wed, 20 Nov 2013 14:41:03 +0000 (UTC) Received: by mail-ve0-f178.google.com with SMTP id c14so390140vea.23 for ; Wed, 20 Nov 2013 06:41:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=7aOgntm0t57CSn1+pD0k9Htjfn7gRDoYZc8CUkIjLkM=; b=zmlm3qBfYOJwa5hxzPFKCX7+ytd57ZpA6ugoCPHMWse7mV9s2+An7H+Ebu4FJMWABE L+ZYPh5iI5V3ib4ptoQu21WCYGvjecJua1WBKhZeIY9AoWUjvyEZS9mfDIRPMHruPVCM VZoGxO5FvpDbGUI840WB6Z1bUhZn68qaQCxtf2YSdQCcSzam7+i43dWgme4doy1QDgcG YQ75o8zZGji0PBW+y749cKGSvIPYiSUnctlJ5D/wQzZBzutV5lOzr9TFhALIRa9LPQx5 TfU0exGYP7Qwj5n8MEMNOTZ7iDYDb8ezhS2A7CcFdTILgAVH7nUKum2K/XvVsU/dQYUI J+Aw== X-Received: by 10.52.177.166 with SMTP id cr6mr575112vdc.26.1384958461994; Wed, 20 Nov 2013 06:41:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.165.2 with HTTP; Wed, 20 Nov 2013 06:40:41 -0800 (PST) In-Reply-To: <20131120122336.0553e1fd@puffo.bilink.net> References: <20131120122336.0553e1fd@puffo.bilink.net> From: Frank Pfabigan Date: Wed, 20 Nov 2013 15:40:41 +0100 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 14:41:03 -0000 thanks for the tip ^^ when i try to compile /usr/ports/lang/gcc46 (4.6.4) it says that this conflicts with gcc4.6.3 and suggests that i should first remove gcc4.6.3. but... if i do so, what will compile the sources of gcc4.6.4? ^^ how do i fix this issue? ;-) and: yes. every compile-run takes nearly a day ;-) compiling X was endless (but works). is there a way to answer all questions during compilation per default so that i can compile sources unattended? (because i'm sleeping sometimes ^^). 2013/11/20 Luciano Mannucci > On Wed, 20 Nov 2013 11:34:47 +0100 > Frank Pfabigan wrote: > > > is /usr/ports/devel/icu, which will not compile so that neither kde, > gnome, > > xfce will be built. > > > > the only window manager so far that works is enlightenment (0.17). > I'm running xfce on my old (1998) powerbook. It works like a charm :-) > I remember having had a hard time compiling icu, I don't remember what > fixed the thigie though. > Maybe it needs gcc46. > Or maybe it was not enough swap space. > You may wish ti try. Once compiled gcc46 from the ports, just > issue "setenv CC gcc46" and "setenv GXX g++46" and type a > make install clean in the icu directory. > Good luck, BTW... :-) > > Now I'm trying to compile webkit-gtk2 (needed - among others - by > gnome). I'm still trying to understand what's going wrong (each > attempt costs more then 24 hours compilation :). I'll report the > results once I have some... :-) > > Cheers, > > Luciano. > -- > /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 > X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ > _______________________________________________ > 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" > --=20 Frank Pfabigan Holstenstra=C3=9Fe 9 23552 L=C3=BCbeck Tel. 0451 / 70 20 358 Mobil 0151 / 22 655 432 frank.pfabigan@gmail.com From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 14:44: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9588A4C7 for ; Wed, 20 Nov 2013 14:44:57 +0000 (UTC) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 57E9E2F81 for ; Wed, 20 Nov 2013 14:44:57 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id ia6so1063489vcb.18 for ; Wed, 20 Nov 2013 06:44:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=GjH7lAP6TmHbWzEVAevpSlLJwiCK4svYj365kFPuZCw=; b=XKY49pI9KuSE4L8OS+L4ds6R88djtrA/x5swo1IWXxLRG2lbyIGVh9HN40Zw/CVHVv ll4/fkYGXsXSBXtEqQQB/T16xnBAS7JuPDY9MxMWr0dHWnl99qhLxIVk2vdm3hBR8YX8 l5IysDzlU8bGK1mhJR3jQEYreu2eA65EHVlGvG4Lr75Eu1lqkL0Pj+y47nMI2ymDnka0 s2GFsV8XI4FKe4xMzF4nmXL5AeYMpaLcVeliTVBrvvRMXRe2SCfpulBFbgK6XqQFVu4e 0Qf+M4Z85Tbpk7kUlyc+CP0Gq6OUyWUIxQgagblbUX4ONJTEhnFVo+bwh6VN/7SWcHs5 iAjQ== X-Received: by 10.58.29.37 with SMTP id g5mr136016veh.38.1384958696449; Wed, 20 Nov 2013 06:44:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.165.2 with HTTP; Wed, 20 Nov 2013 06:44:36 -0800 (PST) In-Reply-To: <20131120122336.0553e1fd@puffo.bilink.net> References: <20131120122336.0553e1fd@puffo.bilink.net> From: Frank Pfabigan Date: Wed, 20 Nov 2013 15:44:36 +0100 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 14:44:57 -0000 > but... if i do so, what will compile the sources of gcc4.6.4? ^^ "cc" ( which is gcc 4.2.1 on my freebsd 9.2). make reinstall clean, or remove via pkg (I assume you have e fresh port reasonably up to date :). >> tried this. worked. but this seems not to work: setenv CC gcc46 setenv GCC gcc46 and "make install clean" in /usr/ports/devel/icu. same compilation fail as before. howto tell "make install" to take gcc46? 2013/11/20 Luciano Mannucci > On Wed, 20 Nov 2013 11:34:47 +0100 > Frank Pfabigan wrote: > > > is /usr/ports/devel/icu, which will not compile so that neither kde, > gnome, > > xfce will be built. > > > > the only window manager so far that works is enlightenment (0.17). > I'm running xfce on my old (1998) powerbook. It works like a charm :-) > I remember having had a hard time compiling icu, I don't remember what > fixed the thigie though. > Maybe it needs gcc46. > Or maybe it was not enough swap space. > You may wish ti try. Once compiled gcc46 from the ports, just > issue "setenv CC gcc46" and "setenv GXX g++46" and type a > make install clean in the icu directory. > Good luck, BTW... :-) > > Now I'm trying to compile webkit-gtk2 (needed - among others - by > gnome). I'm still trying to understand what's going wrong (each > attempt costs more then 24 hours compilation :). I'll report the > results once I have some... :-) > > Cheers, > > Luciano. > -- > /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 > X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ > _______________________________________________ > 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" > --=20 Frank Pfabigan Holstenstra=C3=9Fe 9 23552 L=C3=BCbeck Tel. 0451 / 70 20 358 Mobil 0151 / 22 655 432 frank.pfabigan@gmail.com From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 14:48:58 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8DA895BD for ; Wed, 20 Nov 2013 14:48:58 +0000 (UTC) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6159E2FB2 for ; Wed, 20 Nov 2013 14:48:57 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MWK00M00GXSXN00@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 20 Nov 2013 08:48:50 -0600 (CST) X-Spam-PmxInfo: Server=avs-2, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.11.20.143615, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-69-44.dsl.mdsnwi.sbcglobal.net [76.208.69.44]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MWK00CX0H5CER10@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 20 Nov 2013 08:48:49 -0600 (CST) Message-id: <528CCBD0.3080900@freebsd.org> Date: Wed, 20 Nov 2013 08:48:48 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 To: Frank Pfabigan , freebsd-ppc@freebsd.org Subject: Re: /usr/ports/devel/icu does not compile References: <20131120122336.0553e1fd@puffo.bilink.net> In-reply-to: X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 14:48:58 -0000 On 11/20/13 08:40, Frank Pfabigan wrote: > thanks for the tip ^^ > > when i try to compile /usr/ports/lang/gcc46 (4.6.4) it says that this > conflicts with gcc4.6.3 and suggests that i should first remove gcc4.6.3. > > but... if i do so, what will compile the sources of gcc4.6.4? ^^ Could you post the error message you get from compiling icu? I haven't had any trouble with it. > how do i fix this issue? ;-) > > and: yes. every compile-run takes nearly a day ;-) compiling X was endless > (but works). is there a way to answer all questions during compilation per > default so that i can compile sources unattended? (because i'm sleeping > sometimes ^^). make config-recursive is your friend here -Nathan > > 2013/11/20 Luciano Mannucci > >> On Wed, 20 Nov 2013 11:34:47 +0100 >> Frank Pfabigan wrote: >> >>> is /usr/ports/devel/icu, which will not compile so that neither kde, >> gnome, >>> xfce will be built. >>> >>> the only window manager so far that works is enlightenment (0.17). >> I'm running xfce on my old (1998) powerbook. It works like a charm :-) >> I remember having had a hard time compiling icu, I don't remember what >> fixed the thigie though. >> Maybe it needs gcc46. >> Or maybe it was not enough swap space. >> You may wish ti try. Once compiled gcc46 from the ports, just >> issue "setenv CC gcc46" and "setenv GXX g++46" and type a >> make install clean in the icu directory. >> Good luck, BTW... :-) >> >> Now I'm trying to compile webkit-gtk2 (needed - among others - by >> gnome). I'm still trying to understand what's going wrong (each >> attempt costs more then 24 hours compilation :). I'll report the >> results once I have some... :-) >> >> Cheers, >> >> Luciano. >> -- >> /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) >> \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 >> X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG >> / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ >> _______________________________________________ >> 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 Nov 20 14:59: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 697EDC66; Wed, 20 Nov 2013 14:59:45 +0000 (UTC) Received: from mail-ve0-x22b.google.com (mail-ve0-x22b.google.com [IPv6:2607:f8b0:400c:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 17E162130; Wed, 20 Nov 2013 14:59:45 +0000 (UTC) Received: by mail-ve0-f171.google.com with SMTP id cz12so7331817veb.16 for ; Wed, 20 Nov 2013 06:59:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6BXQAy0KfWkav8WSRvqDsLzBlwnEsWQxnqNQYbgNmUQ=; b=rIRVtGZd8QOKA4nsz1cUXJzKkmv+BQdZNLmOdsiaJHoDE0S1ndufTzH2cKlfsBIWLS 99A97vqBWH+TPoYU8gyh+eMp4MnpZNiP3reRkZc5KWE2p5WiP57yV+YOu9miDJdcMx1c QcxYj/buMm7ECaf7/i0M85L1Fh/qrZQVSoQY8mXFUJ9Yo7ctuizpXSOmuZxgqXQuUNj7 Kui6qKldA0QIjl6XNx2Z6gHW/o6eH+aPl4B/Yv1jBbYq0pU2BhI7MjAkdzziK8cn/pJM uFdAZ/jeGk0CuuxETunZDzm1ymuuEirJmURREDDVWGPMhhuhFhpmjhwyOjYiZ9F27fDD 5nwQ== X-Received: by 10.52.32.66 with SMTP id g2mr658284vdi.14.1384959584117; Wed, 20 Nov 2013 06:59:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.165.2 with HTTP; Wed, 20 Nov 2013 06:59:23 -0800 (PST) In-Reply-To: <528CCBD0.3080900@freebsd.org> References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> From: Frank Pfabigan Date: Wed, 20 Nov 2013 15:59:23 +0100 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 14:59:45 -0000 currently, i can't access files and screenoutput from my main computer (where i am sitting right now writing this mail ^^). in the output of /usr/ports/devel/icu compilation are a lot of "missing binary operator before (" errors running very fast over the screen ;-) i'm typing some lines from the screen of the mac mini (one of the error lines): ... /usr/include/stdint.h:68:68: error: missing binary operator before token "(= " gmake[1]: *** [errorcode.ao] Error 1 gmake[1]: Leaving directory '/usr/ports/devel/icu/work/icu/source/common' gmake: ** [all-recursive] Error 2 =3D=3D=3D> Compilation failed unexpectedly. ... can you guess what is wrong from these lines? it's a pity that "pkg_add -r xfce" or "pkg_add -r icu" doesn't fetch any binary-ready package. thanks for the tipp with make config-recursive ;-) 2013/11/20 Nathan Whitehorn > On 11/20/13 08:40, Frank Pfabigan wrote: > >> thanks for the tip ^^ >> >> when i try to compile /usr/ports/lang/gcc46 (4.6.4) it says that this >> conflicts with gcc4.6.3 and suggests that i should first remove gcc4.6.3= . >> >> but... if i do so, what will compile the sources of gcc4.6.4? ^^ >> > > Could you post the error message you get from compiling icu? I haven't ha= d > any trouble with it. > > > how do i fix this issue? ;-) >> >> and: yes. every compile-run takes nearly a day ;-) compiling X was endle= ss >> (but works). is there a way to answer all questions during compilation p= er >> default so that i can compile sources unattended? (because i'm sleeping >> sometimes ^^). >> > > make config-recursive is your friend here > -Nathan > > > >> 2013/11/20 Luciano Mannucci >> >> On Wed, 20 Nov 2013 11:34:47 +0100 >>> Frank Pfabigan wrote: >>> >>> is /usr/ports/devel/icu, which will not compile so that neither kde, >>>> >>> gnome, >>> >>>> xfce will be built. >>>> >>>> the only window manager so far that works is enlightenment (0.17). >>>> >>> I'm running xfce on my old (1998) powerbook. It works like a charm :-) >>> I remember having had a hard time compiling icu, I don't remember what >>> fixed the thigie though. >>> Maybe it needs gcc46. >>> Or maybe it was not enough swap space. >>> You may wish ti try. Once compiled gcc46 from the ports, just >>> issue "setenv CC gcc46" and "setenv GXX g++46" and type a >>> make install clean in the icu directory. >>> Good luck, BTW... :-) >>> >>> Now I'm trying to compile webkit-gtk2 (needed - among others - by >>> gnome). I'm still trying to understand what's going wrong (each >>> attempt costs more then 24 hours compilation :). I'll report the >>> results once I have some... :-) >>> >>> Cheers, >>> >>> Luciano. >>> -- >>> /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) >>> \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 >>> X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG >>> / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ >>> _______________________________________________ >>> 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" >>> >>> >> >> > --=20 Frank Pfabigan Holstenstra=C3=9Fe 9 23552 L=C3=BCbeck Tel. 0451 / 70 20 358 Mobil 0151 / 22 655 432 frank.pfabigan@gmail.com From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 15:50: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35F5C9AC for ; Wed, 20 Nov 2013 15:50:34 +0000 (UTC) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F076E24AC for ; Wed, 20 Nov 2013 15:50:33 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MWK00900JPJAH00@smtpauth4.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 20 Nov 2013 09:50:26 -0600 (CST) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.11.20.154214, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (dyn-72-33-251-28.uwnet.wisc.edu [72.33.251.28]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MWK008ANK00RK30@smtpauth4.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Wed, 20 Nov 2013 09:50:25 -0600 (CST) Message-id: <528CDA40.10400@freebsd.org> Date: Wed, 20 Nov 2013 09:50:24 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 To: Frank Pfabigan Subject: Re: /usr/ports/devel/icu does not compile References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> In-reply-to: X-Enigmail-Version: 1.5.2 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 15:50:34 -0000 On 11/20/13 08:59, Frank Pfabigan wrote: > currently, i can't access files and screenoutput from my main computer > (where i am sitting right now writing this mail ^^). > > in the output of /usr/ports/devel/icu compilation are a lot of > "missing binary operator before (" errors running very fast over the > screen ;-) > > i'm typing some lines from the screen of the mac mini (one of the > error lines): > > ... > /usr/include/stdint.h:68:68: error: missing binary operator before > token "(" > gmake[1]: *** [errorcode.ao ] Error 1 > gmake[1]: Leaving directory '/usr/ports/devel/icu/work/icu/source/common' > gmake: ** [all-recursive] Error 2 > ===> Compilation failed unexpectedly. > .. That's a very odd error. I wonder if you have some kind of disk corruption. Could you let us know what FreeBSD release you are using and what line 8 of /usr/include/stdint.h actually is? -Nathan > > can you guess what is wrong from these lines? > > it's a pity that "pkg_add -r xfce" or "pkg_add -r icu" doesn't fetch > any binary-ready package. > > > thanks for the tipp with > make config-recursive > ;-) > > > > > > 2013/11/20 Nathan Whitehorn > > > On 11/20/13 08:40, Frank Pfabigan wrote: > > thanks for the tip ^^ > > when i try to compile /usr/ports/lang/gcc46 (4.6.4) it says > that this > conflicts with gcc4.6.3 and suggests that i should first > remove gcc4.6.3. > > but... if i do so, what will compile the sources of gcc4.6.4? ^^ > > > Could you post the error message you get from compiling icu? I > haven't had any trouble with it. > > > how do i fix this issue? ;-) > > and: yes. every compile-run takes nearly a day ;-) compiling X > was endless > (but works). is there a way to answer all questions during > compilation per > default so that i can compile sources unattended? (because i'm > sleeping > sometimes ^^). > > > make config-recursive is your friend here > -Nathan > > > > 2013/11/20 Luciano Mannucci > > > On Wed, 20 Nov 2013 11:34:47 +0100 > Frank Pfabigan > wrote: > > is /usr/ports/devel/icu, which will not compile so > that neither kde, > > gnome, > > xfce will be built. > > the only window manager so far that works is > enlightenment (0.17). > > I'm running xfce on my old (1998) powerbook. It works like > a charm :-) > I remember having had a hard time compiling icu, I don't > remember what > fixed the thigie though. > Maybe it needs gcc46. > Or maybe it was not enough swap space. > You may wish ti try. Once compiled gcc46 from the ports, just > issue "setenv CC gcc46" and "setenv GXX g++46" and type a > make install clean in the icu directory. > Good luck, BTW... :-) > > Now I'm trying to compile webkit-gtk2 (needed - among > others - by > gnome). I'm still trying to understand what's going wrong > (each > attempt costs more then 24 hours compilation :). I'll > report the > results once I have some... :-) > > Cheers, > > Luciano. > -- > /"\ /Via A. Salaino, 7 - 20144 > Milano (Italy) > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: > +39 2 48578250 > X AGAINST HTML MAIL / E-MAIL: > posthamster@sublink.sublink.ORG > > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ > _______________________________________________ > 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 > " > > > > > > > > -- > Frank Pfabigan > Holstenstraße 9 > 23552 Lübeck > > Tel. 0451 / 70 20 358 > Mobil 0151 / 22 655 432 > frank.pfabigan@gmail.com > From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 16:18: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B29B3422; Wed, 20 Nov 2013 16:18:03 +0000 (UTC) Received: from mail-ve0-x230.google.com (mail-ve0-x230.google.com [IPv6:2607:f8b0:400c:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 600D026A5; Wed, 20 Nov 2013 16:18:03 +0000 (UTC) Received: by mail-ve0-f176.google.com with SMTP id oz11so1697143veb.35 for ; Wed, 20 Nov 2013 08:18:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hllgwq0zARAzxRV78yJaVgmsQRbs65rxbaUESjIC5UY=; b=LPNloR4DOf+Sv7W0gSSg1smZYDEgw/+71DQVivzw5RjLR7zh2crPpV9HdKpcFpTGy3 IVtyN1FkXSyG2gstDl4PGekyycjiu9xbzjxUezmGOMtk/IDoMgcNr5KtNByQyFJj2qmf QWb93OLIE9Upt+pyQoYkk74uFpvxRj9w5oChVrA/3dyuGhcSKGczKjxUyxL82ipY4GcH N8enJKqGpZZwp6a3KLOrNXu7KBQGlbKY/RaGwsdEKqNpE9ijhPXEr7T9dGpO5pCsfWvJ jPhq10B7JRQf+iXrwQR8cO0Bffvix4AtzaMPIbZ774ZmtR/UHnNcqY14Ydnqpvw0ShPV aJlw== X-Received: by 10.52.64.143 with SMTP id o15mr902098vds.16.1384964282371; Wed, 20 Nov 2013 08:18:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.165.2 with HTTP; Wed, 20 Nov 2013 08:17:42 -0800 (PST) In-Reply-To: <528CDA40.10400@freebsd.org> References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> <528CDA40.10400@freebsd.org> From: Frank Pfabigan Date: Wed, 20 Nov 2013 17:17:42 +0100 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 16:18:03 -0000 2013/11/20 Nathan Whitehorn > what line 8 of /usr/include/stdint.h actually is? > i'm using editor "ee", don't know how to make line-numbers show up (one problem leads to another ^^). i think you meant line 68ff? again, i have to type it from screen ;-) file: /usr/include/stdint.h (which is an alias to somewhere else). file has 71 lines (tells ee), so these lines must contain line 68: ... /* GNU and Darwin define this and people seem to think it's portable */ #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UNITPTR_MAX =3D=3D UINT64_MAX) #define __WORDSIZE 64 #else #define __WORDSIZE 32 #endif #endif /* !_SYS_STDINT_H_ */ . this is freebsd 9.2 on mac mini (first generation, small and slow). --=20 Frank Pfabigan Holstenstra=C3=9Fe 9 23552 L=C3=BCbeck Tel. 0451 / 70 20 358 Mobil 0151 / 22 655 432 frank.pfabigan@gmail.com From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 17:07:43 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 737C923C; Wed, 20 Nov 2013 17:07:43 +0000 (UTC) Date: Wed, 20 Nov 2013 17:07:43 +0000 From: Alexey Dokuchaev To: Luciano Mannucci Subject: Re: /usr/ports/devel/icu does not compile Message-ID: <20131120170743.GA16921@FreeBSD.org> References: <20131120122336.0553e1fd@puffo.bilink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131120122336.0553e1fd@puffo.bilink.net> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 17:07:43 -0000 On Wed, Nov 20, 2013 at 12:23:36PM +0100, Luciano Mannucci wrote: > Now I'm trying to compile webkit-gtk2 (needed - among others - by > gnome). I'm still trying to understand what's going wrong (each > attempt costs more then 24 hours compilation :). Perhaps ccache would help? It can be really a time-saver esp. for C++ shit that takes ages to [re]compile. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 17:09:06 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D82E2A2; Wed, 20 Nov 2013 17:09:06 +0000 (UTC) Received: from st11p02mm-asmtp002.mac.com (st11p02mm-asmtp002.mac.com [17.172.220.237]) by mx1.freebsd.org (Postfix) with ESMTP id 583B829EF; Wed, 20 Nov 2013 17:09:06 +0000 (UTC) Received: from marcelm-sslvpn-nc.jnpr.net (unknown [66.129.239.13]) by st11p02mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0MWK00DCGNMIWN30@st11p02mm-asmtp002.mac.com>; Wed, 20 Nov 2013 17:08:44 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.14,0.0.0000 definitions=2013-11-20_06:2013-11-20,2013-11-20,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1311200114 From: Marcel Moolenaar Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Subject: RFC: compiler options to control what gets built and how Date: Wed, 20 Nov 2013 09:08:36 -0800 Message-id: <3D481595-1F61-4244-838F-5C13ABCB830D@mac.com> To: powerpc@freebsd.org MIME-version: 1.0 (Mac OS X Mail 7.0 \(1822\)) X-Mailer: Apple Mail (2.1822) Cc: Warner Losh X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 17:09:06 -0000 All, Background: Juniper is refocussing efforts towards PowerPC again. Primarily what this means for Juniper is that a select set of PowerPC- based Juniper products will migrate to the latest FreeBSD as the base OS underneath Junos. What this means for FreeBSD is that Juniper will be contributing a bunch of goodies :-) Problem at hand: Juniper builds kernel modules without any reference to a kernel configuration. This works great for architectures like x86, but for PowerPC, MIPS and ARM this isn't always that easy. The problem as far as I can see it is that we use kernel configurations to indicate for which CPU we're compiling. Let's call this the build setting for arguments sake. Complication: Many embedded CPU architectures have specific compiler behaviour you may have to tell the compiler for what CPU or ABI you're compiling. Let's call this the compiler setting. Having both a build setting and a compiler setting is, well, complicating. What I'd like to change is that we use compiler settings more than build settings, for where it's applicable of course and as a first stab, do it for PowerPC only. If it's successful then it should be fairly easy to apply to ARM and MIPS. Examples: 1. A compiler that generates 64-bit code can be assumed to compiler a 64-bit PowerPC kernel. There is no need to have a build option (like machine powerpc powerpc). Testing for __LP64__ or something like that will do just fine. 2. The difference between AIM and Book-E is (can) be handled by checking the appropriate compiler defines (__embedded__) and have us do the right thing in the kernel for modules and for user space. Particular use case: 1. Cross-tools aren't necessarily helped by the magical and automatic selection of appropriate definitions. This is not a problem that is in search of a solution though. Our ELF headers handle this adequately and the same scheme can work for things like trap frames and the likes. 2. The remote kernel debugger stub needs different register definitions for Book-E and AIM. These register definitions are controller by the compiler options used, yet our stub uses build settings. This has previously resulted in an inability to debug the kernel remotely due to a mismatch. 3. The buildbot I setup at Juniper builds a LINT kernel for each CPU architecture. For PowerPC this adds an avoidable complication that we actually need to use a different LINT kernel configuration for no other reach than that we need "machine powerpc powerpc64" rather than "machine powerpc powerpc" A distinction that is almost entirely unnecessary. What needs to change to make this work: 1. Since config(8) is the tool we use to pick up source files, and we use the abovementioned build options to select the right source files, we need a way to inject compiler defines into the process of configuring the kernel build. 2. We need well-defined built-in compiler defines for building AIM vs. Book-E and 32-bit vs 64-bit. What do people think of using the compiler to drive more of what and how we built so that the right thing happens with fewer manual setup? -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 18:25:46 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13E4D9A4 for ; Wed, 20 Nov 2013 18:25:46 +0000 (UTC) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id B28552F34 for ; Wed, 20 Nov 2013 18:25:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3dPslr23cszCy1n for ; Wed, 20 Nov 2013 19:25:44 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id JfFrXMToKin7 for ; Wed, 20 Nov 2013 19:25:44 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3dPslr18s0zCy1h for ; Wed, 20 Nov 2013 19:25:44 +0100 (CET) Received: from puffo.bilink.net (unknown [192.168.44.6]) by hermes.mcs.it (Postfix) with ESMTP id 8928C22974 for ; Wed, 20 Nov 2013 19:25:43 +0100 (CET) Date: Wed, 20 Nov 2013 19:25:42 +0100 From: Luciano Mannucci To: freebsd-ppc@freebsd.org Subject: Re: /usr/ports/devel/icu does not compile In-Reply-To: References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y 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.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 18:25:46 -0000 On Wed, 20 Nov 2013 15:59:23 +0100 Frank Pfabigan wrote: > /usr/include/stdint.h:68:68: error: missing binary operator before token "(" Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs. I've modified mine by commenting out the offending lines and adding a #define __WORDSIZE 32 which, of course, is correct on my machine (and yours too I presume :). The End of my stdint.h looks like that now: /* GNU and Darwin define this and people seem to think it's portable @/ #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) #define __WORDSIZE 64 #else #define __WORDSIZE 32 #endif */ #define __WORDSIZE 32 #endif /* !_SYS_STDINT_H_ */ -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 18:34:24 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17593155 for ; Wed, 20 Nov 2013 18:34:24 +0000 (UTC) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id BA9272FEB for ; Wed, 20 Nov 2013 18:34:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3dPsxp3RyzzCy1n for ; Wed, 20 Nov 2013 19:34:22 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id hnXjYAHOiHWK for ; Wed, 20 Nov 2013 19:34:22 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3dPsxp2PJZzCy1h for ; Wed, 20 Nov 2013 19:34:22 +0100 (CET) Received: from puffo.bilink.net (unknown [192.168.44.6]) by hermes.mcs.it (Postfix) with ESMTP id 1792B22974 for ; Wed, 20 Nov 2013 19:34:22 +0100 (CET) Date: Wed, 20 Nov 2013 19:34:21 +0100 From: Luciano Mannucci To: freebsd-ppc@freebsd.org Subject: Re: /usr/ports/devel/icu does not compile In-Reply-To: <20131120170743.GA16921@FreeBSD.org> References: <20131120122336.0553e1fd@puffo.bilink.net> <20131120170743.GA16921@FreeBSD.org> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd9.2) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y 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.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 18:34:24 -0000 On Wed, 20 Nov 2013 17:07:43 +0000 Alexey Dokuchaev wrote: > Perhaps ccache would help? It can be really a time-saver esp. for C++ > shit that takes ages to [re]compile. Uh? I don't know that beast. I'll have a look and a go. Thanks, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 18:52: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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 271A963B for ; Wed, 20 Nov 2013 18:52:36 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B50802140 for ; Wed, 20 Nov 2013 18:52:34 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id rAKIqSaO062493; Wed, 20 Nov 2013 19:52:31 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <528D04EC.8090606@fgznet.ch> Date: Wed, 20 Nov 2013 19:52:28 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Luciano Mannucci , freebsd-ppc@freebsd.org Subject: Re: /usr/ports/devel/icu does not compile References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> <20131120182552.0C50A9C4@hub.freebsd.org> In-Reply-To: <20131120182552.0C50A9C4@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 18:52:36 -0000 On 20.11.13 19:25, Luciano Mannucci wrote: > On Wed, 20 Nov 2013 15:59:23 +0100 > Frank Pfabigan wrote: > >> /usr/include/stdint.h:68:68: error: missing binary operator before token "(" > Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs. > I've modified mine by commenting out the offending lines and adding a > #define __WORDSIZE 32 > which, of course, is correct on my machine (and yours too I presume :). > The End of my stdint.h looks like that now: > > /* GNU and Darwin define this and people seem to think it's portable @/ > #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) > #define __WORDSIZE 64 > #else > #define __WORDSIZE 32 > #endif > */ > > #define __WORDSIZE 32 > > #endif /* !_SYS_STDINT_H_ */ > I think the below is the fix: http://svnweb.freebsd.org/base?view=revision&revision=229494 Andreas From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 20 19:09:13 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F9F1A42 for ; Wed, 20 Nov 2013 19:09:13 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DD90F2217 for ; Wed, 20 Nov 2013 19:09:12 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id rAKJ8xlw047325; Wed, 20 Nov 2013 20:09:09 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <528D08CB.7090300@fgznet.ch> Date: Wed, 20 Nov 2013 20:08:59 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Frank Pfabigan , freebsd-ppc@freebsd.org Subject: Re: /usr/ports/devel/icu does not compile References: <20131120122336.0553e1fd@puffo.bilink.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Nov 2013 19:09:13 -0000 On 20.11.13 15:44, Frank Pfabigan wrote: >> but... if i do so, what will compile the sources of gcc4.6.4? ^^ > "cc" ( which is gcc 4.2.1 on my freebsd 9.2). > > make reinstall clean, or remove via pkg (I assume you have e fresh port > reasonably up to date :). > >>> > tried this. worked. but this seems not to work: > > setenv CC gcc46 > setenv GCC gcc46 setenv CC gcc46 setenv CXX g++46 Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 21 00:43:53 2013 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 572469D6 for ; Thu, 21 Nov 2013 00:43:53 +0000 (UTC) Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [IPv6:2607:f8b0:400d:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1CD9B2572 for ; Thu, 21 Nov 2013 00:43:53 +0000 (UTC) Received: by mail-qe0-f53.google.com with SMTP id cy11so6883364qeb.12 for ; Wed, 20 Nov 2013 16:43:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=scixxt++1ALEdbQycSSV1dnuQooXV3tJXqpQ6+AbTOQ=; b=GtW6lphUlatpn9CpN7QEF6DdZjeaZM0kOTD5BzJ68TMsXVTGuStIBJEIKksOAFTjYj zar2ocoXQsxADF7ibxjuJaxjNOdZzvMvZaJ90W6yLFrwT5x8C5/bLGHJmcPYJP1W4sHC sVmfVWEzvqHtEDuGJMossItMjreDQBYtRSTBz22hf6TBoKYi+FnCh5qRo+ZE8ojXo6zO JwvfNq1IIhA7gNxizlnw8PYuWHOqcXRsteRNhzTMiW4Ow52P7eG6qvV9c3djcRtsxJxk XF4Ww/xZ8Ktyk0G7g5esNCgbaturX1TrXwBGD6Cnqd9VEPQlcpCZp6/+mTWbzw81OeFi s2xQ== MIME-Version: 1.0 X-Received: by 10.224.12.10 with SMTP id v10mr6614256qav.98.1384994632338; Wed, 20 Nov 2013 16:43:52 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Wed, 20 Nov 2013 16:43:52 -0800 (PST) In-Reply-To: <3D481595-1F61-4244-838F-5C13ABCB830D@mac.com> References: <3D481595-1F61-4244-838F-5C13ABCB830D@mac.com> Date: Wed, 20 Nov 2013 16:43:52 -0800 X-Google-Sender-Auth: ecLKnjyknX07gXfbN_AGexLK8n0 Message-ID: Subject: Re: RFC: compiler options to control what gets built and how From: Adrian Chadd To: Marcel Moolenaar Content-Type: text/plain; charset=ISO-8859-1 Cc: powerpc@freebsd.org, Warner Losh X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 00:43:53 -0000 .. kernel modules generally need opt_xxx.h in order to correctly build with things like debug flags. net80211 for example changes the calling ABI depending upon whether IEEE80211_DEBUG is enabled or not. -adrian On 20 November 2013 09:08, Marcel Moolenaar wrote: > All, > > Background: > Juniper is refocussing efforts towards PowerPC again. Primarily > what this means for Juniper is that a select set of PowerPC- > based Juniper products will migrate to the latest FreeBSD as > the base OS underneath Junos. > What this means for FreeBSD is that Juniper will be contributing > a bunch of goodies :-) > > Problem at hand: > Juniper builds kernel modules without any reference to a kernel > configuration. This works great for architectures like x86, but > for PowerPC, MIPS and ARM this isn't always that easy. The problem > as far as I can see it is that we use kernel configurations to > indicate for which CPU we're compiling. Let's call this the > build setting for arguments sake. > > Complication: > Many embedded CPU architectures have specific compiler behaviour > you may have to tell the compiler for what CPU or ABI you're > compiling. Let's call this the compiler setting. Having both a > build setting and a compiler setting is, well, complicating. > > What I'd like to change is that we use compiler settings more > than build settings, for where it's applicable of course and as > a first stab, do it for PowerPC only. If it's successful then > it should be fairly easy to apply to ARM and MIPS. > > Examples: > 1. A compiler that generates 64-bit code can be assumed to > compiler a 64-bit PowerPC kernel. There is no need to have > a build option (like machine powerpc powerpc). Testing for > __LP64__ or something like that will do just fine. > 2. The difference between AIM and Book-E is (can) be handled > by checking the appropriate compiler defines (__embedded__) > and have us do the right thing in the kernel for modules > and for user space. > > Particular use case: > 1. Cross-tools aren't necessarily helped by the magical and > automatic selection of appropriate definitions. This is not > a problem that is in search of a solution though. Our ELF > headers handle this adequately and the same scheme can work > for things like trap frames and the likes. > 2. The remote kernel debugger stub needs different register > definitions for Book-E and AIM. These register definitions > are controller by the compiler options used, yet our stub > uses build settings. This has previously resulted in an > inability to debug the kernel remotely due to a mismatch. > 3. The buildbot I setup at Juniper builds a LINT kernel for > each CPU architecture. For PowerPC this adds an avoidable > complication that we actually need to use a different LINT > kernel configuration for no other reach than that we need > "machine powerpc powerpc64" > rather than > "machine powerpc powerpc" > A distinction that is almost entirely unnecessary. > > What needs to change to make this work: > 1. Since config(8) is the tool we use to pick up source files, > and we use the abovementioned build options to select the > right source files, we need a way to inject compiler defines > into the process of configuring the kernel build. > 2. We need well-defined built-in compiler defines for building > AIM vs. Book-E and 32-bit vs 64-bit. > > What do people think of using the compiler to drive more of what > and how we built so that the right thing happens with fewer > manual setup? > > -- > Marcel Moolenaar > xcllnt@mac.com > > > > _______________________________________________ > 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 Thu Nov 21 08:35:03 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6887F439 for ; Thu, 21 Nov 2013 08:35:03 +0000 (UTC) Received: from mail-vb0-x235.google.com (mail-vb0-x235.google.com [IPv6:2607:f8b0:400c:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 27F9E200F for ; Thu, 21 Nov 2013 08:35:03 +0000 (UTC) Received: by mail-vb0-f53.google.com with SMTP id g10so3556699vbg.12 for ; Thu, 21 Nov 2013 00:35:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=2J7qrbQN+iqahDlJT4BqG+2vVxsLP/ThrzDsDFSSEKM=; b=LEUk9WMpw8xszVASK8bzdv+drvqC2O1woes9S2ptqocIPlBn6ugi3Tz16W8WWElIqJ gG4nwosm7fgMKC6WztBdOO9fS6T+ZedgRrFKcmHb403AEtWeqCOY7ODxTZAEjxkhE3qx BdISEVKv79EMVY02P5F6R/EYlO627BEYCdTXeGzNrFfV5gNloOrA09XEf4DQU1n9oNAY iv1Lmhys9kjVudRxWqUO0jeHH94ZZcwq1XkgN0n3F4/icjpjnWs7b5Z7ExMuMTtbSqyc J4DxaaPhWZUxt+gj5yP6DBjADoD6yRnVG0WASPywPsGkCys5ty4kUIWl8l5gL7Boj1uM brIA== X-Received: by 10.52.28.243 with SMTP id e19mr12551vdh.36.1385022902182; Thu, 21 Nov 2013 00:35:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.165.2 with HTTP; Thu, 21 Nov 2013 00:34:42 -0800 (PST) In-Reply-To: <528D04EC.8090606@fgznet.ch> References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> <20131120182552.0C50A9C4@hub.freebsd.org> <528D04EC.8090606@fgznet.ch> From: Frank Pfabigan Date: Thu, 21 Nov 2013 09:34:42 +0100 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile To: Andreas Tobler Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 08:35:03 -0000 i modified /usr/includes/stdint.h as described yesterday late evening and compiled /usr/ports/devel/icu again... now it worked! ^^ since yesterday evening the little old one compiles xfce4 with all its dependencies, i am very curious if it will compile this time ;-) even if not, i learned some new things from you all. thank you very much for your hints. if xfce4 compilation is ever ready i'll post the result again ^^ 2013/11/20 Andreas Tobler > On 20.11.13 19:25, Luciano Mannucci wrote: > > On Wed, 20 Nov 2013 15:59:23 +0100 > > Frank Pfabigan wrote: > > > >> /usr/include/stdint.h:68:68: error: missing binary operator before > token "(" > > Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs. > > I've modified mine by commenting out the offending lines and adding a > > #define __WORDSIZE 32 > > which, of course, is correct on my machine (and yours too I presume :). > > The End of my stdint.h looks like that now: > > > > /* GNU and Darwin define this and people seem to think it's portable @/ > > #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX =3D=3D > UINT64_MAX) > > #define __WORDSIZE 64 > > #else > > #define __WORDSIZE 32 > > #endif > > */ > > > > #define __WORDSIZE 32 > > > > #endif /* !_SYS_STDINT_H_ */ > > > > I think the below is the fix: > > http://svnweb.freebsd.org/base?view=3Drevision&revision=3D229494 > > Andreas > _______________________________________________ > 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" > --=20 Frank Pfabigan Holstenstra=C3=9Fe 9 23552 L=C3=BCbeck Tel. 0451 / 70 20 358 Mobil 0151 / 22 655 432 frank.pfabigan@gmail.com From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 21 13:33:58 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BACE2163 for ; Thu, 21 Nov 2013 13:33:58 +0000 (UTC) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CEA227F2 for ; Thu, 21 Nov 2013 13:33:58 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id n7so6932236qcx.27 for ; Thu, 21 Nov 2013 05:33:57 -0800 (PST) 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:cc :content-type; bh=GsAAaiNg6UKagMzuYzgJXbOxUsjW2DbIAa5ToI57r48=; b=D2L/EKvahUai5tOA/gUrgNEZmPEI5Hc9c46hVnoxfnJvJjDB0wWVMklY7ThB8SeqRn gouNw3A6PaPWWc63E8VTr7fjuW1hlHlnyhMRaGsPSsPB9jmYMe6zIxGgTdVEMFq47Noz g7gP9x+HQoU6o05HdZawJNXFF2rhanwj7Sz9fbsgt156bCZlN1Ji1fbdUciCGzvSpptJ 9KBWvZeu34LOIBGm4hwE2kurgHkkLrjawSJRLr46+vKUk+uiyOsVCh4nM0+JekPvAlOR 5IfIhaSqSYAGwPnd79wVh2CUyZ6v7Eg1k9PzhywtyLi0Q4dRQ+9zZRW2QVzgR9jZ3r5O rJfA== MIME-Version: 1.0 X-Received: by 10.224.37.1 with SMTP id v1mr10765594qad.29.1385040837665; Thu, 21 Nov 2013 05:33:57 -0800 (PST) Received: by 10.224.25.81 with HTTP; Thu, 21 Nov 2013 05:33:57 -0800 (PST) Received: by 10.224.25.81 with HTTP; Thu, 21 Nov 2013 05:33:57 -0800 (PST) In-Reply-To: <20131120182552.0251F9B5@hub.freebsd.org> References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> <20131120182552.0251F9B5@hub.freebsd.org> Date: Thu, 21 Nov 2013 06:33:57 -0700 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile From: Craig Whipp Cc: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 13:33:58 -0000 On Nov 20, 2013 11:25 AM, "Luciano Mannucci" wrote: > > On Wed, 20 Nov 2013 15:59:23 +0100 > Frank Pfabigan wrote: > > > /usr/include/stdint.h:68:68: error: missing binary operator before token "(" > Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs. > I've modified mine by commenting out the offending lines and adding a > #define __WORDSIZE 32 > which, of course, is correct on my machine (and yours too I presume :). > The End of my stdint.h looks like that now: > > /* GNU and Darwin define this and people seem to think it's portable @/ > #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX == UINT64_MAX) > #define __WORDSIZE 64 > #else > #define __WORDSIZE 32 > #endif > */ > > #define __WORDSIZE 32 > > #endif /* !_SYS_STDINT_H_ */ > > -- > /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 > X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ I have experienced this, too, on a G4 Powerbook. I think that there's a PR already, perhaps it warrants additional attention. See: Powerpc/181502 From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 21 23:29:35 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7ED64232 for ; Thu, 21 Nov 2013 23:29:35 +0000 (UTC) Received: from mail-bk0-x235.google.com (mail-bk0-x235.google.com [IPv6:2a00:1450:4008:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1A975206F for ; Thu, 21 Nov 2013 23:29:34 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id na10so549841bkb.40 for ; Thu, 21 Nov 2013 15:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=R1hTLz/Q7t4AVXDrDqeOXlLwb8dK8cNAZvsbi+dTsuY=; b=HTxS1KHjlB56QMIIJFCzyLwpRvfQ6gGUw/dsXIhbYBjdbv+It9hHQJcZ1NV6VR1aoh skwDohkPMJ7w2qhfP4Ax5AxrNF8B4GhgWoBufsKtwqGAVzYUXdM05nauY/FEyGKoCgoo C28CZYXX7slpzi65fKqR537opK0+LGVXlsSa8HKuh53yfBfOXKaKInDchcXcm+/nMeRy O5qx25pKTpeJ0VWIOlLtyTovhGfH+K9RLQ686bQeH8lTWqU2V6nehOiLkY9wq/uhinNy VSJyraRMBlrOyVBUB/F3mTeG34YqT6z5H7bf7j1vaQwBCta7o+WYA7PdP3AAx0VApQKg GYKg== MIME-Version: 1.0 X-Received: by 10.205.106.6 with SMTP id ds6mr6859859bkc.23.1385076573392; Thu, 21 Nov 2013 15:29:33 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.72.198 with HTTP; Thu, 21 Nov 2013 15:29:33 -0800 (PST) Date: Thu, 21 Nov 2013 15:29:33 -0800 X-Google-Sender-Auth: kQNvpPeSt6Gfp8a8XpP1BnnNllA Message-ID: Subject: Building kernel with clang From: Justin Hibbits To: FreeBSD PowerPC ML Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 23:29:35 -0000 I'm trying to build kernel with clang on/for ppc64, but running into a snag. Doing simply: make build kernel CC=clang WERROR= I get the following error when compiling: /tmp/cam_compat-8U08WY.s: Assembler messages: /tmp/cam_compat-8U08WY.s:590: Error: unknown pseudo-op: `.cfi_sections' Anyone know how to fix this? Do I need to somehow tell it to use the toolchain in /usr/local? - Justin From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 22 07:26:42 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id A0B8AFC5; Fri, 22 Nov 2013 07:26:42 +0000 (UTC) Date: Fri, 22 Nov 2013 07:26:42 +0000 From: Alexey Dokuchaev To: Luciano Mannucci Subject: Re: /usr/ports/devel/icu does not compile Message-ID: <20131122072642.GA39240@FreeBSD.org> References: <20131120122336.0553e1fd@puffo.bilink.net> <20131120170743.GA16921@FreeBSD.org> <20131120183429.CF8A615D@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131120183429.CF8A615D@hub.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 07:26:42 -0000 On Wed, Nov 20, 2013 at 07:34:21PM +0100, Luciano Mannucci wrote: > On Wed, 20 Nov 2013 17:07:43 +0000 > Alexey Dokuchaev wrote: > > Perhaps ccache would help? It can be really a time-saver esp. for C++ > > shit that takes ages to [re]compile. > > I don't know that beast. I'll have a look and a go. It's under /usr/ports/devel/ccache... Quick googling will provide you with lots of nice tutorials, it's a popular tool. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 22 10:37:00 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8765CF05 for ; Fri, 22 Nov 2013 10:37:00 +0000 (UTC) Received: from mail-vb0-x232.google.com (mail-vb0-x232.google.com [IPv6:2607:f8b0:400c:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4647C28D4 for ; Fri, 22 Nov 2013 10:37:00 +0000 (UTC) Received: by mail-vb0-f50.google.com with SMTP id 10so710234vbe.23 for ; Fri, 22 Nov 2013 02:36:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=r4T2VPgPea22dG9/v0GWR+vhYqbVmzbVxzN+5WvyaPs=; b=qYS3MPgQUhdmnWmErVLN/ih5hFILvLY8W2CTkx9q0cO1GyWgcnl7pUWMs0Omaacfx6 7A2Tcd+Oc8/0xIMk/CVo46UBOG3B0Y5/5E68jJn+QBr9m2CCx18TyiWbqPC6AQXP2VjT H1Kn9us1CpVXdXjcDgNOCwcOx0FG8AvfM0zqmSFSxLQzcDa0dZVtNpF6tK5Jy4wgMExI T1g6/WGxSeSj73biaJiUVenZ4zVTYSNFXmaAGdnWbleQmq1T2uaw7pP6X+WOYR9Vbsul Cnvm86oJwa50TfVDtVbDt7mMhCSC7N0AUAW0/PIQmylZVzQuT+jRuUC2RwaI6+Lx9G9F Jf5A== X-Received: by 10.58.136.231 with SMTP id qd7mr10634150veb.1.1385116619302; Fri, 22 Nov 2013 02:36:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.165.2 with HTTP; Fri, 22 Nov 2013 02:36:39 -0800 (PST) In-Reply-To: References: <20131120122336.0553e1fd@puffo.bilink.net> <528CCBD0.3080900@freebsd.org> <20131120182552.0251F9B5@hub.freebsd.org> From: Frank Pfabigan Date: Fri, 22 Nov 2013 11:36:39 +0100 Message-ID: Subject: Re: /usr/ports/devel/icu does not compile To: Craig Whipp Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 10:37:00 -0000 after nearly 2 days of compilation, xfce4 is up and running ^^ thank you very much for your help. now i'll configurate this little fella to be an easy-to-use desktop-computer, as it is for my little sister ;.) 2013/11/21 Craig Whipp > On Nov 20, 2013 11:25 AM, "Luciano Mannucci" > wrote: > > > > On Wed, 20 Nov 2013 15:59:23 +0100 > > Frank Pfabigan wrote: > > > > > /usr/include/stdint.h:68:68: error: missing binary operator before > token "(" > > Yes, standard 9.2 stdint.h does'nt work on 32 bit PPCs. > > I've modified mine by commenting out the offending lines and adding a > > #define __WORDSIZE 32 > > which, of course, is correct on my machine (and yours too I presume :). > > The End of my stdint.h looks like that now: > > > > /* GNU and Darwin define this and people seem to think it's portable @/ > > #if defined(UINTPTR_MAX) && defined(UINT64_MAX) && (UINTPTR_MAX =3D=3D > UINT64_MAX) > > #define __WORDSIZE 64 > > #else > > #define __WORDSIZE 32 > > #endif > > */ > > > > #define __WORDSIZE 32 > > > > #endif /* !_SYS_STDINT_H_ */ > > > > -- > > /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) > > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 > > X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG > > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ > > I have experienced this, too, on a G4 Powerbook. > > I think that there's a PR already, perhaps it warrants additional > attention. > See: Powerpc/181502 > _______________________________________________ > 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" > --=20 Frank Pfabigan Holstenstra=C3=9Fe 9 23552 L=C3=BCbeck Tel. 0451 / 70 20 358 Mobil 0151 / 22 655 432 frank.pfabigan@gmail.com From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 22 11:32:27 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA098BF for ; Fri, 22 Nov 2013 11:32:27 +0000 (UTC) Received: from mail-oa0-x247.google.com (mail-oa0-x247.google.com [IPv6:2607:f8b0:4003:c02::247]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B5612CA8 for ; Fri, 22 Nov 2013 11:32:27 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id i4so3552486oah.10 for ; Fri, 22 Nov 2013 03:32:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=1je4t+Wt+3O4t/6s4boTMug4J/7JBYohU32Dz9yjkSU=; b=a3J+K9KH8o1oFCiXUqKqfyNF2VhtTsu+yAaEo1aQiLe1D13K91beIlMEfnfJY1Ce09 WjRVM6bIYpVJajoO1C9L2oDzXOsyPXhRXirCrN4K7qS71W0EUm2gAuL2iTuPxiU+uXpi sQpDRc0D7s4+YW3VNRWl8ow2u8qajPz6qtrB97wgHZR0OejXvYUNCCDljkDYN1dfsXUc abfIUq9/beYDs2+MkPIRZijQ7WP2Pcz3AnxfQZz2Qy0gIreFnJwPmnbyk1Zm44GxuK99 y1EiDtDthKpIvppW4+ckqkWMIkDKOBbKDNVWshI/fow92ybSw0xoPsR7aMDzYCVw48eV jEfQ== MIME-Version: 1.0 X-Received: by 10.182.22.73 with SMTP id b9mr3804811obf.17.1385119946984; Fri, 22 Nov 2013 03:32:26 -0800 (PST) Message-ID: <001a1133232069633c04ebc25ec6@google.com> Date: Fri, 22 Nov 2013 11:32:26 +0000 Subject: www.freebsd.org From: Ciara Millar To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2013 11:32:28 -0000 PGRpdiBkaXI9Imx0ciI+PHNwYW4gIA0Kc3R5bGU9ImZvbnQtZmFtaWx5OmFyaWFsLHNhbnMtc2Vy aWY7Zm9udC1zaXplOjEzcHgiPkhpLDwvc3Bhbj48YnIgIA0Kc3R5bGU9ImZvbnQtZmFtaWx5OmFy aWFsLHNhbnMtc2VyaWY7Zm9udC1zaXplOjEzcHgiPjxkaXYgIA0KY2xhc3M9ImdtYWlsX3F1b3Rl IiAgDQpzdHlsZT0iZm9udC1mYW1pbHk6YXJpYWwsc2Fucy1zZXJpZjtmb250LXNpemU6MTNweCI+ PGRpdiB0ZXh0PSIjMDAwMDAwIiAgDQpiZ2NvbG9yPSIjRkZGRkZGIj4NCjxkaXY+PHA+SSBjYW1l IGFjcm9zcyB5b3VyIHdlYnNpdGUgYW5kIHdhbnRlZCB0byBzZW5kIHlvdSBhIHF1aWNrIG5vdGUu ICANCldpdGggYSBmZXcgc2ltcGxlIGNoYW5nZXMgdG8gbWFrZSB5b3VyIHNpdGUgbW9yZSBTRU8t ZnJpZW5kbHkgSZJtIHN1cmUgeW91ICANCmNhbiBjb252ZXJ0IG1vcmUgdmlzaXRvcnMgaW50byBs ZWFkcyBhbmQgZ2V0IGl0IHBsYWNlZCBoaWdoZXIgaW4gdGhlICANCm9yZ2FuaWMgc2VhcmNoIHJl c3VsdHMsIGZvciBrZXl3b3JkcyB0aGF0IG1hdHRlciB0byB5b3UgdGhlIG1vc3QuPC9wPg0KPC9k aXY+PGRpdj48cD5XZZJyZSBhbiBBdXN0cmFsaWFuIGJhc2VkIGNvbXBhbnkgd2l0aCBhIGdyZWF0 IGluLWhvdXNlICANCnRlY2huaWNhbCB0ZWFtIHdobyByZWFsbHkga25vdyB0aGVpciBzdHVmZiBh Ym91dCBzZWFyY2ggZW5naW5lICANCm9wdGltaXphdGlvbi6gPC9wPjwvZGl2PjxkaXY+PHA+V291 bGQgeW91IGxpa2UgYSBiaXQgbW9yZSBpbmZvcm1hdGlvbiBhYm91dCAgDQpob3cgdG8gZ2l2ZSB5 b3VyIHdlYnNpdGUgYSBib29zdCB3aXRoIGJldHRlciBTRU8/PGJyPg0KPC9wPjwvZGl2PjxkaXY+ PHA+oDwvcD48L2Rpdj48ZGl2PjxwPkJlc3QgUmVnYXJkczwvcD48L2Rpdj48ZGl2PjxwPkNpYXJh ICANCk1pbGxhcjxicj5TRU8vV2ViIFNwZWNpYWxpc3Q8L3A+PC9kaXY+PGRpdj48L2Rpdj48ZGl2 PjxzcGFuICANCnN0eWxlPSJmb250LXNpemU6Ny41cHQiPjwvc3Bhbj48cD48Yj48c3BhbiAgDQpz dHlsZT0iZm9udC1zaXplOjcuNXB0O2NvbG9yOnJnYigxMTEsMTY4LDIyMCkiPkFVUyBIZWFkcXVh cnRlcjxicj4NCjwvc3Bhbj48L2I+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZTo3LjVwdDtjb2xvcjpy Z2IoMTExLDE2OCwyMjApIj5BdXN0cmFsaWFuICANClRlY2hub2xvZ3kgUGFyaywgTG9jb21vdGl2 ZSBTdHJlZXQsIEV2ZWxlaWdooDxicj5OU1cgIA0KMjAxNTxicj48Yj48YnI+SW50ZXJuYXRpb25h bCBIZWFkcXVhcnRlcjxicj48L2I+NTAxIDE5dGggU3RyZWV0LCBOLlcuLCAgDQpXYXNoaW5ndG9u LCBELkMuIDIwNDMxPC9zcGFuPjwvcD4NCjwvZGl2PjwvZGl2PjwvZGl2PjwvZGl2Pg0K From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 23 20:33:12 2013 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65BF9F25 for ; Sat, 23 Nov 2013 20:33:12 +0000 (UTC) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B5C929C0 for ; Sat, 23 Nov 2013 20:33:11 +0000 (UTC) Received: from mr1.cc.vt.edu (mr1.cc.vt.edu [198.82.141.12]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id rAMEVJnI018982; Fri, 22 Nov 2013 09:31:19 -0500 Received: from auth1.smtp.vt.edu (auth1.smtp.vt.edu [198.82.161.152]) by mr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id rAMEVIe2031081; Fri, 22 Nov 2013 09:31:18 -0500 Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth1.smtp.vt.edu (8.14.4/8.14.4) with ESMTP id rAMEVI2R024164 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 22 Nov 2013 09:31:18 -0500 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: Building kernel with clang From: Paul Mather In-Reply-To: Date: Fri, 22 Nov 2013 09:31:18 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Justin Hibbits X-Mailer: Apple Mail (2.1822) X-Spam-Status: No, score=-0.5 required=5.0 tests=RP_MATCHES_RCVD autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mr1.cc.vt.edu Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Nov 2013 20:33:12 -0000 On Nov 21, 2013, at 6:29 PM, Justin Hibbits = wrote: > I'm trying to build kernel with clang on/for ppc64, but running into a > snag. Doing simply: >=20 > make build kernel CC=3Dclang WERROR=3D >=20 > I get the following error when compiling: >=20 > /tmp/cam_compat-8U08WY.s: Assembler messages: > /tmp/cam_compat-8U08WY.s:590: Error: unknown pseudo-op: = `.cfi_sections' >=20 > Anyone know how to fix this? Do I need to somehow tell it to use the > toolchain in /usr/local? Have you tried putting the following into /etc/src.conf: CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp I've not tried to build FreeBSD/powerpc64 with clang, but I believe that = is the recommended way to do it. (I have built FreeBSD/i386 and = FreeBSD/amd64 9.X using clang that way.) Cheers, Paul.=