[LLVMdev] Failure building llvm/clang from source using binary clang package on Mageia 2

Dmitri Gribenko gribozavr at gmail.com
Wed Jan 9 07:37:27 PST 2013


On Tue, Jan 8, 2013 at 8:43 AM, Edward Diener
<eldlistmailingz at tropicsoft.com> wrote:
> After applying your patch on Mageia 2 and invoking llvm's configure:
>
> Using clang 3.0 I get:
>
> "checking whether clang works... no
> configure: error: Selected compiler could not find or parse C++ standard
> library headers.  Rerun with CC=c-compiler CXX=c++-compiler ./configure ..."
>
> Using gcc, there is no error.
>
> After applying your patch on Fedora 17 and invoking llvm's configure:
>
> Using clang 3.0 I get:
>
> "checking whether clang works... no
> configure: error: Selected compiler could not find or parse C++ standard
> library headers.  Rerun with CC=c-compiler CXX=c++-compiler ./configure ..."
>
> Using gcc, there is no error.
>
> After applying your patch on Suse 12.2 and invoking llvm's configure:
>
> Using clang 3.1, which has previously worked, there is no error.
>
> So it looks to me, based on my tests, that your patch is successful. I look
> forward to this update in llvm on subversion.

I've committed a slightly different variant of this patch r171975.

Thank you for testing!

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the llvm-dev mailing list