All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
@ 2013-07-28 10:25 Thomas De Schampheleire
  2013-07-29 11:08 ` Thomas De Schampheleire
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas De Schampheleire @ 2013-07-28 10:25 UTC (permalink / raw)
  To: buildroot

Hi,

I tried building a simple arm toolchain with buildroot, and bumped on
a build error on gcc-final:

/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/xgcc
-B/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/
-B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/bin/
-B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/lib/
-isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/include
-isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sys-include
   -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
-I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
-I../../../libgcc/../gcc -I../../../libgcc/../include   -g0
-finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protector  -I. -I. -I../.././gcc -I../../../libgcc
-I../../../libgcc/. -I../../../libgcc/../gcc
-I../../../libgcc/../include  -o crtbeginS.o -MT crtbeginS.o -MD -MP
-MF crtbeginS.dep  -fPIC -c ../../../libgcc/crtstuff.c -DCRT_BEGIN
-DCRTSTUFFS_O
In file included from
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
                 from ../../../libgcc/../gcc/tsystem.h:88,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
                 from ../../../libgcc/../gcc/tsystem.h:88,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
error: #error Sorry... uClibc was built without large file support!
In file included from
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
                 from ../../../libgcc/../gcc/tsystem.h:88,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
                 from ../../../libgcc/../gcc/tsystem.h:88,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
error: #error Sorry... uClibc was built without large file support!
In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
error: unknown type name ?__STDIO_fpos64_t?
In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
error: unknown type name ?__STDIO_fpos64_t?
/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/xgcc
-B/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/
-B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/bin/
-B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/lib/
-isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/include
-isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sys-include
   -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
-I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
-I../../../libgcc/../gcc -I../../../libgcc/../include   -g0
-finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protector  -I. -I. -I../.././gcc -I../../../libgcc
-I../../../libgcc/. -I../../../libgcc/../gcc
-I../../../libgcc/../include  -o crtbeginT.o -MT crtbeginT.o -MD -MP
-MF crtbeginT.dep  -c ../../../libgcc/crtstuff.c -DCRT_BEGIN
-DCRTSTUFFT_O
In file included from
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
                 from ../../../libgcc/../gcc/tsystem.h:88,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
                 from ../../../libgcc/../gcc/tsystem.h:88,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
error: #error Sorry... uClibc was built without large file support!
In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
                 from ../../../libgcc/crtstuff.c:62:
/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
error: unknown type name ?__STDIO_fpos64_t?
make[3]: *** [crtbegin.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [crtbeginS.o] Error 1
make[3]: *** [crtbeginT.o] Error 1
make[3]: Leaving directory
`/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/arm-buildroot-linux-uclibcgnueabi/libgcc'
make[2]: *** [all-target-libgcc] Error 2
make[2]: Leaving directory
`/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build'
make: *** [/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/.stamp_built]
Error 2


The .config file is in attachment.
Largefile support is not enabled, yet for some reason gcc thinks it
is. I haven't been able to look into detail why this is so.

Best regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 37725 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130728/08542920/attachment-0001.obj>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
  2013-07-28 10:25 [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support Thomas De Schampheleire
@ 2013-07-29 11:08 ` Thomas De Schampheleire
  2013-07-29 11:35   ` Samuel Martin
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas De Schampheleire @ 2013-07-29 11:08 UTC (permalink / raw)
  To: buildroot

On Sun, Jul 28, 2013 at 12:25 PM, Thomas De Schampheleire
<patrickdepinguin+buildroot@gmail.com> wrote:
> Hi,
>
> I tried building a simple arm toolchain with buildroot, and bumped on
> a build error on gcc-final:
>
> /home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/xgcc
> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/
> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/bin/
> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/lib/
> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/include
> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sys-include
>    -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
> -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
> -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
> -I../../../libgcc/../gcc -I../../../libgcc/../include   -g0
> -finhibit-size-directive -fno-inline -fno-exceptions
> -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
> -fno-stack-protector  -I. -I. -I../.././gcc -I../../../libgcc
> -I../../../libgcc/. -I../../../libgcc/../gcc
> -I../../../libgcc/../include  -o crtbeginS.o -MT crtbeginS.o -MD -MP
> -MF crtbeginS.dep  -fPIC -c ../../../libgcc/crtstuff.c -DCRT_BEGIN
> -DCRTSTUFFS_O
> In file included from
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
>                  from ../../../libgcc/../gcc/tsystem.h:88,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
> 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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
>                  from ../../../libgcc/../gcc/tsystem.h:88,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
> error: #error Sorry... uClibc was built without large file support!
> In file included from
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
>                  from ../../../libgcc/../gcc/tsystem.h:88,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
> 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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
>                  from ../../../libgcc/../gcc/tsystem.h:88,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
> error: #error Sorry... uClibc was built without large file support!
> In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
> error: unknown type name ?__STDIO_fpos64_t?
> In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
> error: unknown type name ?__STDIO_fpos64_t?
> /home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/xgcc
> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/
> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/bin/
> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/lib/
> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/include
> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sys-include
>    -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
> -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
> -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
> -I../../../libgcc/../gcc -I../../../libgcc/../include   -g0
> -finhibit-size-directive -fno-inline -fno-exceptions
> -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
> -fno-stack-protector  -I. -I. -I../.././gcc -I../../../libgcc
> -I../../../libgcc/. -I../../../libgcc/../gcc
> -I../../../libgcc/../include  -o crtbeginT.o -MT crtbeginT.o -MD -MP
> -MF crtbeginT.dep  -c ../../../libgcc/crtstuff.c -DCRT_BEGIN
> -DCRTSTUFFT_O
> In file included from
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
>                  from ../../../libgcc/../gcc/tsystem.h:88,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
> 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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
>                  from ../../../libgcc/../gcc/tsystem.h:88,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
> error: #error Sorry... uClibc was built without large file support!
> In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
>                  from ../../../libgcc/crtstuff.c:62:
> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
> error: unknown type name ?__STDIO_fpos64_t?
> make[3]: *** [crtbegin.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: *** [crtbeginS.o] Error 1
> make[3]: *** [crtbeginT.o] Error 1
> make[3]: Leaving directory
> `/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/arm-buildroot-linux-uclibcgnueabi/libgcc'
> make[2]: *** [all-target-libgcc] Error 2
> make[2]: Leaving directory
> `/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build'
> make: *** [/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/.stamp_built]
> Error 2
>
>
> The .config file is in attachment.
> Largefile support is not enabled, yet for some reason gcc thinks it
> is. I haven't been able to look into detail why this is so.

For the record: just had the same type of problem with powerpc as well...

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
  2013-07-29 11:08 ` Thomas De Schampheleire
