Modify

Opened 8 years ago

Closed 7 years ago

#6666 closed defect (wontfix)

Build fails when !CONFIG_LARGEFILE

Reported by: mj@… Owned by: nico
Priority: normal Milestone:
Component: base system Version: Kamikaze trunk
Keywords: Cc:

Description

When I try to build today's SVN (r19565) for AR71xx with CONFIG_LARGEFILE unset, make world fails on busybox:

make[4]: Entering directory `/aux/mj/openwrt-trunk/build_dir/target-mips_uClibc-0.9.30.1/busybox-1.15.3'
  CC      applets/applets.o
In file included from /aux/mj/openwrt-trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/sys-include/assert.h:32,
                 from applets/applets.c:10:
/aux/mj/openwrt-trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-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 /aux/mj/openwrt-trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/sys-include/stdio.h:72,
                 from include/libbb.h:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/aux/mj/openwrt-trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-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:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/aux/mj/openwrt-trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/sys-include/stdio.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t'
In file included from include/libbb.h:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/aux/mj/openwrt-trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/sys-include/stdio.h:714: error: expected declaration specifiers or '...' before 'fpos_t'
/aux/mj/openwrt-trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/sys-include/stdio.h:716: error: expected ';', ',' or ')' before '*' token
make[5]: *** [applets/applets.o] Error 1
make[4]: *** [applets_dir] Error 2
make[4]: Leaving directory `/aux/mj/openwrt-trunk/build_dir/target-mips_uClibc-0.9.30.1/busybox-1.15.3'
make[3]: *** [/aux/mj/openwrt-trunk/build_dir/target-mips_uClibc-0.9.30.1/busybox-1.15.3/.built] Error 2
make[3]: Leaving directory `/aux/mj/openwrt-trunk/package/busybox'
make[2]: *** [package/busybox/compile] Error 2
make[2]: Leaving directory `/aux/mj/openwrt-trunk'
make[1]: *** [/aux/mj/openwrt-trunk/staging_dir/target-mips_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/aux/mj/openwrt-trunk'
make: *** [world] Error 2

It seems that some applications have large file support turned on even if uclibc doesn't.

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to accepted

comment:2 follow-up: Changed 8 years ago by Adrian Byszuk <adebex@…>

I can confirm that similar error happens when trying to build openWRT on brcm47xx platform (Asus WL500gPv2).

make[4]: Entering directory `/home/adrian/Studia/inzynierka/openwrt/kexec_firmware/build_dir/target-mipsel_uClibc-0.9.30.1/busybox-1.16.1'
  CC      applets/applets.o
In file included from /home/adrian/Studia/inzynierka/openwrt/kexec_firmware/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/assert.h:32,
                 from applets/applets.c:10:
/home/adrian/Studia/inzynierka/openwrt/kexec_firmware/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/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/adrian/Studia/inzynierka/openwrt/kexec_firmware/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3/../../../../mipsel-openwrt-linux-uclibc/sys-include/stdio.h:72,
                 from include/libbb.h:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/home/adrian/Studia/inzynierka/openwrt/kexec_firmware/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/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:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/home/adrian/Studia/inzynierka/openwrt/kexec_firmware/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/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:23,
                 from include/busybox.h:10,
                 from applets/applets.c:11:
/home/adrian/Studia/inzynierka/openwrt/kexec_firmware/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/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/adrian/Studia/inzynierka/openwrt/kexec_firmware/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/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
make[4]: *** [applets_dir] Error 2
make[4]: Leaving directory `/home/adr

comment:3 in reply to: ↑ 2 Changed 8 years ago by Adrian Byszuk <adebex@…>

Replying to Adrian Byszuk <adebex@…>:

I can confirm that similar error happens when trying to build openWRT on brcm47xx platform (Asus WL500gPv2).

Of course I was compiling with latest revision 21544.

comment:4 Changed 7 years ago by anonymous

i can reproduce it with 25353

comment:5 Changed 7 years ago by jow

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

We do not support builds without largefile support.

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.