Modify

Opened 10 years ago

Closed 7 years ago

#2902 closed defect (wontfix)

No-largefile support broken

Reported by: pagefault@… Owned by: developers
Priority: lowest Milestone:
Component: toolchain Version:
Keywords: Cc:

Description

disabling largefile support for the toolchain breaks the build.

.config:
# CONFIG_LARGEFILE is not set

log:
/home/harald-nocrypt/openwrt/trunk/build_dir/toolchain-armeb_gcc4.1.2/gcc-4.1.2-final/armeb-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h: In member function 'virtual std::streampos gnu_cxx::stdio_sync_filebuf<_CharT, _Traits>::seekoff(std::streamoff, std::_Ios_Seekdir, std::_Ios_Openmode)':
/home/harald-nocrypt/openwrt/trunk/build_dir/toolchain-armeb_gcc4.1.2/gcc-4.1.2-final/armeb-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:171: error: there are no arguments to 'fseeko64' that depend on a template parameter, so a declaration of 'fseeko64' must be available
/home/harald-nocrypt/openwrt/trunk/build_dir/toolchain-armeb_gcc4.1.2/gcc-4.1.2-final/armeb-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:171: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/harald-nocrypt/openwrt/trunk/build_dir/toolchain-armeb_gcc4.1.2/gcc-4.1.2-final/armeb-linux-uclibc/libstdc++-v3/include/ext/stdio_sync_filebuf.h:172: error: there are no arguments to 'ftello64' that depend on a template parameter, so a declaration of 'ftello64' must be available
make[8]: * [globals_io.lo] Error 1

Attachments (1)

config-01 (36.2 KB) - added by pagefault@… 10 years ago.
dot-config

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by pagefault@…

dot-config

comment:1 Changed 10 years ago by anonymous

That's still true as of r10995, although it breaks at a different point for me:

make[4]: Entering directory `/mnt/build/gunter/openwrt_dev/experimental/kk/tmp/kamikaze_trunk_10995/build_dir/mipsel/busybox-1.8.2'
  CC      applets/applets.o
In file included from /mnt/build/gunter/openwrt_dev/experimental/kk/tmp/kamikaze_trunk_10995/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/assert.h:32,
                 from applets/applets.c:10:
/mnt/build/gunter/openwrt_dev/experimental/kk/tmp/kamikaze_trunk_10995/staging_dir/toolchain-mipsel_gcc3.4.6/lib/gcc/mipsel-linux-uclibc/3.4.6/../../../../mipsel-linux-uclibc/sys-include/features.h:382:4: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.

comment:2 Changed 9 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed now, if not, please re-open.

comment:3 Changed 8 years ago by tjwasiak@…

Trying to build r18405 just to test it on some AR7 devices. Busybox does not compile when LARGEFILE support is disabled.

comment:4 Changed 8 years ago by Michele <Linux571@…>

  • Resolution fixed deleted
  • Status changed from closed to reopened

same problem in trunk with platform x86

comment:5 Changed 7 years ago by anonymous

I can confirm this bug for svn 22812 with platform ar71xx

comment:6 Changed 7 years ago by rolling.robot@…

busybox still won't build without large file support enabled.

make[4]: Entering directory `/home/pete/temp/build/openwrt/trunk/build_dir/target-mipsel_uClibc-0.9.30.1/busybox-1.17.3'
  CC      applets/applets.o
In file included from /home/pete/temp/build/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/endian.h:22,
                 from include/platform.h:166,
                 from include/libbb.h:13,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/home/pete/temp/build/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/features.h:383:4: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
In file included from /home/pete/temp/build/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/stdio.h:72,
                 from include/libbb.h:24,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/home/pete/temp/build/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/bits/uClibc_stdio.h:72:2: error: #error Sorry... uClibc was built without large file support!
In file included from include/libbb.h:24,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/home/pete/temp/build/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/stdio.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from include/libbb.h:24,
                 from include/busybox.h:10,
                 from applets/applets.c:9:
/home/pete/temp/build/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/stdio.h:714: error: expected declaration specifiers or '...' before 'fpos_t'
/home/pete/temp/build/openwrt/trunk/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/stdio.h:716: error: expected ';', ',' or ')' before '*' token
make[5]: *** [applets/applets.o] Error 1

comment:7 Changed 7 years ago by v-fox

same here with AR7 no-wifi adsl device and revision 24043

comment:8 Changed 7 years ago by Andrey Zholos <aaz@…>

Unset CONFIG_BUSYBOX_CONFIG_LFS and busybox builds. Some other packages
which define _FILE_OFFSET_BITS=64 fail to build though, in particular
openssl, iptables and udevtrigger.

comment:9 Changed 7 years ago by nbd

  • Resolution set to wontfix
  • Status changed from reopened to closed

support for no-largefile removed in r25208

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.