Date: Fri, 20 Oct 2017 22:40:17 +0200 (CEST) From: Thaison Nguyen <t_nguy28@uni-muenster.de> To: Joe Nosay <superbisquit@gmail.com>, Justin Hibbits <chmeeedalf@gmail.com> Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: libc++ on FreeBSD-11.1 powerpc32 Message-ID: <permail-201710202040178218e1ae00007a75-t_nguy28@message-id.uni-muenster.de> In-Reply-To: <CA%2BWntOugw_aztrRDhc8ytYkFjMZ7J-qMzS1g35XAVy6pCDt5pQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <iostream> ^~~~~~~~~~ 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 <chmeeedalf@gmail.com> > 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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-201710202040178218e1ae00007a75-t_nguy28>