386 compilation error: dblogpruner/worker.go:32: constant 4294967296 overflows int
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Menno Finlay-Smits |
Bug Description
The run-unit-
worker/
The suspect commits are:
Commit 13914ab Merge pull request #1611 from anastasiamac/
Commit 8ed7cb6Merge pull request #1846 from ericsnowcurrent
Commit 8591069 Merge pull request #1853 from mjs/api-
Commit d6b2414 Merge pull request #1826 from wallyworld/
Commit 89fd719 Merge pull request #1850 from axw/storageprov
Commit 6c3ce9e Merge pull request #1854 from juju/jes-cli …
Commit e94dee9 Merge pull request #1815 from waigani/
Commit 06d65e6 Merge pull request #1847 from juju/db-log …
Commit 6d7f6f2 Merge pull request #1858 from mjs/1432652-
Commit 5484f41 Merge pull request #1842 from wallyworld/
Commit 7a7a73d Merge pull request #1843 from voidspace/
Commit c95a6d6 Merge pull request #1715 from mattyw/
Changed in juju-core: | |
assignee: | Tim Penhey (thumper) → Menno Smits (menno.smits) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
This is due to #1847 - introducing the dblogpruner worker. On i386 because int is int32 4 *1024*1024*1024 actually overflows it. I'll attempt to fix it by using int(uint32( 4*1024* 1024*1024) -1) instead.