Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548962 - >sys-devel/autoconf-2.13 incorrectly handles detection of 32 bit off_t
Summary: >sys-devel/autoconf-2.13 incorrectly handles detection of 32 bit off_t
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://bugs.debian.org/cgi-bin/bugre...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-09 06:34 UTC by NP-Hardass
Modified: 2015-05-21 08:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
autoconf-all-32bit_off_t_fix.patch (file_548962.txt,1.11 KB, text/plain)
2015-05-09 06:34 UTC, NP-Hardass
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NP-Hardass gentoo-dev 2015-05-09 06:34:14 UTC
Created attachment 402876 [details]
autoconf-all-32bit_off_t_fix.patch

This is an upstream issue.  I'm unaware if upstream is aware of the issue.  All versions in tree including 9999 but excluding 2.13 are affected.

To detect the size of off_t, autoconf does a bitshift of 62 when dealing with both 64bit and 32 bit code.  This is handled appropriately by shifting by 31 twice.  The attached patch is from Debian.
Comment 1 SpanKY gentoo-dev 2015-05-10 16:40:26 UTC
it does not look like Debian notified upstream.  this really should be sent there first.

also worth noting: any package using 32bit off_t in Gentoo is broken and needs to be fixed in which case this report is mostly moot :).  see bug 471102 for details.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-05-21 08:00:44 UTC
Just to do it formally have you sent this / notified upstream? Otehr potential viewers will also know.