@ 2013-07-29 11:35   ` Samuel Martin
  2013-07-29 11:39     ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Samuel Martin @ 2013-07-29 11:35 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

2013/7/29 Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>:
> On Sun, Jul 28, 2013 at 12:25 PM, Thomas De Schampheleire
> <patrickdepinguin+buildroot@gmail.com> wrote:
>> Hi,
>>
>> I tried building a simple arm toolchain with buildroot, and bumped on
>> a build error on gcc-final:
>>
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/xgcc
>> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/
>> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/bin/
>> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/lib/
>> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/include
>> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sys-include
>>    -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
>> -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
>> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
>> -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
>> -I../../../libgcc/../gcc -I../../../libgcc/../include   -g0
>> -finhibit-size-directive -fno-inline -fno-exceptions
>> -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
>> -fno-stack-protector  -I. -I. -I../.././gcc -I../../../libgcc
>> -I../../../libgcc/. -I../../../libgcc/../gcc
>> -I../../../libgcc/../include  -o crtbeginS.o -MT crtbeginS.o -MD -MP
>> -MF crtbeginS.dep  -fPIC -c ../../../libgcc/crtstuff.c -DCRT_BEGIN
>> -DCRTSTUFFS_O
>> In file included from
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
>>                  from ../../../libgcc/../gcc/tsystem.h:88,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
>> 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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
>>                  from ../../../libgcc/../gcc/tsystem.h:88,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
>> error: #error Sorry... uClibc was built without large file support!
>> In file included from
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
>>                  from ../../../libgcc/../gcc/tsystem.h:88,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
>> 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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
>>                  from ../../../libgcc/../gcc/tsystem.h:88,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
>> error: #error Sorry... uClibc was built without large file support!
>> In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
>> error: unknown type name ?__STDIO_fpos64_t?
>> In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
>> error: unknown type name ?__STDIO_fpos64_t?
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/xgcc
>> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/./gcc/
>> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/bin/
>> -B/home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/lib/
>> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/include
>> -isystem /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sys-include
>>    -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
>> -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
>> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I.
>> -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/.
>> -I../../../libgcc/../gcc -I../../../libgcc/../include   -g0
>> -finhibit-size-directive -fno-inline -fno-exceptions
>> -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
>> -fno-stack-protector  -I. -I. -I../.././gcc -I../../../libgcc
>> -I../../../libgcc/. -I../../../libgcc/../gcc
>> -I../../../libgcc/../include  -o crtbeginT.o -MT crtbeginT.o -MD -MP
>> -MF crtbeginT.dep  -c ../../../libgcc/crtstuff.c -DCRT_BEGIN
>> -DCRTSTUFFT_O
>> In file included from
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:28:0,
>>                  from ../../../libgcc/../gcc/tsystem.h:88,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
>> 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/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:72:0,
>>                  from ../../../libgcc/../gcc/tsystem.h:88,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/bits/uClibc_stdio.h:61:2:
>> error: #error Sorry... uClibc was built without large file support!
>> In file included from ../../../libgcc/../gcc/tsystem.h:88:0,
>>                  from ../../../libgcc/crtstuff.c:62:
>> /home/tdescham/repo/contrib/buildroot-outgoing/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/stdio.h:83:1:
>> error: unknown type name ?__STDIO_fpos64_t?
>> make[3]: *** [crtbegin.o] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> make[3]: *** [crtbeginS.o] Error 1
>> make[3]: *** [crtbeginT.o] Error 1
>> make[3]: Leaving directory
>> `/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build/arm-buildroot-linux-uclibcgnueabi/libgcc'
>> make[2]: *** [all-target-libgcc] Error 2
>> make[2]: Leaving directory
>> `/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory
>> `/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/build'
>> make: *** [/home/tdescham/repo/contrib/buildroot-outgoing/output/build/host-gcc-final-4.7.3/.stamp_built]
>> Error 2
>>
>>
>> The .config file is in attachment.
>> Largefile support is not enabled, yet for some reason gcc thinks it
>> is. I haven't been able to look into detail why this is so.
>
> For the record: just had the same type of problem with powerpc as well...

