Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11947 - tzdata: zdump infinite loop

Attached to Project: Arch Linux
Opened by Jonathan Frazier (wide-eye) - Friday, 31 October 2008, 07:57 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 19 November 2008, 20:55 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
"zdump -v /etc/localtime" gets stuck in an infinite loop, repeating the timezone data. it should print out the list of dates just once.

if tzdata is built with -O1 instead of -O2 (CFLAGS="-march=i686 -O1 -pipe"), or with "unset CFLAGS" in its PKGBIULD, zdump works as expected.

Versions:

error occurred with core/tzdata 2008f-1 and abs built: _tzcode=2008h _tzdata=2008i
(source of tzdata 2008h is unavailable)
gcc 4.3.2-1
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 19 November 2008, 20:55 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Friday, 31 October 2008, 09:18 GMT
zdump.c: In function ‘main’:
zdump.c:429: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false
zdump.c:357: warning: assuming signed overflow does not occur when assuming that (X + c) <= X is always false
Comment by Andreas Radke (AndyRTR) - Tuesday, 04 November 2008, 13:09 GMT
http://www.twinsun.com/tz/tz-link.htm - please report this to the time zone mailing list. I'm subscribed to that list. Let's see what they say. I'll apply any needed change to the next release.
Comment by Andreas Radke (AndyRTR) - Wednesday, 19 November 2008, 20:55 GMT
Bugreport sent. For me only i686 is affected. I fixed it in 2008i-1 switching both arches to -O1.

Loading...