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 libstdc++/16710] New: Fails to build the target libstdc++-v3 library


The binutils package version 2.15 built for the same target is already installed
at /usr/powerpc-unknown-linux-gnu
Also, there is the target glibc (taken from a different distro for the powerpc
platform)
Within the gcc source tree create a directory objdir
then cd objdir
../configure --prefix=/usr/powerpc-unknown-linux-gnu
--target=powerpc-unknown-linux-gnu --host=i686-pc-linux-gnu --enable-altivec
--enable-__cxa_atexit --enable-shared --enable-languages=c,c++
--with-sysroot=/usr/powerpc-whatever-linux-gnu 
Then issue "gmake"

It compiles the c compiler and the libgcc library, but it fails to compile the
target library libstdc++-v3 and stops there with the message
Checking for main in -lm... error: Link tests are not allowed after
GCC_NO_EXECUTABLES

The same behaviour occurs with any gcc starting from the version 3.3.3 through
the latest snapshot available

-- 
           Summary: Fails to build the target libstdc++-v3 library
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: remedy at programmit dot co dot uk
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-linux-gnu
GCC target triplet: powerpc-linux-gnu


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


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