Yesterday, I gave a run using your config and it worked fine here.

Regards,


-- 
Samuel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
  2013-07-29 11:35   ` Samuel Martin
@ 2013-07-29 11:39     ` Thomas Petazzoni
  2013-07-29 12:06       ` Thomas De Schampheleire
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2013-07-29 11:39 UTC (permalink / raw)
  To: buildroot

Dear Samuel Martin,

On Mon, 29 Jul 2013 13:35:41 +0200, Samuel Martin wrote:

> >> The .config file is in attachment.
> >> Largefile support is not enabled, yet for some reason gcc thinks it
> >> is. I haven't been able to look into detail why this is so.
> >
> > For the record: just had the same type of problem with powerpc as well...
> 
> Yesterday, I gave a run using your config and it worked fine here.

I just built the following defconfig, and it build fine here:

BR2_arm=y

That said, I remember we had reports of similar problems some time ago,
but I don't remember enough informations to find related e-mails on the
list.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
  2013-07-29 11:39     ` Thomas Petazzoni
@ 2013-07-29 12:06       ` Thomas De Schampheleire
  2013-08-12 16:22         ` Arnout Vandecappelle
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas De Schampheleire @ 2013-07-29 12:06 UTC (permalink / raw)
  To: buildroot

On Mon, Jul 29, 2013 at 1:39 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Samuel Martin,
>
> On Mon, 29 Jul 2013 13:35:41 +0200, Samuel Martin wrote:
>
>> >> The .config file is in attachment.
>> >> Largefile support is not enabled, yet for some reason gcc thinks it
>> >> is. I haven't been able to look into detail why this is so.
>> >
>> > For the record: just had the same type of problem with powerpc as well...
>>
>> Yesterday, I gave a run using your config and it worked fine here.
>
> I just built the following defconfig, and it build fine here:
>
> BR2_arm=y
>
> That said, I remember we had reports of similar problems some time ago,
> but I don't remember enough informations to find related e-mails on the
> list.

