[cfe-dev] llvm can't use headers from gcc 4.4 on centos Linux x86

NAKAMURA Takumi geek4civic at gmail.com
Wed Oct 27 20:47:21 PDT 2010


Richard, good afternoon.
I have some questions for you.


Which version of CentOS do you use? I assume CentOS 5.x.

Is your g++-4.4.0 the package "gcc44-c++" provided by centos.org?

Which version of clang/llvm do you build?

Do you build clang/llvm with gcc44?

What is your modification? Please show us by diff -u or svn diff


FYI, clang/llvm is available on centos5 with a few patches.
(you know, it requires gcc44)
simple std::cout works w/o any errors with clang++.

$ ./config.status --version
llvm config.status 2.9svn
configured by ../../llvm/configure, generated by GNU Autoconf 2.60,
  with options "'-C' '--enable-optimized=1' '--enable-targets=all'
'CC=gcc44' 'CXX=g++44'"


...Takumi


2010/10/28 Richard Spillane <necro351 at gmail.com>:
> Tried building a simple cout << "Hello!" << endl program using
> <iostream> and failed while trying to compile the iostream headers and
> their dependencies.  The errors effected gcc 4.4 on x86_64 Centos
> Linux.
>
> I've attached the error output.
>
> centos default is gcc 4.1.2, not 4.4.0, and I did modify the header
> search for both C and C++ FIXMEs.
>
> --
> Richard P. Spillane
> File Systems and Storage Lab
> Stony Brook University
> necro351 at gmail.com
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>




More information about the cfe-dev mailing list