| Anonymous | Login | Signup for a new account | 11-10-2008 10:59 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000779 | [buildroot] Architecture Specific | major | always | 03-08-06 06:51 | 02-12-07 05:43 | ||||
| Reporter | blurgk | View Status | public | ||||||
| Assigned To | buildroot | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0000779: Error during compilation of uclibc and libstdc++ related to large file support | ||||||||
| Description |
I am trying to compile a cross-compilation toolchain for an ARM system under cygwin, without large file support (buildroot config file attached), but I get several errors. First during the compilation of uclibc: error: 'lseek64' undeclared here (not in a function) in toolchain_build_arm_nofpu/uClibc/libc/sysdeps/linux/common/pread_write.c Then several times during the compilation of libstdc++, because of _GLIBCXX_USE_LFS incorrectly set: toolchain_buid_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:170: error: there are no arguments to 'fseek64' that depend on a template parameter, so a declaration of 'fseeko64' must be available and /usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/gcc/xgcc -shared-libgcc -B/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/gcc/ -nostdinc++ -L/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3/src -L/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3/src/.libs -B/usr/src/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/bin/ -B/usr/src/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/lib/ -isystem /usr/src/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/include -isystem /usr/src/buildroot/build_arm_nofpu/staging_dir/arm-linux-uclibc/sys-include -I/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3/include/arm-linux-uclibc -I/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3/include -I/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5/libstdc++-v3/libsupc++ -g -Os -g -Os -fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c basic_file.cc -fPIC -DPIC -o .libs/basic_file.o basic_file.cc: In member function `std::__basic_file<char>* std::__basic_file<char>::open(const char*, std::_Ios_Openmode, int)': basic_file.cc:232: error: `fopen64' was not declared in this scope basic_file.cc:232: warning: unused variable 'fopen64' basic_file.cc: In member function `std::streamoff std::__basic_file<char>::seekoff(std::streamoff, std::_Ios_Seekdir)': basic_file.cc:316: error: `lseek64' was not declared in this scope basic_file.cc:316: warning: unused variable 'lseek64' make[4]: *** [basic_file.lo] Error 1 make[4]: Leaving directory `/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/arm-linux-uclibc/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final' make: *** [/usr/src/buildroot/toolchain_build_arm_nofpu/gcc-3.4.5-final/.compiled] Error 2 |
||||||||
| Additional Information | |||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0001944) bernhardf 12-28-06 01:08 |
Works for me with the fixes i just installed (revision 17099) for gcc-4.2 on i386. Please try 4.2 and report back. |
|
(0001997) bernhardf 01-19-07 08:15 |
Fixed in gcc-4.2 and gcc-4.3; See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30365 [^] |
| Copyright © 2000 - 2006 Mantis Group |