On Tue, Aug 28, 2018 at 6:42 AM Christopher Sean Morrison via brlcad-devel <
[email protected]> wrote:

>
> > On Aug 24, 2018, at 12:43 PM, blubee blubeeme <[email protected]>
> wrote:
> >
> > I previously had brlcad 7.26.4 working well on FreeBSD but recent
> changes to LLVM introduced a bug that causes the compilation to fail.
> >
> > Now the compilation chokes on this linker flang [-debugger-tune=gdb]
> > It's fixed upstream and there's a patch but that's a bit extreme to ask
> users to apply this patch.
> >
> > I tried finding where that flag is set so that I can just remove it for
> FreeBSD since LLVM is shipped with FreeBSD and not GCC.
>
> Owen,
>
> It could be coming from CMake, but I think that flag is internal to the
> linker, not from BRL-CAD or CMake.  It’s likely an expansion of the -g or
> -ggdb3 flag, which we do set.
>
> A temporary fix specific to a given compilation could be to set the
> -DBRLCAD_FLAGS_DEBUG=OFF flag when running cmake or manually remove the -g
> and -ggdb3 flag checks from the top-level CMakeLists.txt file.
>
> Cheers!
> Sean
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel


Thank you for that tip, it did get me past the configure error but I ran
into something a little further down the line.

brlcad-7.26.4/src/other/stepcode/src/base/judy/src/judyL2Array.h:169:28:
error: assigning to 'const
      std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >
*' from incompatible type 'unsigned long'
                kv.value = ( JudyValue ) 0;

I keep getting these errors;
Is it okay to change
kv.value = ( JudyValue ) 0;
to
kv.value = 0;

Do you see any negative side effects of this change?
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to