Summary: | sys-devel/gcc: 64-bit linux-3 - on an fs using ext4 driver - writing to a file returns EFBIG ("File too large") | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | hppa |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | HPPA | ||
OS: | Linux | ||
See Also: | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52408 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeroen Roovers (RETIRED)
2011-09-06 19:05:03 UTC
Where have you seen such code ? From fcntl.h, it seems O_RDWR|O_WRONLY equals to O_ACCMODE which is a mask to find the access mode. This flag set doesn´t seem valid and open should probably return -EINVAL instead. For reference, O_RDWR = 2 and O_WRONLY = 1. Apparently those bits were confusing. GCC has been patched upstream. What versions are affected? The bug has been fixed in 4.4 and up. 4.5 is HPPA stable. So can we get that patch into 4.5 and 4.6, please? looks like it's been released in gcc-4.4.7 already i've added this to 4.5.3 and 4.6.3 though (no revbump) http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.5.3/gentoo/64_all_gcc-hppa-64bit-pr52408.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.6.3/gentoo/64_all_gcc-hppa-64bit-pr52408.patch?rev=1.1 should be all set now in the tree; thanks for the report! Commit message: Push out hppa 64bit fix http://sources.gentoo.org/sys-devel/gcc/gcc-4.5.3-r2.ebuild?r1=1.12&r2=1.13 http://sources.gentoo.org/sys-devel/gcc/gcc-4.6.3.ebuild?r1=1.1&r2=1.2 (In reply to comment #9) > should be all set now in the tree; thanks for the report! Well, apart from sys-devel/kgcc64, where it matters, but I've taken care of that now. # ChangeLog for sys-devel/kgcc64 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.41 2012/05/10 04:17:44 jer Exp $ 10 May 2012; Jeroen Roovers <jer@gentoo.org> kgcc64-4.5.3.ebuild: Bump patchset for bug #382075. |