On Sun, Jan 24, 2016 at 01:30:51PM +0100, Pascal Stumpf wrote:
> On Sun, 24 Jan 2016 20:02:16 +1100, Jonathan Gray wrote:
> > On Sun, Jan 24, 2016 at 09:47:28AM +0100, Pascal Stumpf wrote:
> > > On Sun, 24 Jan 2016 17:03:16 +1100, Jonathan Gray wrote:
> > > > On Sat, Jan 23, 2016 at 07:03:23PM -0500, Michael McConville wrote:
> > > > > FWIW, I've been running this patch without issue for months. >
> > > > > Juan Francisco Cantero Hurtado wrote: > > Can you modify the
> > > > structure of devel/llvm/ to something like > > devel/llvm/version/?
> > > > With lang/gcc works pretty well, we can work with > > the latest
> > > > version while the ports tree uses the stable version by > > default.
> > > > > > This sounds like a good idea to me. > > We should probably also
> > > > make sure that this update won't further > complicate things for
> > > > Jonathan: > > https://marc.info/?l=openbsd-cvs&m=145088099210901&w=2
> > > > > > https://marc.info/?l=openbsd-cvs&m=144816103704050&w=2 >
> > > > > https://marc.info/?l=openbsd-cvs&m=145091674119104&w=2 > >
> > > > https://marc.info/?l=openbsd-cvs&m=145108545813434&w=2 >
> > > > 
> > > > Well, Mesa won't build with the existing ports llvm so any update can't
> > > > make it worse.
> > > > 
> > > > I do wonder if llvm should be patched to use libestdc++ until such time
> > > > that libc++ is useable though. As otherwise clang can't compile against
> > > > the clang headers...
> > > 
> > > That's exactly what I did in the port:
> > > 
> > > #include "..." search starts here:
> > > #include <...> search starts here:
> > >  /usr/local/include/c++/4.9.3
> > >  /usr/local/include/c++/4.9.3/x86_64-unknown-openbsd5.9
> > >  /usr/local/include/c++/4.9.3/backward
> > >  /usr/include/g++
> > >  /usr/include/g++/amd64-unknown-openbsd5.9
> > >  /usr/include/g++/backward
> > >  /usr/local/bin/../lib/clang/3.7.1/include
> > >  /usr/include
> > > End of search list.
> > >  "/usr/bin/ld" -e __start --eh-frame-hdr -Bdynamic -dynamic-linker
> > > /usr/libexec/ld.so -o a.out /usr/lib/crt0.o /usr/lib/crtbegin.o
> > > -L/usr/local/lib/gcc/x86_64-unknown-openbsd5.9/4.9.3 -L/usr/local/lib
> > > /tmp/hw-dc2526.o -lestdc++ -lm -lgcc -lc -lgcc /usr/lib/crtend.o
> > 
> > I'm curious how you get that, as I'm using the patch you posted.
> 
> Grrr, CVS ate the important patches.  Sorry.

Thanks.  I can build Mesa with clang/clang++ against the llvm libraries
with this version of the patch.  The include search paths also match
what you mentioned earlier.

Reply via email to