[Bug libstdc++/12778] New: 3.4 1022 bootstrap failure building libstdc++-v3/src/basic_file.cc

rdbrown at mira dot net gcc-bugzilla@gcc.gnu.org
Sun Oct 26 11:04:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: 3.4 1022 bootstrap failure building libstdc++-
                    v3/src/basic_file.cc
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rdbrown at mira dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa2.0n-hp-hpux11.00
  GCC host triplet: hppa2.0n-hp-hpux11.00
GCC target triplet: hppa2.0n-hp-hpux11.00

/home/rdb/gcc-3.4-20031022.obj/gcc/xgcc -shared-libgcc -B/home/rdb/gcc-3.4-20031
022.obj/gcc/ -nostdinc++ -L/home/rdb/gcc-3.4-20031022.obj/hppa2.0n-hp-hpux11.00/
libstdc++-v3/src -L/home/rdb/gcc-3.4-20031022.obj/hppa2.0n-hp-hpux11.00/libstdc+
+-v3/src/.libs -B/usr/local/hppa2.0n-hp-hpux11.00/bin/ -B/usr/local/hppa2.0n-hp-
hpux11.00/lib/ -isystem /usr/local/hppa2.0n-hp-hpux11.00/include -isystem /usr/l
ocal/hppa2.0n-hp-hpux11.00/sys-include -I/home/rdb/gcc-3.4-20031022.obj/hppa2.0n
-hp-hpux11.00/libstdc++-v3/include/hppa2.0n-hp-hpux11.00 -I/home/rdb/gcc-3.4-200
31022.obj/hppa2.0n-hp-hpux11.00/libstdc++-v3/include -I/home/rdb/gcc-3.4-2003102
2/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -fno-implicit-templates -Wall -W -Wwr
ite-strings -Wcast-qual -fdiagnostics-show-location=once -c basic_file.cc  -fPIC
 -DPIC -o .libs/basic_file.o
basic_file.cc: In member function `std::__basic_file<char>* std::__basic_file<ch
ar>::open(const char*, std::_Ios_Openmode, int)':
basic_file.cc:179: error: `fopen64' undeclared (first use this function)
basic_file.cc:179: error: (Each undeclared identifier is reported only once for 
each function it appears in.)
basic_file.cc: In member function `std::streamoff std::__basic_file<char>::seeko
ff(std::streamoff, std::_Ios_Seekdir)':
basic_file.cc:273: error: `lseek64' undeclared (first use this function)
make[4]: *** [basic_file.lo] Error 1
make[4]: Leaving directory `/home/rdb/gcc-3.4-20031022.obj/hppa2.0n-hp-hpux11.00
/libstdc++-v3/src'

libstdc++-v3 defines _GLIBCXX_USE_LFS but doesn't set -D_FILE_OFFSET_BITS=64
$(getconf XBS5_ILP32_OFFBIG_CFLAGS) so fopen64 and lseek64 aren't defined.



More information about the Gcc-bugs mailing list