So maybe it is build-machine related? Or depending on if some host
package is installed or not?
Would it help if I send a build log?
If I have time, I can try to look into it myself, but not right now...

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
  2013-07-29 12:06       ` Thomas De Schampheleire
@ 2013-08-12 16:22         ` Arnout Vandecappelle
  2013-08-12 19:24           ` Thomas De Schampheleire
  2013-08-13  7:05           ` Thomas Petazzoni
  0 siblings, 2 replies; 8+ messages in thread
From: Arnout Vandecappelle @ 2013-08-12 16:22 UTC (permalink / raw)
  To: buildroot

On 29/07/13 14:06, Thomas De Schampheleire wrote:
> So maybe it is build-machine related? Or depending on if some host
> package is installed or not?
> Would it help if I send a build log?
> If I have time, I can try to look into it myself, but not right now...

  I you could just start a clean build of this .config in a different O= 
directory, we can see if it is build machine related or not... What kind 
of build machine do you have?

  Regards,
  Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
  2013-08-12 16:22         ` Arnout Vandecappelle
@ 2013-08-12 19:24           ` Thomas De Schampheleire
  2013-08-13  7:05           ` Thomas Petazzoni
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas De Schampheleire @ 2013-08-12 19:24 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

Op 12-aug.-2013 20:45 schreef "Arnout Vandecappelle" <arnout@mind.be> het
volgende:
>
> On 29/07/13 14:06, Thomas De Schampheleire wrote:
>>
>> So maybe it is build-machine related? Or depending on if some host
>> package is installed or not?
>> Would it help if I send a build log?
>> If I have time, I can try to look into it myself, but not right now...
>
>
>  I you could just start a clean build of this .config in a different O=
directory, we can see if it is build machine related or not... What kind of
build machine do you have?

Meanwhile, Francois Perrad also noticed this issue and submitted a patch
for it, which has been applied. Problem fixed...
(Don't have the commit id at hand, sorry)

Best regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130812/86e49f13/attachment.html>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
  2013-08-12 16:22         ` Arnout Vandecappelle
  2013-08-12 19:24           ` Thomas De Schampheleire
@ 2013-08-13  7:05           ` Thomas Petazzoni
  1 sibling, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2013-08-13  7:05 UTC (permalink / raw)
  To: buildroot

Dear Arnout Vandecappelle,

On Mon, 12 Aug 2013 18:22:31 +0200, Arnout Vandecappelle wrote:
> On 29/07/13 14:06, Thomas De Schampheleire wrote:
> > So maybe it is build-machine related? Or depending on if some host
> > package is installed or not?
> > Would it help if I send a build log?
> > If I have time, I can try to look into it myself, but not right now...
> 
>   I you could just start a clean build of this .config in a different O= 
> directory, we can see if it is build machine related or not... What kind 
> of build machine do you have?

I *think* that the problem only happens on a 32 bits build machine.

As Thomas noticed the problem has already been fixed by
7fc685c9e0c9479365ca44158c1e928e57e391a4 in the master branch.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-13  7:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-28 10:25 [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support Thomas De Schampheleire
2013-07-29 11:08 ` Thomas De Schampheleire
2013-07-29 11:35   ` Samuel Martin
2013-07-29 11:39     ` Thomas Petazzoni
2013-07-29 12:06       ` Thomas De Schampheleire
2013-08-12 16:22         ` Arnout Vandecappelle
2013-08-12 19:24           ` Thomas De Schampheleire
2013-08-13  7:05           ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.