Date: Fri, 28 Apr 2017 09:27:23 -0500 From: Justin Hibbits <jrh29@alumni.cwru.edu> To: Luciano Mannucci <luciano@vespaperitivo.it> Cc: "freebsd-ppc@freebsd.org" <freebsd-ppc@freebsd.org> Subject: Re: llvm 4.0 on PPC64 Message-ID: <CAHSQbTBp-FXA8k5OTfgXTiuvf-0SDo-BfQ%2B7AAeVoVKz7k8m8g@mail.gmail.com> In-Reply-To: <3wDrG96NhDzRRrV@baobab.bilink.it> References: <3wDrG96NhDzRRrV@baobab.bilink.it>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Luciano, On Friday, April 28, 2017, Luciano Mannucci <luciano@vespaperitivo.it> wrote: > > It seems it doesn't compile on 11.0-RELEASE-p1. Is it a known bug? > I'm getting this from make install clean: > > /usr/ports/devel/llvm40/work/llvm-4.0.0.src/tools/lldb/ > source/Host/common/FileSpec.cpp: In function 'bool > {anonymous}::GetFileStats(const lldb_private::FileSpec*, stat*)': > /usr/ports/devel/llvm40/work/llvm-4.0.0.src/tools/lldb/ > source/Host/common/FileSpec.cpp:92:22: error: 'PATH_MAX' was not declared > in this scope > char resolved_path[PATH_MAX]; > ^ > /usr/ports/devel/llvm40/work/llvm-4.0.0.src/tools/lldb/ > source/Host/common/FileSpec.cpp:93:26: error: 'resolved_path' was not > declared in this scope > if (file_spec->GetPath(resolved_path, sizeof(resolved_path))) > ^ > ... > ninja: build stopped: subcommand failed. > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/devel/llvm40 > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/llvm40 > > Thanks to all, > > Luciano. > Yup, I see this, too. I haven't dug deep (or even shallow, for that matter) to try to fix it. I did look at lldb trunk, and it no longer has PATH_MAX anywhere, so might be fixed relative. If nothing else, we may have to wait for devel/llvm50, unless someone wants to try to fix it locally, or someone wants to get the necessary changes backported for llvm41. This blocks Mesa ports, so I added to my poudriere make.conf a "MESA_LLVM_VER=39" to get things to build. - Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTBp-FXA8k5OTfgXTiuvf-0SDo-BfQ%2B7AAeVoVKz7k8m8g>