CC: | "Markus Jansen" <markus.jansen [...] ericsson.com> |
Subject: | Time::y2038-20100218-25 does not compile on Solaris with Sun C compiler |
Date: | Thu, 4 Mar 2010 12:31:51 +0100 |
To: | <bug-Time-y2038 [...] rt.cpan.org> |
From: | "Markus Jansen" <markus.jansen [...] ericsson.com> |
Hi Michael and others,
starting with Time::y2038-20100218 (also checked Time::y2038-20100225), Time::y2038
does not compile on Solaris using the Sun C compiler (versions 5.9 and 5.10).
Perl / Solaris versions tested (all failed):
Perl 5.8.8 on Solaris 5.8 sparc
Perl 5.10.1 on Solaris 10 sparc + i386
Output from Build is:
Probing time.h capabilities.
You may see some C errors, that's ok.
Building Time-y2038
"try.c", line 9: undefined struct/union member: tm_gmtoff
cc: acomp failed for try.c
"try.c", line 8: warning: implicit function declaration: timegm
Undefined first referenced
symbol in file
timegm try.o
ld: fatal: Symbol referencing errors. No output written to try
"try.c", line 9: undefined struct/union member: tm_zone
"try.c", line 9: warning: improper pointer/integer combination: op "="
cc: acomp failed for try.c
cc -Iy2038 -Iy2038 -I/vobs/cc/CCA-perl01/perl5_SunOS_i386_________sixtyfive_char_path/prod/lib/5.10.1/i86pc-solaris-thread-multi-64int/CORE -KPIC -c -D_REENTRANT -mt -I/vobs/cc/CCA-perl01/perl5_SunOS_i386_________sixtyfive_char_path/plib/include -DPERL_IMPLICIT_CONTEXT -DPERL_USE_SAFE_PUTENV -Xa -xtransition -xstrconst -mr -Qn -v -erroff=E_UNRECOGNIZED_PRAGMA_IGNORED,E_STATEMENT_NOT_REACHED,E_SLASH_STAR_IN_CMNT -I/vobs/cc/CCA-perl01/perl5_SunOS_i386_________sixtyfive_char_path/plib/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -xO4 -fns -fsingle -fsimple=2 -ftrap=%none -xtarget=generic -xbuiltin=%all -xdepend -xlibmil -xlibmopt -xunroll=3 -xalias_level=basic -o y2038/time64.o y2038/time64.c
"y2038/time64.c", line 69: too many struct/union initializers
"y2038/time64.c", line 91: too many struct/union initializers
"y2038/time64.c", line 777: warning: constant promoted according to the 1999 ISO C standard
"y2038/time64.c", line 777: warning: ANSI C treats constant as unsigned: op ">="
cc: acomp failed for y2038/time64.c
Best regards,
Markus Jansen
Markus Jansen
Master Methods & Tools Engineer, PM & IT
Ericsson GmbH
Eurolab R&D
Ericsson Allee 1
52134 Herzogenrath, Germany
www.ericsson.com Office: +49 2407 575 5157
Fax: +49 2407 575 98452
Mobile: +49 172 274 2003
Email: Markus.Jansen@ericsson.com
Ericsson GmbH. Sitz: Düsseldorf. Registergericht: Amtsgericht Düsseldorf, HRB 33012. Geschäftsführer: Carsten Ahrens. Aufsichtsratsvorsitzender: Anders Olin
This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.
E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only send and receive emails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.