Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.12.2 - microperl broken #10848

Closed
p5pRT opened this issue Nov 22, 2010 · 10 comments
Closed

5.12.2 - microperl broken #10848

p5pRT opened this issue Nov 22, 2010 · 10 comments

Comments

@p5pRT
Copy link

p5pRT commented Nov 22, 2010

Migrated from rt.perl.org#79556 (status was 'resolved')

Searchable as RT79556$

@p5pRT
Copy link
Author

p5pRT commented Nov 22, 2010

From perl@plan9.de

Created by perl@plan9.de

Seems microperl is broken in at least 5.12.2​:

  gcc -c -o uperlmain.o -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV miniperlmain.c
  miniperlmain.c​: In function ‘main’​:
  miniperlmain.c​:121​: error​: ‘PL_csighandlerp’ undeclared (first use in this function)
  miniperlmain.c​:121​: error​: (Each undeclared identifier is reported only once
  miniperlmain.c​:121​: error​: for each function it appears in.)

and a minor issue (probably missing include)

  doio.c​: In function ‘Perl_do_exec3’​:
  doio.c​:1531​: warning​: incompatible implicit declaration of built-in function ‘execl’

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl 5.12.2:

Configured by Marc Lehmann at Sun Nov 21 07:53:49 CET 2010.

Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
   
  Platform:
    osname=linux, osvers=2.6.32-5-amd64, archname=x86_64-linux
    uname='linux cerebro 2.6.32-5-amd64 #1 smp fri sep 17 21:50:19 utc 2010 x86_64 gnulinux '
    config_args='-Duselargefiles -Duse64bitint -Dusemymalloc=n -Dstatic_ext=Fcntl -Dcc=gcc -Dccflags=-ggdb -gdwarf-2 -g3 -Dcppflags=-DPERL_ARENA_SIZE=1048576 -D_GNU_SOURCE -I/opt/include -Doptimize=-O6 -funroll-loops -fno-strict-aliasing -Dcccdlflags=-fPIC -Dldflags=-L/opt/perl/lib -L/opt/lib -Dlibs=-ldl -lm -lcrypt -Dprefix=/opt/perl -Dprivlib=/opt/perl/lib/perl5 -Darchlib=/opt/perl/lib/perl5 -Dvendorprefix=/opt/perl -Dvendorlib=/opt/perl/lib/perl5 -Dvendorarch=/opt/perl/lib/perl5 -Dsiteprefix=/opt/perl -Dsitelib=/opt/perl/lib/perl5 -Dsitearch=/opt/perl/lib/perl5 -Dsitebin=/opt/perl/bin -Dman1dir=/opt/perl/man/man1 -Dman3dir=/opt/perl/man/man3 -Dsiteman1dir=/opt/perl/man/man1 -Dsiteman3dir=/opt/perl/man/man3 -Dman1ext=1 -Dman3ext=3 -Dpager=/usr/bin/less -Uafs -Uusesfio -Uusenm -Uuseshrplib -Ud_dosuid -Dusethreads=undef -Duse5005threads=undef -Duseithreads=undef -Dusemultiplicity=undef -Demail=perl-binary@plan9.de -Dcf_email=perl-binary@plan9.de -Dcf_by=Marc Lehmann -Dlocincpth=/opt/perl/include /opt/include -Dmyhostname=localhost -Dmultiarch=undef -Dbin=/opt/perl/bin -Dxxxusedevel -DxxxDEBUGGING -Dxxxuse_debugging_perl -Dxxxuse_debugmalloc -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='gcc', ccflags ='-ggdb -gdwarf-2 -g3 -fno-strict-aliasing -pipe -I/opt/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O6 -funroll-loops -fno-strict-aliasing',
    cppflags='-DPERL_ARENA_SIZE=1048576 -D_GNU_SOURCE -I/opt/include -ggdb -gdwarf-2 -g3 -fno-strict-aliasing -pipe -I/opt/include'
    ccversion='', gccversion='4.4.5 20100728 (prerelease)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    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='gcc', ldflags ='-L/opt/perl/lib -L/opt/lib -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64
    libs=-ldl -lm -lcrypt
    perllibs=-ldl -lm -lcrypt
    libc=/lib/libc-2.11.2.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.2'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O6 -funroll-loops -fno-strict-aliasing -L/opt/perl/lib -L/opt/lib -L/usr/local/lib'

Locally applied patches:
    


@INC for perl 5.12.2:
    /root/src/sex
    /opt/perl/lib/perl5
    /opt/perl/lib/perl5
    /opt/perl/lib/perl5
    .


Environment for perl 5.12.2:
    HOME=/root
    LANG (unset)
    LANGUAGE (unset)
    LC_CTYPE=en_US.UTF-8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/root/s2:/root/s:/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/root/pserv:.
    PERL5LIB=/root/src/sex
    PERL5_CPANPLUS_CONFIG=/root/.cpanplus/config
    PERLDB_OPTS=ornaments=0
    PERL_ANYEVENT_DBI_TESTS=1
    PERL_ANYEVENT_EDNS0=1
    PERL_ANYEVENT_NET_TESTS=1
    PERL_ANYEVENT_PROTOCOLS=ipv4,ipv6
    PERL_ANYEVENT_STRICT=1
    PERL_BADLANG (unset)
    PERL_UNICODE=E
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Nov 22, 2010

From @obra

On Sun, Nov 21, 2010 at 06​:54​:44PM -0800, perl@​plan9.de wrote​:

Seems microperl is broken in at least 5.12.2​:

gcc -c -o uperlmain.o -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV miniperlmain.c
miniperlmain.c​: In function ???main???​:
miniperlmain.c​:121​: error​: ???PL_csighandlerp??? undeclared (first use in this function)
miniperlmain.c​:121​: error​: (Each undeclared identifier is reported only once
miniperlmain.c​:121​: error​: for each function it appears in.)

Marc,

What's the last Perl release you know this to be working in?

Thanks,

Jesse

@p5pRT
Copy link
Author

p5pRT commented Nov 22, 2010

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Dec 1, 2010

From schmorp@schmorp.de

On Mon, Nov 22, 2010 at 09​:06​:11AM -0500, Jesse Vincent <jesse@​fsck.com> wrote​:

On Sun, Nov 21, 2010 at 06​:54​:44PM -0800, perl@​plan9.de wrote​:

Seems microperl is broken in at least 5.12.2​:

gcc -c -o uperlmain.o -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV miniperlmain.c
miniperlmain.c​: In function ???main???​:
miniperlmain.c​:121​: error​: ???PL_csighandlerp??? undeclared (first use in this function)
miniperlmain.c​:121​: error​: (Each undeclared identifier is reported only once
miniperlmain.c​:121​: error​: for each function it appears in.)

Marc,

What's the last Perl release you know this to be working in?

Hi, I just saw this by accident - you seemed to have replied only to
perl5-porters (which I am subscribed to but rarely read).

Aynyway, the latest version where microperl definitely works is 5.8.9. Let
me try with 5.10.1... builds fine, too, so that leaves 5.10.0, 5.12.x :)

--
  The choice of a Deliantra, the free code+content MORPG
  -----==- _GNU_ http​://www.deliantra.net
  ----==-- _ generation
  ---==---(_)__ __ ____ __ Marc Lehmann
  --==---/ / _ \/ // /\ \/ / schmorp@​schmorp.de
  -=====/_/_//_/\_,_/ /_/\_\

@p5pRT
Copy link
Author

p5pRT commented Dec 1, 2010

From @obra

On Wed 1.Dec'10 at 2​:57​:16 +0100, Marc Lehmann wrote​:

On Mon, Nov 22, 2010 at 09​:06​:11AM -0500, Jesse Vincent <jesse@​fsck.com> wrote​:

On Sun, Nov 21, 2010 at 06​:54​:44PM -0800, perl@​plan9.de wrote​:

Seems microperl is broken in at least 5.12.2​:

gcc -c -o uperlmain.o -DPERL_CORE -DPERL_MICRO -DSTANDARD_C -DPERL_USE_SAFE_PUTENV miniperlmain.c
miniperlmain.c​: In function ???main???​:
miniperlmain.c​:121​: error​: ???PL_csighandlerp??? undeclared (first use in this function)
miniperlmain.c​:121​: error​: (Each undeclared identifier is reported only once
miniperlmain.c​:121​: error​: for each function it appears in.)

Marc,

What's the last Perl release you know this to be working in?

Hi, I just saw this by accident - you seemed to have replied only to
perl5-porters (which I am subscribed to but rarely read).

With a ticket id in the subject, that should also end up ccing the bug
which would cause mail to you. If that didn't happen, we should look at
it.

Aynyway, the latest version where microperl definitely works is 5.8.9. Let
me try with 5.10.1... builds fine, too, so that leaves 5.10.0, 5.12.x :)

Ok. We're approaching time for 5.12.3. If someone is up for ginning up a
fix, this seems like something that would be reasonable to backport.

-Jesse

@p5pRT
Copy link
Author

p5pRT commented Dec 2, 2010

From schmorp@schmorp.de

On Wed, Dec 01, 2010 at 09​:11​:05AM -0500, Jesse Vincent <jesse@​fsck.com> wrote​:

With a ticket id in the subject, that should also end up ccing the bug
which would cause mail to you. If that didn't happen, we should look at
it.

It didn't, and it's not the first time. Seems I never receive replies sent
only to the bug address.

--
  The choice of a Deliantra, the free code+content MORPG
  -----==- _GNU_ http​://www.deliantra.net
  ----==-- _ generation
  ---==---(_)__ __ ____ __ Marc Lehmann
  --==---/ / _ \/ // /\ \/ / schmorp@​schmorp.de
  -=====/_/_//_/\_,_/ /_/\_\

@p5pRT
Copy link
Author

p5pRT commented Mar 12, 2011

From @dgl

On 22 Nov 2010, at 02​:54, perl@​plan9.de (via RT) wrote​:

Seems microperl is broken in at least 5.12.2​:
[...]

As mentioned on another p5p thread there is a patch set to fix this at​:
https://github.com/dgl/perl/tree/dgl%2Fmicroperl

@p5pRT
Copy link
Author

p5pRT commented Mar 12, 2011

From ambrus@math.bme.hu

On Mon, Nov 22, 2010 at 3​:54 AM, perl@​plan9.de
<perlbug-followup@​perl.org> wrote​:

Seems microperl is broken in at least 5.12.2​:

The README.micro file says it plain and simple​:

Do not report bugs in microperl; fix the bugs.

Ambrus

@p5pRT
Copy link
Author

p5pRT commented Apr 2, 2011

From @obra

Resolving, as microperl once again builds and appears to run. It could do
with a test suite,though.

@p5pRT
Copy link
Author

p5pRT commented Apr 2, 2011

@obra - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant