develooper Front page | perl.perl5.porters | Postings from April 2013

Re: Blead on s390x

Thread Previous | Thread Next
From:
Niko Tyni
Date:
April 7, 2013 12:52
Subject:
Re: Blead on s390x
Message ID:
20130407125206.GA5810@madeleine.local.invalid
On Sat, Apr 06, 2013 at 08:12:41PM +0100, Nicholas Clark wrote:
> On Sat, Apr 06, 2013 at 10:21:56AM +0200, H.Merijn Brand wrote:
> > I got a hercules iso from Henri yesterday on the OpenSUSE 12.3 launch
> > party. After converting the iso to something Linux understands (OS/X
> > iso's are not recognized as iso), it just took minutes to get it up
> > and running under hercules. It is not EBCDIC, but for sure it is
> > something different.
> 
> Is anyone actually using Perl on it?
> 
> In that, we've not had any bug reports about this before, and for a lot of
> these somewhat esoteric platforms I'm sort of wondering at what point do
> they stop being "fun", and start being "work". Right now, I think it's more
> at the "fun" level, and it might be telling us something interesting about
> portability, as it might be that all these tests failing are down to the
> same problem.

This particular problem was already diagnosed as a compiler bug, but
FWIW: s390x is a Debian release architecture, and current blead passes
all the tests on a "real" s390x box with gcc 4.6.3.

There's also gcc 4.4.7 around, and that one doesn't exhibit the bug either
according to the testcases (but I didn't try to build Perl with that.)

% uname -a     
Linux zelenka 2.6.32-5-s390x #1 SMP Mon Feb 25 00:58:44 UTC 2013 s390x GNU/Linux
% gcc --version
gcc (Debian 4.6.3-15) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% ./perl -Ilib -V
Summary of my perl5 (revision 5 version 17 subversion 11) configuration:
  Commit id: 657d1e609c0896b75625a0275d2b5c978675cb04
  Platform:
    osname=linux, osvers=2.6.32-5-s390x, archname=s390x-linux
    uname='linux zelenka 2.6.32-5-s390x #1 smp mon feb 25 00:58:44 utc 2013 s390x gnulinux '
    config_args='-Dprefix=/perl -Duse64bitint -Dusedevel -des'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.6.3', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib/s390x-linux-gnu /lib/../lib /usr/lib/s390x-linux-gnu /usr/lib/../lib /lib /usr/lib
    libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV PERL_SAWAMPERSAND
                        PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT
                        USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
                        USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
                        USE_PERL_ATOF
  Built under linux
  Compiled at Apr  7 2013 12:23:02
  @INC:
    lib
    /perl/lib/site_perl/5.17.11/s390x-linux
    /perl/lib/site_perl/5.17.11
    /perl/lib/5.17.11/s390x-linux
    /perl/lib/5.17.11
    .

-- 
Niko Tyni   ntyni@debian.org

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About