All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Jan Engelhardt <jengelh@inai.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-kbuild@vger.kernel.org
Subject: Re: fixdep ought to be compiled with -D_FILE_OFFSET_BITS
Date: Thu, 29 Aug 2013 08:08:20 -0700	[thread overview]
Message-ID: <521F63E4.80809@infradead.org> (raw)
In-Reply-To: <alpine.LSU.2.10.9.1308291200240.15586@nerf07.vanv.qr>

adding linux-kbuild list...


On 08/29/13 03:04, Jan Engelhardt wrote:
> 
> Because fixdep is compiled without -D_FILE_OFFSET_BITS=64,
> a 32-bit fixdep (in a chroot build root, for example) may fail to run
> on a 64-bit host system if any file has an inode larger than 2^32,
> which can easily happen (in my case, on xfs):
> 
> 
> [ares07:~/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-obj]
> $ make silentoldconfig -C $PWD/../linux-3.10 O=$PWD V=1
> 
> make: Entering directory `/home/abuild/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-3.10'
> make -C /home/abuild/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-obj \
> KBUILD_SRC=/home/abuild/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-3.10 \
> KBUILD_EXTMOD="" -f /home/abuild/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-3.10/Makefile \
> silentoldconfig
> make -f /home/abuild/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-3.10/scripts/Makefile.build obj=scripts/basic
>   gcc -Wp,-MD,scripts/basic/.fixdep.d -Iscripts/basic -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/basic/fixdep /home/abuild/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-3.10/scripts/basic/fixdep.c  
> fixdep: error fstat'ing depfile: scripts/basic/.fixdep.d: Value too large for defined data type
> make[2]: *** [scripts/basic/fixdep] Error 2
> make[1]: *** [scripts_basic] Error 2
> make: *** [sub-make] Error 2
> make: Leaving directory `/home/abuild/rpmbuild/BUILD/kernel-pae-3.10.9~jng20/linux-3.10'
> --


-- 
~Randy

      reply	other threads:[~2013-08-29 15:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29 10:04 fixdep ought to be compiled with -D_FILE_OFFSET_BITS Jan Engelhardt
2013-08-29 15:08 ` Randy Dunlap [this message]

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=521F63E4.80809@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=jengelh@inai.de \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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.