From owner-freebsd-ppc@freebsd.org Fri Oct 20 20:40:29 2017 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 77FD9E3F677 for ; Fri, 20 Oct 2017 20:40:29 +0000 (UTC) (envelope-from t_nguy28@uni-muenster.de) Received: from zivm-wwu3.uni-muenster.de (ZIVM-WWU3-1.UNI-MUENSTER.DE [128.176.192.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "zivm-wwu.uni-muenster.de", Issuer "Zertifizierungsstelle Universitaet Muenster - G02" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3B6664C9C for ; Fri, 20 Oct 2017 20:40:27 +0000 (UTC) (envelope-from t_nguy28@uni-muenster.de) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BwCADoXepZ/0oVsIBcGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBg19kbieJB5RSPAMBAQEBAQEGgSoFDYg9hTCITYIBIguESU8ChDt?= =?us-ascii?q?DFAECAQEBAQEBAWsohR0BAQEBAgEBATgNByALBRYOBAZPBgEEBRgOBgEHBwQBH?= =?us-ascii?q?ASFc4IHA4FqAwgFCBCtRIM+g34Ng1kBAQgBAQEBASODLoIHgQmCMIMqgl6BdAE?= =?us-ascii?q?RAgECHIV1BYEtAQGIZokkjWoyCAEBgQmGWocFgRCHDl2FHINXhzqNCoopNiFCQ?= =?us-ascii?q?Vg0ISZdgRGBUwmCUxyBaT42CIgSgkQBAQE?= X-IPAS-Result: =?us-ascii?q?A2BwCADoXepZ/0oVsIBcGQEBAQEBAQEBAQEBBwEBAQEBg19?= =?us-ascii?q?kbieJB5RSPAMBAQEBAQEGgSoFDYg9hTCITYIBIguESU8ChDtDFAECAQEBAQEBA?= =?us-ascii?q?WsohR0BAQEBAgEBATgNByALBRYOBAZPBgEEBRgOBgEHBwQBHASFc4IHA4FqAwg?= =?us-ascii?q?FCBCtRIM+g34Ng1kBAQgBAQEBASODLoIHgQmCMIMqgl6BdAERAgECHIV1BYEtA?= =?us-ascii?q?QGIZokkjWoyCAEBgQmGWocFgRCHDl2FHINXhzqNCoopNiFCQVg0ISZdgRGBUwm?= =?us-ascii?q?CUxyBaT42CIgSgkQBAQE?= X-IronPort-AV: E=Sophos;i="5.43,408,1503352800"; d="scan'208";a="140971198" Received: from udc2web44.uni-muenster.de ([128.176.21.74]) by zivm-relay3.uni-muenster.de with ESMTP; 20 Oct 2017 22:40:18 +0200 Received: by udc2web44.uni-muenster.de (Postfix, from userid 10086344) id 754CAD34F2; Fri, 20 Oct 2017 22:40:18 +0200 (CEST) Date: Fri, 20 Oct 2017 22:40:17 +0200 (CEST) From: Thaison Nguyen Organization: Westfaelische Wilhelms-Universitaet Muenster Subject: Re: libc++ on FreeBSD-11.1 powerpc32 To: Joe Nosay , Justin Hibbits Cc: FreeBSD PowerPC ML Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 20:40:29 -0000 Hi, The issue was that i couldn't build portupgrade using clang50.=20 While compiling libtiff it was looking for the iostream library which he co= uldnt find. The reason for this could be the missing libc++. I will add the log to the end of the email. @joe: By compiling from sources are you meaning to build world, or meaning = the sources of libc++? Greets, Thaison Nguyen =3D=3D=3D> License BSD3CLAUSE accepted by the user =3D=3D=3D> portupgrade-2.4.15,2 depends on file: /usr/local/sbin/pkg - fo= und =3D=3D=3D> Fetching all distfiles required by portupgrade-2.4.15,2 for buil= ding =3D=3D=3D> Extracting for portupgrade-2.4.15,2 =3D> SHA256 Checksum OK for portupgrade/freebsd-portupgrade-2.4.15_GH0.tar= =2Egz. =3D=3D=3D> portupgrade-2.4.15,2 depends on file: /usr/local/bin/ruby23 - = not found =3D=3D=3D> ruby-2.3.5,1 depends on package: libffi>=3D0 - found =3D=3D=3D> ruby-2.3.5,1 depends on package: doxygen>=3D1.8.13,2 - not fou= nd =3D=3D=3D> doxygen-1.8.13,2 depends on executable: dot - not found =3D=3D=3D> graphviz-2.40.1_2 depends on executable: bison - found =3D=3D=3D> graphviz-2.40.1_2 depends on executable: gmake - found =3D=3D=3D> graphviz-2.40.1_2 depends on package: pkgconf>=3D1.3.0_1 - fou= nd =3D=3D=3D> graphviz-2.40.1_2 depends on executable: msgfmt - found =3D=3D=3D> graphviz-2.40.1_2 depends on package: ghostscript9-agpl-base>= =3D9.16_2 - not found =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on executable: autoconf-= 2.69 - found =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on executable: autoheade= r-2.69 - found =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on executable: autorecon= f-2.69 - found =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on executable: aclocal-1= =2E15 - found =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on executable: automake-= 1.15 - found =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on executable: gmake - f= ound =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on package: pkgconf>=3D1= =2E3.0_1 - found =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on shared library: libex= pat.so - found (/usr/local/lib/libexpat.so) =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on shared library: libfr= eetype.so - found (/usr/local/lib/libfreetype.so) =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on shared library: libid= n.so - found (/usr/local/lib/libidn.so) =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on shared library: libjb= ig2dec.so - found (/usr/local/lib/libjbig2dec.so) =3D=3D=3D> ghostscript9-agpl-base-9.16_5 depends on shared library: liblc= ms2.so - not found =3D=3D=3D> lcms2-2.8 depends on shared library: libtiff.so - not found =3D=3D=3D> Building for tiff-4.0.8 Making all in port Making all in libtiff /usr/bin/make all-am /bin/sh ../libtool --tag=3DCXX --mode=3Dcompile clang++50 -DHAVE_CONFIG= _H -I. -I/usr/local/include -O2 -pipe -fno-strict-aliasing -MT tif_str= eam.lo -MD -MP -MF .deps/tif_stream.Tpo -c -o tif_stream.lo tif_stream.cxx libtool: compile: clang++50 -DHAVE_CONFIG_H -I. -I/usr/local/include -O2 -= pipe -fno-strict-aliasing -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tp= o -c tif_stream.cxx -fPIC -DPIC -o .libs/tif_stream.o tif_stream.cxx:31:10: fatal error: 'iostream' file not found #include ^~~~~~~~~~ 1 error generated. *** [tif_stream.lo] Error code 1 make[16]: stopped in /usr/ports/graphics/tiff/work/tiff-4.0.8/libtiff 1 error make[16]: stopped in /usr/ports/graphics/tiff/work/tiff-4.0.8/libtiff *** [all] Error code 2 make[15]: stopped in /usr/ports/graphics/tiff/work/tiff-4.0.8/libtiff 1 error make[15]: stopped in /usr/ports/graphics/tiff/work/tiff-4.0.8/libtiff *** [all-recursive] Error code 1 make[14]: stopped in /usr/ports/graphics/tiff/work/tiff-4.0.8 make[14]: stopped in /usr/ports/graphics/tiff/work/tiff-4.0.8 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[13]: stopped in /usr/ports/graphics/tiff *** Error code 1 Stop. make[12]: stopped in /usr/ports/graphics/tiff *** Error code 1 Stop. make[11]: stopped in /usr/ports/graphics/lcms2 *** Error code 1 Stop. make[10]: stopped in /usr/ports/graphics/lcms2 *** Error code 1 Stop. make[9]: stopped in /usr/ports/print/ghostscript9-agpl-base *** Error code 1 Stop. make[8]: stopped in /usr/ports/print/ghostscript9-agpl-base *** Error code 1 Stop. make[7]: stopped in /usr/ports/graphics/graphviz *** Error code 1 Stop. make[6]: stopped in /usr/ports/graphics/graphviz *** Error code 1 Stop. make[5]: stopped in /usr/ports/devel/doxygen *** Error code 1 Stop. make[4]: stopped in /usr/ports/devel/doxygen *** Error code 1 Stop. make[3]: stopped in /usr/ports/lang/ruby23 *** Error code 1 Stop. make[2]: stopped in /usr/ports/lang/ruby23 *** Error code 1 Stop. make[1]: stopped in /usr/ports/ports-mgmt/portupgrade *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/portupgrade Joe Nosay schrieb am 2017-10-20: > Justin and the FreeBSD-PPC mailing list will bounce my reply; so, please > reply with my reply to both the list and Justin. > Justin and others, from my experience of working with the POWER and other > architectures, it is in best practice to encourage people to build from > source within a folder or sub-level of /usr/home|/home . > This will allow the libc++ to be part of the ports collection with a test= ed > environment of the POWER architecture. > It is also possible to build libc++ for other architectures as well. > On Fri, Oct 20, 2017 at 9:54 AM, Justin Hibbits > wrote: > > On Oct 19, 2017, at 12:54 AM, Thaison Nguyen wrote: > > > > Hi, > >> I have successfully compiled llvm50 on my ibook G4 using the latest > >> stable release of FreeBSD. > >> > >> Anyhow i could not make use of it yet as it cannot find libc++. > >> I cannot install it through ports, too because the port has been delet= ed > >> recently. > >> > >> What am i doing wrong here? > >> > >> Greetings, > >> TN > >> > > > > Hi, > > > > Unfortunately right now libc++ isn't built for powerpc (neither 32 nor > > 64). Why is llvm50 looking for libc++? Do you have a test case I can = try > > with? > > > > The hope is that soon (in time for FreeBSD 12 to branch) we'll have a f= ull > > clang world+kernel for all powerpc targets, so this should eventually b= e > > resolved naturally. That said, as part of our goal for driving FreeBSD > > forward we want to also move to a modern toolchain regardless, which ca= n > > include migrating to an external GCC if needed. This will also allow u= s to > > build libc++ as part of base. > > > > Long story short -- libc++ isn't in base for powerpc right now, but sho= uld > > be in the not-too-distant future. > > > > - Justin > > > > > > _______________________________________________ > > freebsd-ppc@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ppc > > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > >