[Buildroot] Buildroot host-clang error
Romain Naour
romain.naour at gmail.com
Wed May 30 22:28:27 UTC 2018
Hi Joseph,
Le 30/05/2018 à 23:52, Joseph Kogut a écrit :
> Hi Valentin,
>
> I'm working on a package for Buildroot that requires Clang to compile,
> and I'm running into an issue.
>
> Upon invoking the built compiler, even without options, I get:
>
> : CommandLine Error: Option 'x86-use-base-pointer' registered more than once!
> LLVM ERROR: inconsistency in registered CommandLine options
>
> This is using the current master branch, including LLVM and Clang 5.0.2.
>
> By experimenting, I found that disabling the shared libLLVM
> (-DLLVM_LINK_LLVM_DYLIB=OFF), the compiler works again.
>
> Is this a known issue? Do you have any suggestions?
Yes it is, see: http://patchwork.ozlabs.org/patch/922738/
Can you test the patch and report if it fix your issue.
Best regards,
Romain
>
> Thanks,
> Joe
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
More information about the buildroot
mailing list