This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14159] New: 64bit ppc64 header directory missing form system include chain


After installation GCC version 3.2.2 on Linux 2.4.21-111-pseries64 on ppc64, 
some C++ header files for 64bit ppc were located 
in /opt/cross/include/powerpc64-linux, unfortunately this directory was missing 
from system include chain, if codes used those header files, g++ can't compile 
them due to missing header files.

// Test codes: test.C
#include <iostream>
#include <stdio.h>
    
using namespace std;

int main()
{
        cout << "Hello, world" << endl;
        return 55;
}

//Testing processes:
/opt/cross/bin/powerpc64-linux-g++  -v test.C 

Reading specs from /opt/cross/lib/gcc-lib/powerpc64-linux/3.2.2/specs
Configured with: /usr/src/packages/BUILD/cross-ppc64-gcc-3.2.2/gcc-
3.2.2/configure --enable-languages=c,c++,f77 --prefix=/opt/cross --host=powerpc-
suse-linux --target=powerpc64-linux --enable-threads=posix --disable-nls --
enable-shared --with-headers=/usr/src/packages/BUILD/cross-ppc64-gcc-
3.2.2/include-ppc64-glibc-2.2.5
Thread model: posix
gcc version 3.2.2
GNU CPP version 3.2.2 (cpplib) (PowerPC64 GNU/Linux)
GNU C++ version 3.2.2 (powerpc64-linux)
    compiled by GNU C version 3.2.2.
#include "..." search starts here:
#include <...> search starts here:
 /opt/cross/include/c++/3.2.2
 /opt/cross/include/c++/3.2.2/powerpc64-linux
 /opt/cross/include/c++/3.2.2/backward
 /opt/cross/include
 /opt/cross/lib/gcc-lib/powerpc64-linux/3.2.2/include
 /opt/cross/powerpc64-linux/sys-include
 /opt/cross/powerpc64-linux/include
End of search list.

In file included from hello.C:1:
/opt/cross/include/iostream:44:28: bits/c++config.h: No such file or directory

-- 
           Summary: 64bit ppc64 header directory missing form system include
                    chain
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fwang at ca dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14159


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]