Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix Python large file file support on 32-bit systems
@ 2014-10-14  9:20 Paul Eggleton
  2014-10-14  9:20 ` [PATCH 1/1] python: force off_t size to 8 to enable large file support Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2014-10-14  9:20 UTC (permalink / raw)
  To: openembedded-core

The following change since commit fcbd1b19383daf5e160a864df1418130da01be28:

  build-appliance-image: Update to dizzy head revision (2014-10-11 08:11:11 +0100)

is available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/python-largefile
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/python-largefile

Paul Eggleton (1):
  python: force off_t size to 8 to enable large file support

 meta/recipes-devtools/python/python_2.7.3.bb | 3 +++
 1 file changed, 3 insertions(+)

-- 
1.9.3



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

* [PATCH 1/1] python: force off_t size to 8 to enable large file support
  2014-10-14  9:20 [PATCH 0/1] Fix Python large file file support on 32-bit systems Paul Eggleton
@ 2014-10-14  9:20 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2014-10-14  9:20 UTC (permalink / raw)
  To: openembedded-core

If DISTRO_FEATURES contains "largefile", force the size of off_t to 8 as
a workaround for having ac_cv_sizeof_off_t=4 on 32-bit systems. In
future we will likely drop the value from the site file, but for now
this is a slightly safer fix.

Fixes [YOCTO #6813].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/python/python_2.7.3.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index d93bc64..cc92ebc 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -49,6 +49,9 @@ inherit autotools multilib_header python-dir pythonnative
 TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__"
 TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
 
+# The following is a hack until we drop ac_cv_sizeof_off_t from site files
+EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
+
 do_configure_prepend() {
 	rm -f ${S}/Makefile.orig
 	autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
-- 
1.9.3



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

end of thread, other threads:[~2014-10-14  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-14  9:20 [PATCH 0/1] Fix Python large file file support on 32-bit systems Paul Eggleton
2014-10-14  9:20 ` [PATCH 1/1] python: force off_t size to 8 to enable large file support Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox