-
Notifications
You must be signed in to change notification settings - Fork 597
Closed
Labels
BBCBlead Breaks CPAN - changes in blead broke a cpan module(s)Blead Breaks CPAN - changes in blead broke a cpan module(s)
Description
Description
Threaded perls stopped compiling the CPAN distro GOCCY/Compiler-Lexer-0.23.tar.gz since the commit 3683a9e,
Steps to Reproduce
(in the cpan shell): test GOCCY/Compiler-Lexer-0.23.tar.gz
The compiler error diagnostics
In file included from /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/perl.h:28,
from lib/Compiler/Lexer.xs:7:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/config.h:1051:27: error: ‘_Thread_local’ does not name a type; did you mean ‘thread_local’?
1051 | #define PERL_THREAD_LOCAL _Thread_local /**/
| ^~~~~~~~~~~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/thread.h:385:8: note: in expansion of macro ‘PERL_THREAD_LOCAL’
385 | extern PERL_THREAD_LOCAL void *PL_current_context;
| ^~~~~~~~~~~~~~~~~
In file included from /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/perl.h:5694,
from lib/Compiler/Lexer.xs:7:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/inline.h: In function ‘char* Perl_mortal_getenv(const char*)’:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/thread.h:387:35: error: ‘PL_current_context’ was not declared in this scope
387 | # define PERL_GET_CONTEXT PL_current_context
| ^~~~~~~~~~~~~~~~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/thread.h:387:35: note: in definition of macro ‘PERL_GET_CONTEXT’
387 | # define PERL_GET_CONTEXT PL_current_context
| ^~~~~~~~~~~~~~~~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/perl.h:159:32: note: in expansion of macro ‘PERL_GET_THX’
159 | # define dTHX pTHX = PERL_GET_THX
| ^~~~~~~~~~~~
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi/CORE/inline.h:3250:5: note: in expansion of macro ‘dTHX’
3250 | dTHX;
| ^~~~
error building lib/Compiler/Lexer.o from 'lib/Compiler/Lexer.c' at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/ExtUtils/CBuilder/Base.pm line 185.
Expected behavior
up to commit 65f7068 the compilation succeeded.
Perl configuration
Summary of my perl5 (revision 5 version 35 subversion 4) configuration:
Commit id: 3683a9ee5ad61f8cb5eac30e61b4936bd0445bdb
Platform:
osname=linux
osvers=5.14.0-3-amd64
archname=x86_64-linux-thread-multi
uname='linux k93msid 5.14.0-3-amd64 #1 smp debian 5.14.12-1 (2021-10-14) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Uuselongdouble -DEBUGGING=-g'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
optimize='-O2 -g'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='11.2.0'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
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-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.32.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.32'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_USE_DEVEL
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Built under linux
Compiled at Dec 31 2021 17:04:04
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/site_perl/5.35.4/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/site_perl/5.35.4
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.35.3-115-g3683a9ee5a/1e0c/lib/5.35.4
Metadata
Metadata
Assignees
Labels
BBCBlead Breaks CPAN - changes in blead broke a cpan module(s)Blead Breaks CPAN - changes in blead broke a cpan module(s)