I don't observe the problem with version 2010m on 64-bit RHEL with my GCC 4.5.1 installation. After running the following commands:
wget ftp://elsie.nci.nih.gov/pub/tzcode2010m.tar.gz wget ftp://elsie.nci.nih.gov/pub/tzdata2010m.tar.gz tar xf tzcode2010m.tar.gz tar xf tzdata2010m.tar.gz make TOPDIR=`pwd`/topdir ALL install TZ=`pwd`/topdir/etc/zoneinfo/America/Los_Angeles valgrind ./date
the output of the valgrind session is:
==723== Memcheck, a memory error detector ==723== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==723== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==723== Command: ./date ==723== Mon Sep 27 09:57:23 PDT 2010 ==723== ==723== HEAP SUMMARY: ==723== in use at exit: 0 bytes in 0 blocks ==723== total heap usage: 1 allocs, 1 frees, 1,024 bytes allocated ==723== ==723== All heap blocks were freed -- no leaks are possible ==723== ==723== For counts of detected and suppressed errors, rerun with: -v ==723== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 4 from 4)
It does not happen for all the timezones. It is happening only for a subset. One timezone for which I'm able to reproduce it consistently is "EST5EDT". Basically, if I do tzload for "EST5EDT" timezone on 64-bit systems using tzcode2010l and tzdata2010l, then valgrind reports this error. Thanks, Ravindra