From owner-freebsd-ppc@freebsd.org Sun Jan 17 11:31:13 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACEE7A6DFC3 for ; Sun, 17 Jan 2016 11:31:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DCBC1AD5 for ; Sun, 17 Jan 2016 11:31:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0HBVDau015695 for ; Sun, 17 Jan 2016 11:31:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ppc@FreeBSD.org Subject: [Bug 201977] x11-toolkits/gtk30 is failing to build on powerpc Date: Sun, 17 Jan 2016 11:31:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: miwi@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2016 11:31:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201977 Martin Wilke changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |miwi@FreeBSD.org Status|In Progress |Closed --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-ppc@freebsd.org Sun Jan 17 14:42:26 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12674A85065 for ; Sun, 17 Jan 2016 14:42:26 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-4.reflexion.net [208.70.210.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A02EE1282 for ; Sun, 17 Jan 2016 14:42:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 19000 invoked from network); 17 Jan 2016 14:42:28 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 17 Jan 2016 14:42:28 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sun, 17 Jan 2016 09:42:20 -0500 (EST) Received: (qmail 5922 invoked from network); 17 Jan 2016 14:42:19 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 17 Jan 2016 14:42:19 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id F14931C43DA; Sun, 17 Jan 2016 06:42:15 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: clang -msoft-float for powerpc (ppc32) is very new; powerpc64 (ppc64) does not have it yet Message-Id: <4A8490D2-5FAF-42C0-9396-8DEA3C09126E@dsl-only.net> Date: Sun, 17 Jan 2016 06:42:17 -0800 To: FreeBSD PowerPC ML , FreeBSD Toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2016 14:42:26 -0000 When -msoft-float was added for ppc32 (powerpc) the error message for it = not being supported for ppc64 was added. Strahinja Petrovic added the support and the review materials had = exchanges about ppc64, such as ( http://reviews.llvm.org/D13351 ): > Remove this FIXME. It is not clear this will ever be supported (is = there actually ppc64 hardware without an FP unit)? > I'm planning to support soft float for ppc64. At this moment I don't = know name of ppc64 hardware without FP unit. I know that gcc supports = soft float for ppc64. The review was closed 2015-Dec-15. The commit for powerpc (non-64) ( = http://reviews.llvm.org/rL255515 ) was on 2015-Dec-14. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Mon Jan 18 02:13:26 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD19EA86827 for ; Mon, 18 Jan 2016 02:13:26 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-4.reflexion.net [208.70.210.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 83A7115C2 for ; Mon, 18 Jan 2016 02:13:25 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 1128 invoked from network); 18 Jan 2016 02:13:33 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 18 Jan 2016 02:13:33 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sun, 17 Jan 2016 21:13:25 -0500 (EST) Received: (qmail 8293 invoked from network); 18 Jan 2016 02:13:25 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 18 Jan 2016 02:13:25 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 384AE1C43D3; Sun, 17 Jan 2016 18:13:18 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Anyone have a clue why powerpc64-gcc produces the following in /usr/lib32/crtbeginS.o ? Date: Sun, 17 Jan 2016 18:13:22 -0800 Message-Id: To: FreeBSD PowerPC ML Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 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 Jan 2016 02:13:26 -0000 Does anyone have a clue why lang/powerpc64-gcc produces the following in = /usr/lib32/crtbeginS.o when WITH_LIB32=3D is part of what is attempted = via a cross compile? Anyone that does want to enlighten me on why? # /usr/local/powerpc64-freebsd/bin/objdump -d /usr/lib32/crtbeginS.o . . . Disassembly of section .init: 00000000 <.init>: 0: 80 7e 00 00 lwz r3,0(r30) 4: 81 23 00 00 lwz r9,0(r3) 8: 2f 89 00 00 cmpwi cr7,r9,0 c: 41 9e 00 18 beq cr7,24 <__do_global_dtors_aux+0x24> 10: 81 3e 00 00 lwz r9,0(r30) 14: 2f 89 00 00 cmpwi cr7,r9,0 18: 41 9e 00 0c beq cr7,24 <__do_global_dtors_aux+0x24> 1c: 7d 29 03 a6 mtctr r9 20: 4e 80 04 21 bctrl (Bug 206123)? When the code is extracted and substituted the zero = offsets from R30 are replaced, such as lwz r3,-11432(r30) . . . lwz r9,-856(r30) for the matching pair of (R30)'s in _init in the produced = /usr/lib32/libc.so.7 (position after installation). Darwin's 32-bit ABI did reserve R30 for the frame pointer. But did = anything else for some powerpc 32-bit contexts? Why would = lang/powerpc64-gcc be generating Darwin-32-bit-ABI code here (if that is = what the above is)? gcc 4.2.1 instead produces: Disassembly of section .init: 00000000 <.init>: 0: 48 00 00 01 bl 0 <.init> My clang 3.8.0 based buildworld experiment for TARGET_ARCH=3Dpowerpc = (non-64) got the same result as gcc 4.2.1 for this. [Part of the reason that the clang 3.8.0 based buildworld completed is = that -msoft-float support has recently been added for "ppc32", allowing = libstand to not stop the build. "ppc64" does not have such yet: use of = -msoft-float on the command line stops the compile with a message in = clang 3.8.0 .] =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Tue Jan 19 10:35:57 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9131AA88EF4 for ; Tue, 19 Jan 2016 10:35:57 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-157.reflexion.net [208.70.211.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 448CA19B6 for ; Tue, 19 Jan 2016 10:35:56 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 11976 invoked from network); 19 Jan 2016 10:35:54 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 19 Jan 2016 10:35:54 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Tue, 19 Jan 2016 05:35:57 -0500 (EST) Received: (qmail 26723 invoked from network); 19 Jan 2016 10:35:57 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 19 Jan 2016 10:35:57 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 13C8B1C43AE; Tue, 19 Jan 2016 02:35:54 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: clang 3.8.0 based powerpc (32 bit) buildworld runs on a PowerMac! Message-Id: Date: Tue, 19 Jan 2016 02:35:54 -0800 To: FreeBSD PowerPC ML , FreeBSD Toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2016 10:35:57 -0000 I now have an SSD that contains: 0) installkernel material from a gcc 4.2.1 based buildkernel 1) installworld material from a clang 3.8.0 based buildworld (clang 3.8.0, libc++, etc.) It boots and seems to be operating fine after booting --in both a G5 and = a G4 PowerMac. Apparently the clang code generation has been updated to not require an = explicit -mlongcall. I had to remove those since clang rejects them on = command lines. It linked without complaint (and later seems to be = running fine). (I've seen llvm review notes mentioning the "medium = model" or some phrase like that for powerpc.) (I've not been able to buildkernel yet for powerpc (non-64) from my = amd64 environment: rejected command lines for other issues. Thus the = current limitation to buildworld.) To get to (1) I did the following sort of sequence: (The first few steps deal with other issues in order to have sufficient = context.) A) Started by installing the latest powerpc (non-64) snapshot. ( = http://ftp1.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/FreeBSD-11.0= -CURRENT-powerpc-20160113-r293801-disc1.iso ) (I had to use a PowerMac with video hardware that vt would handle.) (Basic display, no X-windows involvement here.) B) Rebuild, including using my usual kernel configuration that has both vt and sc. I did this based on projects/clang380-import -r294201 /usr/src but still using gcc 4.2.1 (native on the PowerMac). The configuration turns off kernel debugging extras too. C) installkernel, installworld, etc., set to use sc instead of vt, and = rebooted. (As of this I could use the SSD in more PowerMacs by using sc instead = of vt via a /boot/loader.conf assignment.) D) dump/restore the file systems to another SSD (after partitioning it). Adjust the host name and the like on the copy. (This copy later ends up having new installworld materials overlaid.) E) In a projects/clang380-import -r294201 amd64 environment, buildworld = for TARGET_ARCH=3Dpowerpc . WITH_LIBCPLUSPLUS=3D and clang related = material built, gcc 4.2.1 related material not built. WITH_BOOT=3D as well. I choose WITHOUT_DEBUG=3D and WITHOUT_DEBUG_FILES=3D . (I've not tried = enabling them yet.) binutils is not from ports. F) Use DESTDIR=3D with installworld to an initially empty directory = tree. tar the tree. =20 G) Transfer the tar file to the PowerMac. Mount the to-be-updated SSD to /mnt and /mnt/var. After chflags -R noschg on /mnt and /mnt/var use tar xpf to replace things from the buildworld on /mnt and /mnt/var. (This does leave older gcc 4.2.1 related materials in place.) H) Dismounts, shutdown, and then boot from the updated SSD. Note: I've never manage to get powerpc64-xtoolchain-gcc/powerpc64-gcc to = produce working 32-bit code. So I've never gotten this far via that = path. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Tue Jan 19 12:13:46 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C5CAA88263; Tue, 19 Jan 2016 12:13:46 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (mail.vlakno.cz [91.217.96.224]) by mx1.freebsd.org (Postfix) with ESMTP id 2687910EC; Tue, 19 Jan 2016 12:13:45 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: by vlakno.cz (Postfix, from userid 1002) id E45BE1E209CD; Tue, 19 Jan 2016 13:11:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=vlakno.cz; s=mail; t=1453205483; bh=/Jr4m1EHHYrJJUXa+xUExdbvTZ9cFpaCGbSXCFFXW5c=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=pwUStQPnXjin+JIdrRcHz4HHzdneiY1PTdxcsW11OC4CEcMo7bVUrL0UstRWdH8Lh EVarNhby7Fr4IauoHEXxgZ2C+m4xS5oEKMRNaHc9B3SAEXnmc94UKAelkCxpf3VXTW mN25aBl6bUya2JAhl9c+PyoLeI5DsojsVQPZw3HI= Date: Tue, 19 Jan 2016 13:11:23 +0100 From: Roman Divacky To: Mark Millard Cc: FreeBSD PowerPC ML , FreeBSD Toolchain Subject: Re: -mllvm -disable-ppc-float-in-variadic=true not recognized by clang 3.8.0; used in kern.mk for TARGET_ARCH=powerpc; more Message-ID: <20160119121123.GA15094@vlakno.cz> References: <8100D2B8-175D-4372-AEFB-6DF25889BD20@dsl-only.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8100D2B8-175D-4372-AEFB-6DF25889BD20@dsl-only.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2016 12:13:46 -0000 clang 3.8 support soft-float on PPC natively, no need for the -mllvm -disable-ppc-float-in-variadic=true hack anymore. Roman On Fri, Jan 15, 2016 at 11:07:59PM -0800, Mark Millard wrote: > At least for amd64 clang 3.8.0 -> powerpc via TARGET_ARCH=powerpc buildkernel I get the following clang command line options that stop the build attempt. . . > > > In sys/conf/kern.mk : > > The "CFLAGS.clang+= -mllvm -disable-ppc-float-in-variadic=true" line in > > > .if ${MACHINE_CPUARCH} == "powerpc" > > CFLAGS+= -mno-altivec > > CFLAGS.clang+= -mllvm -disable-ppc-float-in-variadic=true > > CFLAGS.gcc+= -msoft-float > > INLINE_LIMIT?= 15000 > > .endif > > results in: > > > --- genassym.o --- > > clang (LLVM option parsing): Unknown command line argument '-disable-ppc-float-in-variadic=true'. Try: 'clang (LLVM option parsing) -help' > > clang (LLVM option parsing): Did you mean '-disable-ppc-ctrloop-analysis=true'? > > > (The above one is the main reason why I's also sending to toolchain: it suggests some sort of change to earlier clang-specific command line options.) > > > In sys/conf/Makefile.powerpc : > > > CFLAGS+= -msoft-float -Wa,-many > > results in: > > > --- genassym.o --- > > cc: error: unsupported argument '-many' to option 'Wa,' > > *** [genassym.o] Error code 1 > > > > In sys/conf/kmod.mk : > > > .if ${MACHINE_CPUARCH} == powerpc > > CFLAGS+= -mlongcall -fno-omit-frame-pointer > > .endif > > results in: > > > --- depend_subdir_dtrace --- > > cc: error: unknown argument: '-mlongcall' > . . . > > --- depend_subdir_dtrace --- > > *** [genassym.o] Error code 1 > > (no surprise). > > > I stopped experimenting with this area after those 3. (They are not listed in the order discovered.) > > === > Mark Millard > markmi at dsl-only.net > > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-ppc@freebsd.org Tue Jan 19 17:21:59 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C594A8679C; Tue, 19 Jan 2016 17:21:59 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57D471D12; Tue, 19 Jan 2016 17:21:59 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: by mail-vk0-x232.google.com with SMTP id k1so352126535vkb.2; Tue, 19 Jan 2016 09:21:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uig4UZEJL3qzwo5qRCeidMHRIjk/K/R67+O/0MKaaI8=; b=ETgI2O6HxaeThk9amnjrqpsNVRtvicKdqWHjKOK5iThhTlDuAwihBzFFmfKRjF3BXi kGRRlDAkC7c6D3wNPfJVTVBArtvn04kGgF/wKPJqX8VBsiRKlu9xMlf1G2+4iK8D5r/a 2lZpB8nQXo9yFa+wwSIfN0GRuG5Mwb4HdDoF5/xqrHIel6yLPxxssVi7bi3rvhbc3O/8 aLlwbo07ODV7jWfwYlUWdRn6JGQVyYdNKpGOaPArNBkutJ7qZwbYNFGL0e9ONiV2o6d0 G1jv+UIK8qGVCOTxaiXE+qrnphxeMofQBpAEPtFy4fBKs+z8ryaI3JJEyRbiyDJfCvq1 tYCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=uig4UZEJL3qzwo5qRCeidMHRIjk/K/R67+O/0MKaaI8=; b=gibwaJ17B/sLvBc4iJJXGoyJxCL7y0ybQaQM5Lir+nQLgtO+pzpPPuRMEQZ/nOEojK sIUa9zeRGnBJD2kekMkABxCgfqsZz43Hzev9LnWu9cKmvCRl7KwNL3Tg+AHUACs6VwdI TCkKda8qTZwQ4ynjd3234opStcuVzqZjWRPHiDTdcK4Lu8mrw3MRPgzeSxBbmQZEO3VG eXdtE+oOPiBa9JC3f3lkBl9z9fUAhxL/eZFHL1/12d0abi/qM9+NjI7GXer1xxiz4Mqu /biZ1PsFr5+9m/5O8yEMOLUgrvAW4dUMrycA1mRazEnWaKOuNKK40IkZN9LoGnXq8W0z aLNA== X-Gm-Message-State: ALoCoQl4H+f97pyiJLnKcJpnZRM91+/jrcC4jK+ZeGkcrOIJwkWr6vas1SZ8InoYIPVib6k8ZvJ7ZLEDeYmcgAZJv1hmmPyRXQ== MIME-Version: 1.0 X-Received: by 10.31.153.11 with SMTP id b11mr20767907vke.127.1453224118504; Tue, 19 Jan 2016 09:21:58 -0800 (PST) Received: by 10.103.37.196 with HTTP; Tue, 19 Jan 2016 09:21:58 -0800 (PST) Date: Tue, 19 Jan 2016 12:21:58 -0500 Message-ID: Subject: Now I am aware From: Joe Nosay To: FreeBSD PowerPC ML , postmaster@freebsd.org, FreeBSD Hackers , ports , Team Open Source PowerPC Notebook project , Tomasz CEDRO , Tomasz CEDRO , Michael Copeland Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2016 17:21:59 -0000 of how self-centered and selfish all of you are. https://forums.freebsd.org/threads/making-it-public.54392/#post-309037 From owner-freebsd-ppc@freebsd.org Tue Jan 19 17:55:02 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7BA91A877DB; Tue, 19 Jan 2016 17:55:02 +0000 (UTC) (envelope-from jerrymc@jerrymc.net) Received: from jerrymc.net (jerrymc.net [75.75.214.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43B2B10D8; Tue, 19 Jan 2016 17:55:01 +0000 (UTC) (envelope-from jerrymc@jerrymc.net) Received: from jerrymc.net (localhost [127.0.0.1]) by jerrymc.net (8.14.5/8.14.5) with ESMTP id u0JHmBsw017239; Tue, 19 Jan 2016 12:48:11 -0500 (EST) (envelope-from jerrymc@jerrymc.net) Received: (from jerrymc@localhost) by jerrymc.net (8.14.5/8.14.5/Submit) id u0JHmBl8017238; Tue, 19 Jan 2016 12:48:11 -0500 (EST) (envelope-from jerrymc) Date: Tue, 19 Jan 2016 12:48:11 -0500 From: Jerry McAllister To: Joe Nosay Cc: FreeBSD PowerPC ML , postmaster@freebsd.org, FreeBSD Hackers , ports , Team Open Source PowerPC Notebook project , Tomasz CEDRO , Tomasz CEDRO , Michael Copeland Subject: Re: Now I am aware Message-ID: <20160119174811.GA17229@jerrymc.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2016 17:55:02 -0000 On Tue, Jan 19, 2016 at 12:21:58PM -0500, Joe Nosay wrote: > of how self-centered and selfish all of you are. > This is a useless post. ////jerry > > > https://forums.freebsd.org/threads/making-it-public.54392/#post-309037 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-ppc@freebsd.org Wed Jan 20 09:25:54 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46875A8A318; Wed, 20 Jan 2016 09:25:54 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 19D5D111E; Wed, 20 Jan 2016 09:25:54 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pa0-x233.google.com with SMTP id ho8so1869196pac.2; Wed, 20 Jan 2016 01:25:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=JWiun5ChLJGYQSAwiDZamXfF+6ilWAZJ8h7WpmNtimk=; b=VplEy1a3h6eDbMxvZNWFnvVPr58qYJoGq9SN6SnYIoMO9Q5JPS8j5FH62mSSmycYZ9 QWxITP8n/cOGX3PiUZFxyqrkavtyRjFmP2D7OHQH4RERSbPYkLq0TrgByw/uamkJQA9+ 2mPhZtx95/7B/pAynzJCzGiWBRWz1hD7r2ALkH2Ibv2Z7jRB9cyk1bkUwMQkhWejSB3p SGDXi7vwznCPgW+o4REFUB6ruIpsF59avhT6jQR0DlEdcQlGObdelrJXbxiP0+EYAdxG 46ylLK08g13s3k+2eco4UJufn5s5FvqZdczqp70rszWzaLJ7ck5y7iaOhdjYuPZtle8G ty2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=JWiun5ChLJGYQSAwiDZamXfF+6ilWAZJ8h7WpmNtimk=; b=RmO9SNtKmHfFVjbH8ju9qv8fp8kk+4Nz/HNqVeJfYfTbvdbXwO2MvzT1NWLmtJEx+y VSRZ7+p71Aaj7/aQ7DfK7BF6Ql0sU1/TFk9x2cCOK2dxX/t9NJKcKN7PVy228aAjyeto X7zot7l62oFCPPcyZu/FJP2FSrsoHlmCA6KTrkDLwliTOkPLt9b4jqb6xjS9+1bahtBm 68hrhYICvH+3wMutFFYigFlVzcN1M/swCHCQ15v8V+eJNP3jZ+nDPA05QuRQkzJLNOAh qtOXVL1fCPa90/3Qicy5/t5OWrUx3EAXFXdmyBvHzLZ+oWbHN/RplkyY+bU09byvNk7U nf9A== X-Gm-Message-State: AG10YOQwbbMm6U/q3lnERVr+Es6TK5MLH5AtYmtOjHHynAH9KBf2QcmiBi0tUnIPryQbyQ== X-Received: by 10.66.62.195 with SMTP id a3mr33173248pas.8.1453281953695; Wed, 20 Jan 2016 01:25:53 -0800 (PST) Received: from ?IPv6:2601:601:800:126d:ed5d:a:1763:4637? ([2601:601:800:126d:ed5d:a:1763:4637]) by smtp.gmail.com with ESMTPSA id 7sm47188562pfn.89.2016.01.20.01.25.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jan 2016 01:25:52 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Now I am aware From: NGie Cooper In-Reply-To: Date: Wed, 20 Jan 2016 01:25:51 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <7A90BDBB-2311-4B9D-9C43-BD4B8A128DFA@gmail.com> References: To: Joe Nosay X-Mailer: Apple Mail (2.2104) X-Mailman-Approved-At: Wed, 20 Jan 2016 12:50:48 +0000 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 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 Jan 2016 09:25:54 -0000 > On Jan 19, 2016, at 09:21, Joe Nosay wrote: >=20 > of how self-centered and selfish all of you are. (Removing @FreeBSD.org hat and also removing some of the individuals on = the mailing lists and moving the public mailing lists to BCC) Hi Joe, It=E2=80=99s difficult proposing things like you are and have = been in the past (especially when the world is very much driven by = currency). I thought that the idea was a noble social endeavor, even if = it was a bit rough planning wise to commit resources to in what you had = presented. The FreeBSD community (in and of itself) has a limited number = of resources tackling several issues on multiple fronts (many of which = might be encouraged/driven by our employers), and not all of us might = have your interests and ideas in mind for FreeBSD (diversity of = thought). My focus and interests in FreeBSD are stability, quality of = the operating system, testing, repeatability, etc. My days of tinkering = with Unix on a desktop or laptop (anything non-ChromeOS, non-OSX, or = non-Windows, e.g. FreeBSD, Linux, OpenSolaris) came to an end a couple = years ago because I=E2=80=99ve found that running Unix (in particular = X.org based Unix) is a time sink that I no longer am interested in = committing to (I=E2=80=99ve run Fedora/Gentoo Linux on desktops/laptops = with limited success as well as FreeBSD with limited success on laptops = over the years [*]), especially when other vendors (Adobe in particular) = look at Unix and decide to decommission support for their products. Outside of my =E2=80=9C9-5=E2=80=9D (in reality 10+ hour days), = I focus on friends and social and political issues that have been = impacting communities that I=E2=80=99m a part of (LGBT issues, = #blacklivesmatter issues, housing issues in Seattle, etc), as well as = myself personally (self-care is a good thing to practice to avoid = emotional, mental, and/or physical burnout). Like I recommended before in private, I think you need to find = the right audience of people who understand and have similar interests = in what you=E2=80=99re trying to achieve in order to discuss and = cultivate your ideas with, and bring it to the maturity that it needs to = be at in order to be accepted and adopted. Having a team of advocates to = work with will help with your endeavor. What you=E2=80=99ve proposed = before is not a simple undertaking: it involves several moving parts = that aren=E2=80=99t currently available as well as a vision to drive = these from design to end-result, unless you have an engineering = organization that you can fund (or lots of sports drinks and long = sleepless nights to commit to in order to achieve the work=E2=80=A6 but = beware =E2=80=94 this leads to burnout). I really hope whatever living situation you=E2=80=99re dealing = with improves. I can empathize with it having been exposed to several = friends and acquaintances who=E2=80=99ve been at the short end of the = stick lately housing wise in the Seattle area. Take care and I wish you the best, whatever the outcome. -NGie * The best laptop experience I=E2=80=99ve ever had was FreeBSD on an = ASUS Netbook 4 years ago, which (unfortunately) was completely = underpowered and underspec=E2=80=99ed (all of my other laptop = experiences have been utter failures due to proprietary drivers, lack of = suspend/resume, reliable wireless support, etc). It couldn=E2=80=99t = build FreeBSD ports reasonably, and the wired NIC port wouldn=E2=80=99t = properly reset the PHY every time I unplugged the cable on it (so once I = unplugged the CAT6 cable it would stop transmitting data). Eventually I = donated the Netbook to someone else because I had far too many computers = to split my attention between. On the bright side, I got it to do source = builds, wireless, suspend and resume (on i386 which was unheard of back = then=E2=80=A6 thanks jkim@!!), and fluxbox on a tiny 12=E2=80=9D screen = =E2=80=94 which was better than PCBSD at the time :)!= From owner-freebsd-ppc@freebsd.org Thu Jan 21 12:10:58 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92572A8A514 for ; Thu, 21 Jan 2016 12:10:58 +0000 (UTC) (envelope-from bat@netadmin.hu) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 80A6E19C8 for ; Thu, 21 Jan 2016 12:10:58 +0000 (UTC) (envelope-from bat@netadmin.hu) Received: by mailman.ysv.freebsd.org (Postfix) id 7ECB4A8A512; Thu, 21 Jan 2016 12:10:58 +0000 (UTC) Delivered-To: ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64673A8A511 for ; Thu, 21 Jan 2016 12:10:58 +0000 (UTC) (envelope-from bat@netadmin.hu) Received: from ns.netadmin.hu (ns.netadmin.hu [195.228.254.7]) by mx1.freebsd.org (Postfix) with SMTP id 7837819C5 for ; Thu, 21 Jan 2016 12:10:56 +0000 (UTC) (envelope-from bat@netadmin.hu) Received: (qmail 23082 invoked from network); 21 Jan 2016 12:10:54 -0000 Received: from localhost (HELO ?192.168.216.180?) (batppp@netadmin.hu@127.0.0.1) by ns.netadmin.hu with ESMTPA; 21 Jan 2016 12:10:54 -0000 From: Attila Balogh Subject: RB1100 network detection Date: Thu, 21 Jan 2016 13:10:24 +0100 Message-Id: <71D01AD4-CC62-4CA0-938B-743ED420D18F@netadmin.hu> Cc: ppc@freebsd.org To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 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 Jan 2016 12:10:58 -0000 Hi Guys, i am trying to get FreeBSD running on Mikrotik RB1100. the box is pretty much straightforward, has a P2020E/P2010 SOC with 3 GE = controllers. two of the controllers has an AR8327 on them, the third one is connected = to an AR8035 rgmii phy. there are two PCIe GE controllers (AR8131). after some poking the box booted 10.3 prerelease via bootp, but failed = to find the phy and to enumerate the switches. but the switches are my least concern, first = get the box running freebsd properly. so the boot ended up in a kernel panic: transfer started ................................................... = transfer ok, time=3D2.09s setting up elf image... OK jumping to kernel code GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2016 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.3-PRERELEASE #0: Tue Jan 19 20:23:09 CET 2016 bat@ppcbuilder:/usr/obj/powerpc.powerpc/usr/src/sys/MPC85XX powerpc gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. cpu0: Freescale e500v2 core revision 5.1, 1066.65 MHz cpu0: Features 84000000 cpu0: HID0 80804000 real memory =3D 2080358400 (1983 MB) avail memory =3D 2040160256 (1945 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: dev=3D0 (BSP) cpu1: dev=3D1 random device not loaded; using insecure entropy random: initialized ofwbus0: on nexus0 simplebus0: mem 0xe0000000-0xe00fffff = on ofwbus0 openpic0: mem 0x40000-0x7ffff on = simplebus0 uart0: <16550 or compatible> mem 0x4500-0x45ff irq 42 on simplebus0 uart0: console (115339,n,8,1) tsec0: mem 0x26000-0x26fff = irq 31,32,33 on simplebus0 mii_attach: invalid phyloc 33575 tsec0: attaching PHYs failed tsec0: could not be configured device_attach: tsec0 attach returned 6 tsec0: mem 0x24000-0x24fff = irq 29,30,34 on simplebus0 mii_attach: invalid phyloc 33575 tsec0: attaching PHYs failed tsec0: could not be configured device_attach: tsec0 attach returned 6 tsec0: mem 0x25000-0x25fff = irq 35,36,40 on simplebus0 miibus0: on tsec0 ukphy0: PHY 1 on miibus0 ukphy0: OUI 0x00c82e, model 0x0003, rev. 3 ukphy0: no media present ifmedia_set: no match for 0x0/0xfffffff panic: ifmedia_set cpuid =3D 0 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x60: addi r0, r0, 0x0 i did some changes to atphy and miidevs to get past the detection (just = added the model number). miibus0: on tsec2 atphy0: PHY 1 on miibus0 atphy0: OUI 0x00c82e, model 0x0003, rev. 3 atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, = 1000baseT-FDX, 1000baseT-FDX-master, auto tsec0: attaching PHYs OK! tsec0: Ethernet address: d4:ca:6d:33:57:90 tsec0: so far we cool tsec0: tx int ok tsec0: rx int ok tsec0: err int ok so at least i got rid of panic, properly retrieved mac address, but the = box does not see link. i=E2=80=99ll try to look into this and asked Pyun = who wrote the atphy part for help and advices. since bootp is wired to this ethernet controller, it does not want to = seek further. so i disabled it, and added alc to the kernel config. = although pci is also in the config, pci bus is not detected and enumerated, so no chance to = detect the pcie GEs. i need some kind of network support to able to connect to NFS to have a = root fs, so either way (pcie ge or rgmii on tsec) is a good fix for me. i tried to insert ramdisk into the kernel with some minimal tools to = look around. it gets to mountroot but fails to mount the ufs on md0 with = error 22. i am crosscompiling the stuff on 10.2-release on i386, and created the = disk image using the usual manual way. if someone is able to give a hint why this latter could fail, i=E2=80=99d = be very happy! kind regards, Attila block diagram: = http://www.cloudrouterswitches.com/images/Ethernet-Routers/RB1100AHx2-Bloc= k-Diagram.jpg = the kernel config: # Custom kernel for Freescale MPC85XX development boards like the CDS = etc. # # $FreeBSD: stable/10/sys/powerpc/conf/MPC85XX 266331 2014-05-17 = 17:34:37Z ian $ # cpu BOOKE cpu BOOKE_E500 ident MPC85XX machine powerpc powerpc makeoptions DEBUG=3D"-Wa,-me500 -g" makeoptions NO_MODULES=3Dyes options FPU_EMU options _KPOSIX_PRIORITY_SCHEDULING options ALT_BREAK_TO_DEBUGGER options BREAK_TO_DEBUGGER options BOOTP options BOOTP_NFSROOT options BOOTP_NFSV3 options BOOTP_WIRED_TO=3Dtsec0 options CD9660 options COMPAT_43 options DDB #options DEADLKRES options DEVICE_POLLING #options DIAGNOSTIC options FDT makeoptions FDT_DTS_FILE=3Dmpc8572ds.dts #makeoptions FDT_DTS_FILE=3Dmpc8555cds.dts options FFS options GDB options GEOM_PART_GPT options INET #options INET6 #options INVARIANTS #options INVARIANT_SUPPORT options KDB options KTRACE options MD_ROOT options MPC85XX options MSDOSFS options NFS_ROOT options NFSCL options NFSLOCKD options PROCFS options PSEUDOFS options SCHED_ULE options CAPABILITIES options CAPABILITY_MODE options SMP options SYSVMSG options SYSVSEM options SYSVSHM #options WITNESS #options WITNESS_SKIPSPIN device ata device bpf device cfi device crypto device cryptodev device da device ds1553 #device em device alc device ether #device fxp device iic device iicbus #device isa device loop device md device miibus device pass device pci #device quicc device random #device rl device scbus device scc #device sec device tsec device tun device uart options USB_DEBUG # enable debug msgs #device uhci #device umass #device usb #device vlan device nand device gpio #options ROOTDEVNAME=3D\"ufs:md0\" #options MD_ROOT_SIZE=3D8192 #makeoptions MFS_IMAGE=3D/test/root.img device mmc device mmcsd device sdhci device etherswitch device miiproxy device arswitch= From owner-freebsd-ppc@freebsd.org Fri Jan 22 14:39:32 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDBDEA8D27B for ; Fri, 22 Jan 2016 14:39:32 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 944FE14AD for ; Fri, 22 Jan 2016 14:39:32 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3pn3136F6Bz1cXL4 for ; Fri, 22 Jan 2016 15:31:03 +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 w0BkmjBiIk0o for ; Fri, 22 Jan 2016 15:31:03 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3pn3134Nqxz1cXL0 for ; Fri, 22 Jan 2016 15:31:03 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id 6C2FF1B7515 for ; Fri, 22 Jan 2016 15:31:01 +0100 (CET) Date: Fri, 22 Jan 2016 15:23:47 +0100 From: Luciano Mannucci To: FreeBSD PowerPC ML Subject: PPC64 20160113-r293801 on IBM KVM X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) 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 Message-Id: <3pn3134Nqxz1cXL0@baobab.bilink.it> X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 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 Jan 2016 14:39:32 -0000 It does install without complaining. It doesn't boot after I try from the virtual hard disk. This is what I get: USB Keyboard USB mouse Using default console: /vdevice/vty@30000000 Welcome to Open Firmware Copyright (c) 2004, 2011 IBM Corporation All rights reserved. This program and the accompanying materials are made available under the terms of the BSD License available at http://www.opensource.org/licenses/bsd-license.php Trying to load: from: /vdevice/v-scsi@2000/disk@8000000000000000 ... Successfully loaded >> FreeBSD/powerpc Open Firmware boot block Boot path: /vdevice/v-scsi@2000/disk@8000000000000000 Boot loader: /boot/loader Boot volume: /vdevice/v-scsi@2000/disk@8000000000000000 Then the virtual machine seems to hang, with one of the CPUs at 100%. I'm a bit stuck. 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 Sat Jan 23 11:25:56 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54025A8ECAF for ; Sat, 23 Jan 2016 11:25:56 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-157.reflexion.net [208.70.211.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B21312B2 for ; Sat, 23 Jan 2016 11:25:55 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23792 invoked from network); 23 Jan 2016 11:25:54 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 23 Jan 2016 11:25:54 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sat, 23 Jan 2016 06:25:57 -0500 (EST) Received: (qmail 21262 invoked from network); 23 Jan 2016 11:25:57 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 23 Jan 2016 11:25:57 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.124] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 96F861C43C6; Sat, 23 Jan 2016 03:25:52 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: powerpc64-gcc unable to compile clang 3.8.0 from clang380-import -r294609 via buildworld Message-Id: <67523280-9F20-4638-BF24-1BFAE8583805@dsl-only.net> Date: Sat, 23 Jan 2016 03:25:53 -0800 To: FreeBSD PowerPC ML , FreeBSD Toolchain Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 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 Jan 2016 11:25:56 -0000 I tried a buildworld that included building clang and lldb based on = using powerpc64-xtoolchain-gcc/powerpc64-gcc as a cross compiler. It = failed, see below. This might indicate a more general gcc 5.x vs. clang = 3.8.0 source code mismatch. This was my first try. This could have been = true for some time. --- CFG.o --- /usr/local/bin/powerpc64-portbld-freebsd11.0-g++ -isystem = /usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include = -L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib = --sysroot=3D/usr/obj/xtoolchain/powerpc.po werpc64/usr/src/tmp -B/usr/local/powerpc64-freebsd/bin/ = -I/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1 = -std=3Dgnu++11 = -L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/../lib/libc++ = --sysroot=3D/usr /obj/xtoolchain/powerpc.powerpc64/usr/src/tmp = -B/usr/local/powerpc64-freebsd/bin/ -O2 -pipe = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/include = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm /tools/clang/include = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/li= b/Analysis -I. = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/../../lib/clan= g/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS = -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT = -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"powerpc64-unknown-freebsd11.0\" = -DLLVM_HOST_TRIPLE=3D\"powerpc64 -unknown-freebsd11.0\" -DDEFAULT_SYSROOT=3D\"\" -MD -MP -MF.depend.CFG.o = -MTCFG.o -fstack-protector-strong -Wno-error=3Dunused-function = -Wno-error=3Denum-compare -Wno-error=3Dlogical-not-parentheses = -Wno-error=3Dbool-compare -Wno- error=3Duninitialized -Wno-error=3Darray-bounds -Wno-error=3Dclobbered = -Wno-error=3Dcast-align -Wno-error=3Dextra -Wno-error=3Dattributes = -Wno-error=3Dinline -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-value -Wno-error=3Dstrict -aliasing -Wno-error=3Daddress -std=3Dc++11 -fno-exceptions -fno-rtti = -c = /usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/lib/= Analysis/CFG.cpp -o CFG.o . . . --- all_subdir_libclanganalysis --- = /usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/lib/= Analysis/CFG.cpp: In member function 'std::__1::unique_ptr = {anonymous}::CFGBuilder::buildCFG(const clang::Decl*, clang::Stmt*)': = /usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/lib/= Analysis/CFG.cpp:1046:45: error: no matching function for call to = 'reverse(clang::CXXConstructorDecl::init_const_range)' for (auto *I : llvm::reverse(CD->inits())) { ^ (not the only error reported for CFG.cpp=E2=80=99s compile, I just = listed the first). I do not know if the -std=3Dgnu++11 that is automatically used is = causing variations in the language definition in use or not. I do this sort of thing with 11.0-CURRENT now and have been for a long = time, including building clang 3.7.1 and its lldb via powerpc64-gcc in = more recent times. But powerpc64-gcc has historically rejected the clang = extras so I=E2=80=99ve used WITHOUT_CLANG_EXTRAS=3D historically. Some context notes: Empty make.conf via __MAKE_CONF use. scr.conf: (actually: used via SRC_ENV_CONF=3D) TO_TYPE=3Dpowerpc64 TOOLS_TO_TYPE=3D${TO_TYPE} FROM_TYPE=3Damd64 TOOLS_FROM_TYPE=3Dx86_64 VERSION_CONTEXT=3D11.0 # KERNCONF=3DGENERIC64vtsc-NODEBUG TARGET=3Dpowerpc .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITHOUT_CROSS_COMPILER=3D # # 1 thing that fails to build if attempted via gcc variants: WITHOUT_CLANG_EXTRAS=3D # WITH_FAST_DEPEND=3D WITH_LIBCPLUSPLUS=3D WITH_LIB32=3D WITH_BOOT=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_LLDB=3D # WITHOUT_GCC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D MALLOC_PRODUCTION=3D #CFLAGS+=3D -DELF_VERBOSE # WITH_DEBUG=3D WITH_DEBUG_FILES=3D # # TOOLS_TO_TYPE based on ${TO_TYPE}-xtoolchain-gcc related bintutils... # CROSS_TOOLCHAIN=3D${TO_TYPE}-gcc X_COMPILER_TYPE=3Dgcc CROSS_BINUTILS_PREFIX=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ # .if ${.MAKE.LEVEL} =3D=3D 0 = XCC=3D/usr/local/bin/${TOOLS_TO_TYPE}-portbld-freebsd${VERSION_CONTEXT}-gc= c = XCXX=3D/usr/local/bin/${TOOLS_TO_TYPE}-portbld-freebsd${VERSION_CONTEXT}-g= ++ = XCPP=3D/usr/local/bin/${TOOLS_TO_TYPE}-portbld-freebsd${VERSION_CONTEXT}-c= pp .export XCC .export XCXX .export XCPP XAS=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/as XAR=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ar XLD=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ld XNM=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/nm XOBJCOPY=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/objcopy XOBJDUMP=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/objdump XRANLIB=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/ranlib XSIZE=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/size #NO-SUCH: XSTRINGS=3D/usr/local/${TOOLS_TO_TYPE}-freebsd/bin/strings XSTRINGS=3D/usr/local/bin/${TOOLS_TO_TYPE}-freebsd-strings .export XAS .export XAR .export XLD .export XNM .export XOBJCOPY .export XOBJDUMP .export XRANLIB .export XSIZE .export XSTRINGS .endif # # =46rom clang (via system)... # .if ${.MAKE.LEVEL} =3D=3D 0 CC=3D/usr/bin/clang -B/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin CXX=3D/usr/bin/clang++ -B/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin CPP=3D/usr/bin/clang-cpp -B/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin .export CC .export CXX .export CPP .endif # # TOOLS_FROM_TYPE binutils... # .if ${.MAKE.LEVEL} =3D=3D 0 AS=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/as AR=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/ar LD=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/ld NM=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/nm OBJCOPY=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/objcopy OBJDUMP=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/objdump RANLIB=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/ranlib SIZE=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/size #NO-SUCH: STRINGS=3D/usr/local/${TOOLS_FROM_TYPE}-freebsd/bin/strings STRINGS=3D/usr/local/bin/${TOOLS_FROM_TYPE}-freebsd-strings .export AS .export AR .export LD .export NM .export OBJCOPY .export OBJDUMP .export RANLIB .export SIZE .export STRINGS .endif =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Sat Jan 23 15:08:51 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BAE9A8E20A; Sat, 23 Jan 2016 15:08:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41202123E; Sat, 23 Jan 2016 15:08:51 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::f122:7bdb:e47d:10df] (unknown [IPv6:2001:7b8:3a7:0:f122:7bdb:e47d:10df]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id DE79130264; Sat, 23 Jan 2016 16:08:48 +0100 (CET) Subject: Re: powerpc64-gcc unable to compile clang 3.8.0 from clang380-import -r294609 via buildworld Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/signed; boundary="Apple-Mail=_94BDF100-5669-436D-9A50-BABCA9132C61"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <67523280-9F20-4638-BF24-1BFAE8583805@dsl-only.net> Date: Sat, 23 Jan 2016 16:08:44 +0100 Cc: FreeBSD PowerPC ML , FreeBSD Toolchain Message-Id: <5B511209-F26D-4788-B80B-E0328963C263@FreeBSD.org> References: <67523280-9F20-4638-BF24-1BFAE8583805@dsl-only.net> To: Mark Millard X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 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 Jan 2016 15:08:51 -0000 --Apple-Mail=_94BDF100-5669-436D-9A50-BABCA9132C61 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 23 Jan 2016, at 12:25, Mark Millard wrote: >=20 > I tried a buildworld that included building clang and lldb based on = using powerpc64-xtoolchain-gcc/powerpc64-gcc as a cross compiler. It = failed, see below. This might indicate a more general gcc 5.x vs. clang = 3.8.0 source code mismatch. This was my first try. This could have been = true for some time. >=20 > --- CFG.o --- > /usr/local/bin/powerpc64-portbld-freebsd11.0-g++ -isystem = /usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include = -L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/lib = --sysroot=3D/usr/obj/xtoolchain/powerpc.po > werpc64/usr/src/tmp -B/usr/local/powerpc64-freebsd/bin/ = -I/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/usr/include/c++/v1 = -std=3Dgnu++11 = -L/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/tmp/../lib/libc++ = --sysroot=3D/usr > /obj/xtoolchain/powerpc.powerpc64/usr/src/tmp = -B/usr/local/powerpc64-freebsd/bin/ -O2 -pipe = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/include = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm > /tools/clang/include = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/li= b/Analysis -I. = -I/usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/../../lib/clan= g/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS = -D__STDC_CONSTANT_MACROS -DCLANG_ENABLE_ARCMT = -DCLANG_ENABLE_STATIC_ANALYZER -fno-strict-aliasing = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"powerpc64-unknown-freebsd11.0\" = -DLLVM_HOST_TRIPLE=3D\"powerpc64 > -unknown-freebsd11.0\" -DDEFAULT_SYSROOT=3D\"\" -MD -MP = -MF.depend.CFG.o -MTCFG.o -fstack-protector-strong = -Wno-error=3Dunused-function -Wno-error=3Denum-compare = -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dbool-compare -Wno- > error=3Duninitialized -Wno-error=3Darray-bounds -Wno-error=3Dclobbered = -Wno-error=3Dcast-align -Wno-error=3Dextra -Wno-error=3Dattributes = -Wno-error=3Dinline -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-value -Wno-error=3Dstrict > -aliasing -Wno-error=3Daddress -std=3Dc++11 -fno-exceptions -fno-rtti = -c = /usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/lib/= Analysis/CFG.cpp -o CFG.o > . . . > --- all_subdir_libclanganalysis --- > = /usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/lib/= Analysis/CFG.cpp: In member function 'std::__1::unique_ptr = {anonymous}::CFGBuilder::buildCFG(const clang::Decl*, clang::Stmt*)': > = /usr/src/lib/clang/libclanganalysis/../../../contrib/llvm/tools/clang/lib/= Analysis/CFG.cpp:1046:45: error: no matching function for call to = 'reverse(clang::CXXConstructorDecl::init_const_range)' > for (auto *I : llvm::reverse(CD->inits())) { > ^ I just tried building clang 3.8.0 with gcc 5.3.0, but that went fine. However, by default gcc uses its own copy of libstdc++. The above error is most likely something caused by libc++ and gcc not playing well together. This kind of error is always hard to report upstream, since the gcc maintainers obviously do not care that much about libc++, while the libc++ maintainers do not care that much about gcc. :-) -Dimitry --Apple-Mail=_94BDF100-5669-436D-9A50-BABCA9132C61 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.29 iEYEARECAAYFAlajl4AACgkQsF6jCi4glqOdBACgzYeWjIjdBVZop/ViXxHr9sHW j4QAnR080dGiJM1KOy86zmQASU30OqNV =gN/Q -----END PGP SIGNATURE----- --Apple-Mail=_94BDF100-5669-436D-9A50-BABCA9132C61--