All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Martin <s.martin49@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
Date: Mon, 29 Jul 2013 13:35:41 +0200	[thread overview]
Message-ID: <CAHXCMM+4eOtm8mRH1Sf=QL72Sz6bss0fJQfvkFa3Qhch92bw-w@mail.gmail.com> (raw)
In-Reply-To: <CAAXf6LVd+SMQt_H9QTCXvS485Nc+bp8AOiUTwA4OmKijR2byZg@mail.gmail.com>

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

  reply	other threads:[~2013-07-29 11:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHXCMM+4eOtm8mRH1Sf=QL72Sz6bss0fJQfvkFa3Qhch92bw-w@mail.gmail.com' \
    --to=s.martin49@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.