All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support
Date: Sun, 28 Jul 2013 12:25:28 +0200	[thread overview]
Message-ID: <CAAXf6LWPA6C9EUpyqjZnjz2mtECRzoKLtwsGJrde7PHdUCUW8g@mail.gmail.com> (raw)

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>

             reply	other threads:[~2013-07-28 10:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-28 10:25 Thomas De Schampheleire [this message]
2013-07-29 11:08 ` [Buildroot] buildroot internal arm toolchain: gcc-final fails with supposedly large-file support 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

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=CAAXf6LWPA6C9EUpyqjZnjz2mtECRzoKLtwsGJrde7PHdUCUW8g@mail.gmail.com \
    --to=patrickdepinguin+buildroot@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.