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++/25472] New: --disable-hosted-libstdcxx does not work


When configuring with --disable-hosted-libstdcxx, mainline gives:

/mnt/hd/bld/gcc.versioned-freestanding/./gcc/xgcc -shared-libgcc
-B/mnt/hd/bld/gcc.versioned-freestanding/./gcc -nostdinc++
-L/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/src
-L/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/mnt/hd/bld/H-x86-gcc.versioned/i686-pc-linux-gnu/bin/
-B/mnt/hd/bld/H-x86-gcc.versioned/i686-pc-linux-gnu/lib/ -isystem
/mnt/hd/bld/H-x86-gcc.versioned/i686-pc-linux-gnu/include -isystem
/mnt/hd/bld/H-x86-gcc.versioned/i686-pc-linux-gnu/sys-include
-I/mnt/hd/src/gcc.versioned/libstdc++-v3/../gcc
-I/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include
-I/mnt/hd/src/gcc.versioned/libstdc++-v3/libsupc++ -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c
/mnt/hd/src/gcc.versioned/libstdc++-v3/libsupc++/eh_alloc.cc  -fPIC -DPIC -o
eh_alloc.o
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:161:
error: '::lldiv_t' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:167:
error: '::_Exit' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:174:
error: '::llabs' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:176:
error: 'lldiv_t' does not name a type
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:180:
error: '::lldiv' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:191:
error: '::atoll' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:192:
error: '::strtoll' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:193:
error: '::strtoull' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:195:
error: '::strtof' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:196:
error: '::strtold' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:202:
error: '__gnu_cxx::lldiv_t' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:204:
error: '__gnu_cxx::_Exit' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:207:
error: '__gnu_cxx::llabs' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:208:
error: '__gnu_cxx::div' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:209:
error: '__gnu_cxx::lldiv' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:211:
error: '__gnu_cxx::atoll' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:212:
error: '__gnu_cxx::strtof' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:213:
error: '__gnu_cxx::strtoll' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:214:
error: '__gnu_cxx::strtoull' has not been declared
/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/include/cstdlib:215:
error: '__gnu_cxx::strtold' has not been declared
make[4]: *** [eh_alloc.lo] Error 1
make[4]: Leaving directory
`/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/mnt/hd/bld/gcc.versioned-freestanding/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/mnt/hd/bld/gcc.versioned-freestanding'
make: *** [all] Error 2


-- 
           Summary: --disable-hosted-libstdcxx does not work
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkoz at gcc dot gnu dot org


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


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