> On Aug 24, 2018, at 12:43 PM, blubee blubeeme <gurenc...@gmail.com> 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
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to