Re: Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL
llvm built successfully for all Th archs. BTW - ouch... 1889870589 llvm-debuginfo-7.0.0-3.x86_64.rpm -- Jakub Boguszhttp://qboosh.pl/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL
On Fri, Dec 14, 2018 at 05:56:50PM +0100, Jan Rękorajski wrote: > You need to revert this: > > http://git.pld-linux.org/?p=packages/llvm.git;a=commitdiff;h=f8b4baa198f262d3bff6af0ba38065ad386881a5;hp=fba35f645ed4c3ec1fd41765993175a580cd2c91 > > I've been testing if newly added builders disk capacity is enough for > this beast ;) Argh. I did revert it (when building on carme), but it's been lost during rebase on my localhost. Redone now. -- Jakub Boguszhttp://qboosh.pl/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL
You need to revert this: http://git.pld-linux.org/?p=packages/llvm.git;a=commitdiff;h=f8b4baa198f262d3bff6af0ba38065ad386881a5;hp=fba35f645ed4c3ec1fd41765993175a580cd2c91 I've been testing if newly added builders disk capacity is enough for this beast ;) On Fri, Dec 14, 2018 at 4:02 PM Jakub Bogusz wrote: > > On Fri, Dec 14, 2018 at 11:26:24AM +0100, Jacek Konieczny wrote: > > On 12/12/2018 16.06, Jakub Bogusz wrote: > > > > > > THEY just changed the way of enabling rtti (from make variable to cmake > > > define). > > > As we had rtti in previous versions of llvm and it's needed by other > > > packages (i.e. Mesa/pipe-*), IMO we should just keep it enabled (and > > > rebuild packages already built with rtti-less llvm 7, if necessary). > > > > I can see you have already fixed the spec, but how do we build it now? > > It seems the builders currently cannot handle it. > > I successfully built llvm on carme-x32 (with split-dwarf)... > > Maybe we should reduce debuginfo level for this package. > > > -- > Jakub Boguszhttp://qboosh.pl/ > ___ > pld-devel-en mailing list > pld-devel-en@lists.pld-linux.org > http://lists.pld-linux.org/mailman/listinfo/pld-devel-en -- Jan Rękorajski | SysAdm | PLD/Linux | http://www.pld-linux.org/ bagginspld-linux.org ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL
On Fri, Dec 14, 2018 at 11:26:24AM +0100, Jacek Konieczny wrote: > On 12/12/2018 16.06, Jakub Bogusz wrote: > > > > THEY just changed the way of enabling rtti (from make variable to cmake > > define). > > As we had rtti in previous versions of llvm and it's needed by other > > packages (i.e. Mesa/pipe-*), IMO we should just keep it enabled (and > > rebuild packages already built with rtti-less llvm 7, if necessary). > > I can see you have already fixed the spec, but how do we build it now? > It seems the builders currently cannot handle it. I successfully built llvm on carme-x32 (with split-dwarf)... Maybe we should reduce debuginfo level for this package. -- Jakub Boguszhttp://qboosh.pl/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL
On 12/12/2018 16.06, Jakub Bogusz wrote: > > THEY just changed the way of enabling rtti (from make variable to cmake > define). > As we had rtti in previous versions of llvm and it's needed by other > packages (i.e. Mesa/pipe-*), IMO we should just keep it enabled (and > rebuild packages already built with rtti-less llvm 7, if necessary). I can see you have already fixed the spec, but how do we build it now? It seems the builders currently cannot handle it. Jacek ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Re: Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL
On Tue, Dec 11, 2018 at 03:37:40PM +0100, Jacek Konieczny wrote: > Hi, > > I am preparing package for Mesa 18.3.0, switching the build system to > Meson, as autoconf/automake is deprecated. > > I made it build, but without OpenCL. The problem is the Clover part of > Mesa requires RTTI to build (uses dynamic_cast) and Mesa is build > -fno-rtti when compiled with LLVM built without RTTI. > > LLVM builds without RTTI by default, but it should be possible to build > it with RTTI, using 'REQUIRES_RTTI=1', which we have in our llvm.spec. > It doesn't seem to work, though: > > [jajcus@jajo ~]$ llvm-config --has-rtti > NO > [jajcus@jajo ~]$ rpm -qf `which llvm-config` > llvm-devel-7.0.0-1.x86_64 > > Should we fix it? It is disabled in LLVM for a reason, but it seems Mesa > expects it rather enabled. Also, changing the setting now will change > the ABI, which will force us to recompile everything compiled with > current LLVM. And I am not sure how to fix it, anyway. THEY just changed the way of enabling rtti (from make variable to cmake define). As we had rtti in previous versions of llvm and it's needed by other packages (i.e. Mesa/pipe-*), IMO we should just keep it enabled (and rebuild packages already built with rtti-less llvm 7, if necessary). -- Jakub Boguszhttp://qboosh.pl/ ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
Mesa 18.3.0, Meson, LLVM, RTTI and OpenCL
Hi, I am preparing package for Mesa 18.3.0, switching the build system to Meson, as autoconf/automake is deprecated. I made it build, but without OpenCL. The problem is the Clover part of Mesa requires RTTI to build (uses dynamic_cast) and Mesa is build -fno-rtti when compiled with LLVM built without RTTI. LLVM builds without RTTI by default, but it should be possible to build it with RTTI, using 'REQUIRES_RTTI=1', which we have in our llvm.spec. It doesn't seem to work, though: [jajcus@jajo ~]$ llvm-config --has-rtti NO [jajcus@jajo ~]$ rpm -qf `which llvm-config` llvm-devel-7.0.0-1.x86_64 Should we fix it? It is disabled in LLVM for a reason, but it seems Mesa expects it rather enabled. Also, changing the setting now will change the ABI, which will force us to recompile everything compiled with current LLVM. And I am not sure how to fix it, anyway. Other than that, I would be glad if someone would try the new Mesa, to see if the build works for anything other than Intel GPU. Especially the Gallium drivers. Jacek ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en