* Alpha Perl POSIX bug?
@ 1997-05-09 1:48 marbud
0 siblings, 0 replies; 3+ messages in thread
From: marbud @ 1997-05-09 1:48 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]
I recently tried the following perl program:
#!/usr/bin/perl -w
use POSIX;
print strftime("%Y%M%D",localtime);
print "\n";
This gives me:
agilis:~/src/perl.mod >./strftime.pl
Segmentation fault (core dumped)
and a 2MB core file..
Any clues? Is the POSIX strftime perl call broken under alphas?
(i did try this on a Intel box some time ago.)
--
Regards Martin
____________________________________________________________________________
Martin Budsjö RSV Dataservice Väst | Linux/m68k Atari. X X X
Tel:+46 (0)31-606497 Fax: ...605561 | Linux/Alpha. X X X
Email (work) marbud@rsv.se | Digital AXP true XX X XX
______(home)_marbud@tripnet.se__________| 64Bit-CPU/OS pleasure XX X XX
The mind is like a parachute - it only works when it's open.. XXX X XXX
Unix _IS_ user friendly - it's just selective about who its friends are !
----------------------------------------------------------------------------
Public Key fingerprint = 58 19 73 40 F3 29 18 10 25 9E E7 A4 2E 1F FD A9
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha Perl POSIX bug?
[not found] <x7911pct59.fsf@agilis.tripnet.se>
@ 1997-05-09 2:47 ` Michal Jaegermann
0 siblings, 0 replies; 3+ messages in thread
From: Michal Jaegermann @ 1997-05-09 2:47 UTC (permalink / raw)
>
> Any clues? Is the POSIX strftime perl call broken under alphas?
Looks that way. At least for Red Hat distributed binaries as I did
not recompile Perl myself. I tried on two different axp machines
(one 4.0, one 4.1) this one-liner
perl -MPOSIX -e 'print strftime("%Y%M%D",localtime), "\n"'
which is rougly the same thing as the original posted, and got nice
"Segmentation fault" both times.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Alpha Perl POSIX bug?
[not found] <michal@ellpspace.math.ualberta.ca>
@ 1997-05-09 6:41 ` Zarmfab Software Development
0 siblings, 0 replies; 3+ messages in thread
From: Zarmfab Software Development @ 1997-05-09 6:41 UTC (permalink / raw)
Hmm, at my alpha-box with perl 5.00322 recompiled against glibc-2, the
output of :
$> perl -MPOSIX -e 'print strftime("%Y%M%D",localtime), "\n"'
is
19973705/09/97
is this correct ?
--
Martin Cornelius, ZARMFAB software development, University of Bremen
phone: 49-421-218-4807 FAX: 49-421-218-3889
email: fabsoft@zarm.uni-bremen.de
paper-mail: Hochschulring / Am Fallturm, 28359 BREMEN, Germany
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-05-09 6:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <x7911pct59.fsf@agilis.tripnet.se>
1997-05-09 2:47 ` Alpha Perl POSIX bug? Michal Jaegermann
[not found] <michal@ellpspace.math.ualberta.ca>
1997-05-09 6:41 ` Zarmfab Software Development
1997-05-09 1:48 marbud
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox