Skip Menu |

This queue is for tickets about the Coro CPAN distribution.

Report information
The Basics
Id: 123042
Status: open
Priority: 0/
Queue: Coro

People
Owner: Nobody in particular
Requestors: Vipul.Patel [...] Sophos.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: compilation of Perl-5.26.0 failed
Date: Thu, 14 Sep 2017 09:47:31 +0000
To: "bug-Coro [...] rt.cpan.org" <bug-Coro [...] rt.cpan.org>
From: Vipul Patel <Vipul.Patel [...] Sophos.com>
Hi, I got following error when I compile perl-5.26.0 with -DDL_UNLOAD_ALL_AT_EXIT. LD_LIBRARY_PATH=/home/vipul/dload/Perl/perl-bug/perl-5.26.0 ./miniperl -Ilib -MExtUtils::Miniperl -e 'writemain(\"perlmain.c", @ARGV)' DynaLoader cc -c -DPERL_CORE -DDL_UNLOAD_ALL_AT_EXIT -DAPPLLIB_EXP="/lib32/perl/site_perl/5.26.0:/lib32/perl/5.26.0" -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -fPIC perlmain.c cc -c -DPERL_CORE -DDL_UNLOAD_ALL_AT_EXIT -DAPPLLIB_EXP="/lib32/perl/site_perl/5.26.0:/lib32/perl/5.26.0" -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -fPIC op.c cc -c -DPERL_CORE -DDL_UNLOAD_ALL_AT_EXIT -DAPPLLIB_EXP="/lib32/perl/site_perl/5.26.0:/lib32/perl/5.26.0" -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -fPIC perl.c LD_LIBRARY_PATH=/home/vipul/dload/Perl/perl-bug/perl-5.26.0 ./miniperl -Ilib make_ext.pl DynaLoader.o MAKE="make" LIBPERL_A=libperl.so LINKTYPE=static Generating a Unix-style Makefile Writing Makefile for DynaLoader make[1]: Entering directory `/home/vipul/dload/Perl/perl-bug/perl-5.26.0/ext/DynaLoader' "../../miniperl" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm rm -f DynaLoader.xs cp dl_dlopen.xs DynaLoader.xs "../../miniperl" "-I../../lib" "../../lib/ExtUtils/xsubpp" -noprototypes -typemap '/home/vipul/dload/Perl/perl-bug/perl-5.26.0/ext/DynaLoader/../../lib/ExtUtils/typemap' DynaLoader.xs > DynaLoader.xsc mv DynaLoader.xsc DynaLoader.c cc -c -DDL_UNLOAD_ALL_AT_EXIT -DAPPLLIB_EXP="/lib32/perl/site_perl/5.26.0:/lib32/perl/5.26.0" -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC "-I../.." -DLIBC="libc-2.19.so" DynaLoader.c In file included from DynaLoader.xs:124:0: dlutils.c: In function ‘dl_unload_all_files’: ../../pp.h:54:12: error: ‘sp’ undeclared (first use in this function) #define SP sp ^ ../../perl.h:3684:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val) ^ ../../perl.h:3689:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ ../../pp.h:341:30: note: in expansion of macro ‘UNLIKELY’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ ../../pp.h:341:39: note: in expansion of macro ‘_EXTEND_NEEDS_GROW’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ dlutils.c:83:9: note: in expansion of macro ‘EXTEND’ EXTEND(SP,1); ^ dlutils.c:83:16: note: in expansion of macro ‘SP’ EXTEND(SP,1); ^ ../../pp.h:54:12: note: each undeclared identifier is reported only once for each function it appears in #define SP sp ^ ../../perl.h:3684:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val) ^ ../../perl.h:3689:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ ../../pp.h:341:30: note: in expansion of macro ‘UNLIKELY’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ ../../pp.h:341:39: note: in expansion of macro ‘_EXTEND_NEEDS_GROW’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ dlutils.c:83:9: note: in expansion of macro ‘EXTEND’ EXTEND(SP,1); ^ dlutils.c:83:16: note: in expansion of macro ‘SP’ EXTEND(SP,1); ^ In file included from DynaLoader.xs:147:0: dlutils.c:75:33: warning: unused parameter ‘unused’ [-Wunused-parameter] dl_unload_all_files(pTHX_ void *unused) ^ make[1]: *** [DynaLoader.o] Error 1 make[1]: Leaving directory `/home/vipul/dload/Perl/perl-bug/perl-5.26.0/ext/DynaLoader' make[1]: Entering directory `/home/vipul/dload/Perl/perl-bug/perl-5.26.0/ext/DynaLoader' cc -c -DDL_UNLOAD_ALL_AT_EXIT -DAPPLLIB_EXP="/lib32/perl/site_perl/5.26.0:/lib32/perl/5.26.0" -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2 -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC "-I../.." -DLIBC="libc-2.19.so" DynaLoader.c In file included from DynaLoader.xs:124:0: dlutils.c: In function ‘dl_unload_all_files’: ../../pp.h:54:12: error: ‘sp’ undeclared (first use in this function) #define SP sp ^ ../../perl.h:3684:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val) ^ ../../perl.h:3689:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ ../../pp.h:341:30: note: in expansion of macro ‘UNLIKELY’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ ../../pp.h:341:39: note: in expansion of macro ‘_EXTEND_NEEDS_GROW’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ dlutils.c:83:9: note: in expansion of macro ‘EXTEND’ EXTEND(SP,1); ^ dlutils.c:83:16: note: in expansion of macro ‘SP’ EXTEND(SP,1); ^ ../../pp.h:54:12: note: each undeclared identifier is reported only once for each function it appears in #define SP sp ^ ../../perl.h:3684:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val) ^ ../../perl.h:3689:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ ../../pp.h:341:30: note: in expansion of macro ‘UNLIKELY’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ ../../pp.h:341:39: note: in expansion of macro ‘_EXTEND_NEEDS_GROW’ if (UNLIKELY(_EXTEND_NEEDS_GROW(p,n))) { \ ^ dlutils.c:83:9: note: in expansion of macro ‘EXTEND’ EXTEND(SP,1); ^ dlutils.c:83:16: note: in expansion of macro ‘SP’ EXTEND(SP,1); ^ In file included from DynaLoader.xs:147:0: dlutils.c:75:33: warning: unused parameter ‘unused’ [-Wunused-parameter] dl_unload_all_files(pTHX_ void *unused) ^ make[1]: *** [DynaLoader.o] Error 1 make[1]: Leaving directory `/home/vipul/dload/Perl/perl-bug/perl-5.26.0/ext/DynaLoader' Unsuccessful make(ext/DynaLoader): code=512 at make_ext.pl line 570. make: *** [DynaLoader.o] Error 25 Regards, Vipul Patel.

Message body is not shown because it is too large.

From: alexchandel [...] gmail.com
On Thu Sep 14 05:53:02 2017, Vipul.Patel@Sophos.com wrote: Show quoted text
> Hi, > > > I got following error when I compile perl-5.26.0 with > -DDL_UNLOAD_ALL_AT_EXIT.
Try perl 5.26.1.1. I was able to successfully install Coro from CPAN with 32bit strawberry perl 5.26.1.1, and on macOS with perl 5.26.1. I installed EV, AnyEvent, and Coro, in that order.