Hello,
Lately I have been unable to compile DBI under debian/trixie. I found
out when upgrading Perl with perlbrew from 5.36.0 to 5.38.2 and
5.40.0, but I can't compile DBI for 5.36.0 where I have a previous
version of the package installed and running. My guess is that the
problem is related to an upgrade to the c compiler. I attach the
output fo the commands
perl Makefile.PL
make
perl -V
Best regards,
Luis
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Av. Universidad s/n CP 62210 | (*)/\/ \
Cuernavaca, Morelos, México | [email protected] /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
*** Your LANG environment variable is set to 'en_US.UTF-8'
*** This may cause problems for some perl installations.
*** If you get test failures, please try again with LANG unset.
*** If that then works, please email [email protected] with details
*** including the output of 'perl -V'
Your perl was compiled with gcc (version 11.3.0), okay.
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
t/zvg_02dbidrv.t
t/zvg_03handle.t
t/zvg_04mods.t
t/zvg_05concathash.t
t/zvg_06attrs.t
t/zvg_07kids.t
t/zvg_08keeperr.t
t/zvg_09trace.t
t/zvg_10examp.t
t/zvg_11fetch.t
t/zvg_12quote.t
t/zvg_13taint.t
t/zvg_14utf8.t
t/zvg_15array.t
t/zvg_16destroy.t
t/zvg_17handle_error.t
t/zvg_19fhtrace.t
t/zvg_20meta.t
t/zvg_30subclass.t
t/zvg_31methcache.t
t/zvg_35thrclone.t
t/zvg_40profile.t
t/zvg_41prof_dump.t
t/zvg_42prof_data.t
t/zvg_43prof_env.t
t/zvg_48dbi_dbd_sqlengine.t
t/zvg_49dbd_file.t
t/zvg_50dbm_simple.t
t/zvg_51dbm_file.t
t/zvg_52dbm_complex.t
t/zvg_53sqlengine_adv.t
t/zvg_54_dbd_mem.t
t/zvg_60preparse.t
t/zvg_65transact.t
t/zvg_70callbacks.t
t/zvg_72childhandles.t
t/zvg_73cachedkids.t
t/zvg_80proxy.t
t/zvg_85gofer.t
t/zvg_86gofer_fail.t
t/zvg_87gofer_cache.t
t/zvg_90sql_type_cast.t
t/zvg_91_store_warning.t
Creating test wrappers for DBI::SQL::Nano:
t/zvn_48dbi_dbd_sqlengine.t
t/zvn_49dbd_file.t
t/zvn_50dbm_simple.t
t/zvn_51dbm_file.t
t/zvn_52dbm_complex.t
t/zvn_85gofer.t
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
t/zvp_02dbidrv.t
t/zvp_03handle.t
t/zvp_04mods.t
t/zvp_05concathash.t
t/zvp_06attrs.t
t/zvp_07kids.t
t/zvp_08keeperr.t
t/zvp_09trace.t
t/zvp_10examp.t
t/zvp_11fetch.t
t/zvp_12quote.t
t/zvp_13taint.t
t/zvp_14utf8.t
t/zvp_15array.t
t/zvp_16destroy.t
t/zvp_17handle_error.t
t/zvp_19fhtrace.t
t/zvp_20meta.t
t/zvp_30subclass.t
t/zvp_31methcache.t
t/zvp_35thrclone.t
t/zvp_40profile.t
t/zvp_41prof_dump.t
t/zvp_42prof_data.t
t/zvp_43prof_env.t
t/zvp_48dbi_dbd_sqlengine.t
t/zvp_49dbd_file.t
t/zvp_50dbm_simple.t
t/zvp_51dbm_file.t
t/zvp_52dbm_complex.t
t/zvp_53sqlengine_adv.t
t/zvp_54_dbd_mem.t
t/zvp_60preparse.t
t/zvp_65transact.t
t/zvp_70callbacks.t
t/zvp_72childhandles.t
t/zvp_73cachedkids.t
t/zvp_80proxy.t
t/zvp_85gofer.t
t/zvp_86gofer_fail.t
t/zvp_87gofer_cache.t
t/zvp_90sql_type_cast.t
t/zvp_91_store_warning.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano:
t/zvxgn_48dbi_dbd_sqlengine.t
t/zvxgn_49dbd_file.t
t/zvxgn_50dbm_simple.t
t/zvxgn_51dbm_file.t
t/zvxgn_52dbm_complex.t
t/zvxgn_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::PurePerl:
t/zvxgp_01basics.t
t/zvxgp_02dbidrv.t
t/zvxgp_03handle.t
t/zvxgp_04mods.t
t/zvxgp_05concathash.t
t/zvxgp_06attrs.t
t/zvxgp_07kids.t
t/zvxgp_08keeperr.t
t/zvxgp_09trace.t
t/zvxgp_10examp.t
t/zvxgp_11fetch.t
t/zvxgp_12quote.t
t/zvxgp_13taint.t
t/zvxgp_14utf8.t
t/zvxgp_15array.t
t/zvxgp_16destroy.t
t/zvxgp_17handle_error.t
t/zvxgp_19fhtrace.t
t/zvxgp_20meta.t
t/zvxgp_30subclass.t
t/zvxgp_31methcache.t
t/zvxgp_35thrclone.t
t/zvxgp_40profile.t
t/zvxgp_41prof_dump.t
t/zvxgp_42prof_data.t
t/zvxgp_43prof_env.t
t/zvxgp_48dbi_dbd_sqlengine.t
t/zvxgp_49dbd_file.t
t/zvxgp_50dbm_simple.t
t/zvxgp_51dbm_file.t
t/zvxgp_52dbm_complex.t
t/zvxgp_53sqlengine_adv.t
t/zvxgp_54_dbd_mem.t
t/zvxgp_60preparse.t
t/zvxgp_65transact.t
t/zvxgp_70callbacks.t
t/zvxgp_72childhandles.t
t/zvxgp_73cachedkids.t
t/zvxgp_80proxy.t
t/zvxgp_85gofer.t
t/zvxgp_86gofer_fail.t
t/zvxgp_87gofer_cache.t
t/zvxgp_90sql_type_cast.t
t/zvxgp_91_store_warning.t
Creating test wrappers for DBI::SQL::Nano + DBI::PurePerl:
t/zvxnp_48dbi_dbd_sqlengine.t
t/zvxnp_49dbd_file.t
t/zvxnp_50dbm_simple.t
t/zvxnp_51dbm_file.t
t/zvxnp_52dbm_complex.t
t/zvxnp_85gofer.t
Creating test wrappers for DBD::Gofer + DBI::SQL::Nano + DBI::PurePerl:
t/zvxgnp_48dbi_dbd_sqlengine.t
t/zvxgnp_49dbd_file.t
t/zvxgnp_50dbm_simple.t
t/zvxgnp_51dbm_file.t
t/zvxgnp_52dbm_complex.t
t/zvxgnp_85gofer.t
I see you're using perl 5.036000 on x86_64-linux, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
Generating a Unix-style Makefile
Writing Makefile for DBI
Writing MYMETA.yml and MYMETA.json
"/home/mochan/perl5/perlbrew/perls/perl-5.36.0/bin/perl" -MExtUtils::Command -e
'mkpath' -- blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBD/File/Roadmap.pod blib/lib/DBD/File/Roadmap.pod
cp lib/DBI/DBD/SqlEngine/HowTo.pod blib/lib/DBI/DBD/SqlEngine/HowTo.pod
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBD/File/HowTo.pod blib/lib/DBD/File/HowTo.pod
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/File/Developers.pod blib/lib/DBD/File/Developers.pod
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBI/DBD/SqlEngine/Developers.pod
blib/lib/DBI/DBD/SqlEngine/Developers.pod
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBD/Mem.pm blib/lib/DBD/Mem.pm
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp lib/DBI/DBD/SqlEngine.pm blib/lib/DBI/DBD/SqlEngine.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp lib/DBD/Gofer/Transport/corostream.pm
blib/lib/DBD/Gofer/Transport/corostream.pm
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/Gofer/Serializer/Storable.pm
blib/lib/DBI/Gofer/Serializer/Storable.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm
cp lib/DBI/Gofer/Serializer/DataDumper.pm
blib/lib/DBI/Gofer/Serializer/DataDumper.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
Running Mkbootstrap for DBI ()
chmod 644 "DBI.bs"
"/home/mochan/perl5/perlbrew/perls/perl-5.36.0/bin/perl"
-MExtUtils::Command::MM -e 'cp_nonempty' -- DBI.bs blib/arch/auto/DBI/DBI.bs 644
"/home/mochan/perl5/perlbrew/perls/perl-5.36.0/bin/perl" -p -e
"s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
"/home/mochan/perl5/perlbrew/perls/perl-5.36.0/bin/perl"
"/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/ExtUtils/xsubpp"
-typemap
'/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/ExtUtils/typemap'
-typemap '/home/mochan/.cpanm/work/1725202509.394819/DBI-1.644/typemap'
Perl.xs > Perl.xsc
mv Perl.xsc Perl.c
cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.644\" -DXS_VERSION=\"1.644\" -fPIC
"-I/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE"
-W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -DDBI_NO_THREADS Perl.c
In file included from
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:2999,
from DBIXS.h:23,
from Perl.xs:7:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/inline.h:
In function ‘Perl_is_utf8_valid_partial_char_flags’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘STRLEN’ {aka ‘long unsigned int’} to
non-matching type ‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/inline.h:2363:12:
note: in expansion of macro ‘cBOOL’
2363 | return cBOOL(is_utf8_char_helper_(s0, e, flags));
| ^~~~~
Perl.xs: In function ‘dbi_get_state’:
DBIXS.h:498:32: warning: cast between incompatible function types from ‘void
(*)(CV *)’ {aka ‘void (*)(struct cv *)’} to ‘dbistate_t ** (*)(void)’ {aka
‘struct dbistate_st ** (*)(void)’} [-Wcast-function-type]
498 | dbi_state_lval_p = (_dbi_state_lval_t)CvXSUB(cv);
\
| ^
DBIXS.h:516:5: note: in expansion of macro ‘_DBISTATE_DECLARE_COMMON’
516 | _DBISTATE_DECLARE_COMMON
| ^~~~~~~~~~~~~~~~~~~~~~~~
Perl.xs:13:1: note: in expansion of macro ‘DBISTATE_DECLARE’
13 | DBISTATE_DECLARE;
| ^~~~~~~~~~~~~~~~
"/home/mochan/perl5/perlbrew/perls/perl-5.36.0/bin/perl"
"/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/ExtUtils/xsubpp"
-typemap
'/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/ExtUtils/typemap'
-typemap '/home/mochan/.cpanm/work/1725202509.394819/DBI-1.644/typemap' DBI.xs
> DBI.xsc
mv DBI.xsc DBI.c
cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"1.644\" -DXS_VERSION=\"1.644\" -fPIC
"-I/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE"
-W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare
-Wno-cast-qual -DDBI_NO_THREADS DBI.c
In file included from
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:2999,
from DBIXS.h:23,
from DBI.xs:13:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/inline.h:
In function ‘Perl_is_utf8_valid_partial_char_flags’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘STRLEN’ {aka ‘long unsigned int’} to
non-matching type ‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/inline.h:2363:12:
note: in expansion of macro ‘cBOOL’
2363 | return cBOOL(is_utf8_char_helper_(s0, e, flags));
| ^~~~~
DBI.xs: In function ‘dbi_ima_free’:
DBI.xs:250:46: warning: unused parameter ‘mg’ [-Wunused-parameter]
250 | static int dbi_ima_free(pTHX_ SV* sv, MAGIC* mg)
| ~~~~~~~^~
In file included from
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:5837:
DBI.xs: In function ‘dbih_inner’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/hv.h:507:31:
error: passing argument 1 of ‘Perl_hv_common_key_len’ from incompatible
pointer type [-Wincompatible-pointer-types]
507 | ((SV**) hv_common_key_len((hv), (key), (klen), (lval)
\
| ^~~~
| |
| SV * {aka struct sv *}
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/embed.h:249:70:
note: in definition of macro ‘hv_common_key_len’
249 | #define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_
a,b,c,d,e,f)
| ^
DBI.xs:1109:14: note: in expansion of macro ‘hv_fetch’
1109 | if (!hv_fetch(ohv,"_NO_DESTRUCT_WARN",17,0))
| ^~~~~~~~
In file included from
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:5798:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/proto.h:1437:58:
note: expected ‘HV *’ {aka ‘struct hv *’} but argument is of type ‘SV *’ {aka
‘struct sv *’}
1437 | PERL_CALLCONV void* Perl_hv_common_key_len(pTHX_ HV *hv, const char
*key, I32 klen_i32, const int action, SV *val, const U32 hash);
| ~~~~^~
DBI.xs: In function ‘sql_type_cast_svpv’:
DBI.xs:1950:65: warning: unused parameter ‘v’ [-Wunused-parameter]
1950 | sql_type_cast_svpv(pTHX_ SV *sv, int sql_type, U32 flags, void *v)
| ~~~~~~^
DBI.xs: In function ‘XS_DBI_dispatch’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3888:52:
note: in expansion of macro ‘cBOOL’
3888 | #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1572:42:
note: in expansion of macro ‘UNLIKELY’
1572 | #define SvTAINTED_on(sv) STMT_START{
if(UNLIKELY(TAINTING_get)){sv_taint(sv);} }STMT_END
| ^~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:907:34:
note: in expansion of macro ‘cBOOL’
907 | # define TAINTING_get (cBOOL(UNLIKELY(PL_tainting)))
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1572:51:
note: in expansion of macro ‘TAINTING_get’
1572 | #define SvTAINTED_on(sv) STMT_START{
if(UNLIKELY(TAINTING_get)){sv_taint(sv);} }STMT_END
| ^~~~~~~~~~~~
DBI.xs:3959:25: note: in expansion of macro ‘SvTAINTED_on’
3959 | SvTAINTED_on(s);
| ^~~~~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3888:52:
note: in expansion of macro ‘cBOOL’
3888 | #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1572:42:
note: in expansion of macro ‘UNLIKELY’
1572 | #define SvTAINTED_on(sv) STMT_START{
if(UNLIKELY(TAINTING_get)){sv_taint(sv);} }STMT_END
| ^~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:907:34:
note: in expansion of macro ‘cBOOL’
907 | # define TAINTING_get (cBOOL(UNLIKELY(PL_tainting)))
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1572:51:
note: in expansion of macro ‘TAINTING_get’
1572 | #define SvTAINTED_on(sv) STMT_START{
if(UNLIKELY(TAINTING_get)){sv_taint(sv);} }STMT_END
| ^~~~~~~~~~~~
DBI.xs:3966:25: note: in expansion of macro ‘SvTAINTED_on’
3966 | SvTAINTED_on(s);
| ^~~~~~~~~~~~
DBI.c: In function ‘XS_DBI_constant’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3887:52:
note: in expansion of macro ‘cBOOL’
3887 | #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:411:13:
note: in expansion of macro ‘LIKELY’
411 | if (LIKELY(
\
| ^~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:906:34:
note: in expansion of macro ‘cBOOL’
906 | # define TAINT_get (cBOOL(UNLIKELY(PL_tainted))) /* Is
something tainted? */
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:413:28:
note: in expansion of macro ‘TAINT_get’
413 | & (do_taint ? !TAINT_get : 1)))
\
| ^~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:476:38:
note: in expansion of macro ‘TARGi’
476 | #define PUSHi(i) STMT_START { TARGi(i,1); PUSHs(TARG); } STMT_END
| ^~~~~
DBI.c:4631:9: note: in expansion of macro ‘PUSHi’
4631 | PUSHi((IV)RETVAL);
| ^~~~~
DBI.c: In function ‘XS_DBI_hash’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3887:52:
note: in expansion of macro ‘cBOOL’
3887 | #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:411:13:
note: in expansion of macro ‘LIKELY’
411 | if (LIKELY(
\
| ^~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:906:34:
note: in expansion of macro ‘cBOOL’
906 | # define TAINT_get (cBOOL(UNLIKELY(PL_tainted))) /* Is
something tainted? */
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:413:28:
note: in expansion of macro ‘TAINT_get’
413 | & (do_taint ? !TAINT_get : 1)))
\
| ^~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:476:38:
note: in expansion of macro ‘TARGi’
476 | #define PUSHi(i) STMT_START { TARGi(i,1); PUSHs(TARG); } STMT_END
| ^~~~~
DBI.c:4841:9: note: in expansion of macro ‘PUSHi’
4841 | PUSHi((IV)RETVAL);
| ^~~~~
DBI.c: In function ‘XS_DBI_trace’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3887:52:
note: in expansion of macro ‘cBOOL’
3887 | #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:411:13:
note: in expansion of macro ‘LIKELY’
411 | if (LIKELY(
\
| ^~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:906:34:
note: in expansion of macro ‘cBOOL’
906 | # define TAINT_get (cBOOL(UNLIKELY(PL_tainted))) /* Is
something tainted? */
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:413:28:
note: in expansion of macro ‘TAINT_get’
413 | & (do_taint ? !TAINT_get : 1)))
\
| ^~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:476:38:
note: in expansion of macro ‘TARGi’
476 | #define PUSHi(i) STMT_START { TARGi(i,1); PUSHs(TARG); } STMT_END
| ^~~~~
DBI.c:5037:9: note: in expansion of macro ‘PUSHi’
5037 | PUSHi((IV)RETVAL);
| ^~~~~
DBI.c: In function ‘XS_DBI_dbi_time’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3887:52:
note: in expansion of macro ‘cBOOL’
3887 | #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:456:13:
note: in expansion of macro ‘LIKELY’
456 | if (LIKELY(
\
| ^~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:906:34:
note: in expansion of macro ‘cBOOL’
906 | # define TAINT_get (cBOOL(UNLIKELY(PL_tainted))) /* Is
something tainted? */
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:458:28:
note: in expansion of macro ‘TAINT_get’
458 | & (do_taint ? !TAINT_get : 1)))
\
| ^~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:475:38:
note: in expansion of macro ‘TARGn’
475 | #define PUSHn(n) STMT_START { TARGn(n,1); PUSHs(TARG); } STMT_END
| ^~~~~
DBI.c:5113:9: note: in expansion of macro ‘PUSHn’
5113 | PUSHn((NV)RETVAL);
| ^~~~~
DBI.c: In function ‘XS_DBI_sql_type_cast’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3887:52:
note: in expansion of macro ‘cBOOL’
3887 | #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:411:13:
note: in expansion of macro ‘LIKELY’
411 | if (LIKELY(
\
| ^~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:906:34:
note: in expansion of macro ‘cBOOL’
906 | # define TAINT_get (cBOOL(UNLIKELY(PL_tainted))) /* Is
something tainted? */
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:413:28:
note: in expansion of macro ‘TAINT_get’
413 | & (do_taint ? !TAINT_get : 1)))
\
| ^~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:476:38:
note: in expansion of macro ‘TARGi’
476 | #define PUSHi(i) STMT_START { TARGi(i,1); PUSHs(TARG); } STMT_END
| ^~~~~
DBI.c:5280:9: note: in expansion of macro ‘PUSHi’
5280 | PUSHi((IV)RETVAL);
| ^~~~~
DBI.xs: In function ‘XS_DBD_____st__set_fbav’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3888:52:
note: in expansion of macro ‘cBOOL’
3888 | #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1578:13:
note: in expansion of macro ‘UNLIKELY’
1578 | if (UNLIKELY(TAINT_get)) \
| ^~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:906:34:
note: in expansion of macro ‘cBOOL’
906 | # define TAINT_get (cBOOL(UNLIKELY(PL_tainted))) /* Is
something tainted? */
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1578:22:
note: in expansion of macro ‘TAINT_get’
1578 | if (UNLIKELY(TAINT_get)) \
| ^~~~~~~~~
DBI.xs:5232:13: note: in expansion of macro ‘SvTAINT’
5232 | SvTAINT(AvARRAY(src_av)[i]);
| ^~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3888:52:
note: in expansion of macro ‘cBOOL’
3888 | #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1572:42:
note: in expansion of macro ‘UNLIKELY’
1572 | #define SvTAINTED_on(sv) STMT_START{
if(UNLIKELY(TAINTING_get)){sv_taint(sv);} }STMT_END
| ^~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:907:34:
note: in expansion of macro ‘cBOOL’
907 | # define TAINTING_get (cBOOL(UNLIKELY(PL_tainting)))
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1572:51:
note: in expansion of macro ‘TAINTING_get’
1572 | #define SvTAINTED_on(sv) STMT_START{
if(UNLIKELY(TAINTING_get)){sv_taint(sv);} }STMT_END
| ^~~~~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/sv.h:1579:13:
note: in expansion of macro ‘SvTAINTED_on’
1579 | SvTAINTED_on(sv); \
| ^~~~~~~~~~~~
DBI.xs:5232:13: note: in expansion of macro ‘SvTAINT’
5232 | SvTAINT(AvARRAY(src_av)[i]);
| ^~~~~~~
DBI.c: In function ‘XS_DBD_____common_trace’:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/handy.h:125:23:
warning: cast from function call of type ‘long int’ to non-matching type
‘_Bool’ [-Wbad-function-cast]
125 | #define cBOOL(cbool) ((bool) (cbool))
| ^
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3867:62:
note: in definition of macro ‘EXPECT’
3867 | # define EXPECT(expr,val) __builtin_expect(expr,val)
| ^~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:3887:52:
note: in expansion of macro ‘cBOOL’
3887 | #define LIKELY(cond) EXPECT(cBOOL(cond),TRUE)
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:411:13:
note: in expansion of macro ‘LIKELY’
411 | if (LIKELY(
\
| ^~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/perl.h:906:34:
note: in expansion of macro ‘cBOOL’
906 | # define TAINT_get (cBOOL(UNLIKELY(PL_tainted))) /* Is
something tainted? */
| ^~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:413:28:
note: in expansion of macro ‘TAINT_get’
413 | & (do_taint ? !TAINT_get : 1)))
\
| ^~~~~~~~~
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux/CORE/pp.h:476:38:
note: in expansion of macro ‘TARGi’
476 | #define PUSHi(i) STMT_START { TARGi(i,1); PUSHs(TARG); } STMT_END
| ^~~~~
DBI.c:6249:9: note: in expansion of macro ‘PUSHi’
6249 | PUSHi((IV)RETVAL);
| ^~~~~
make: *** [Makefile:521: DBI.o] Error 1
Summary of my perl5 (revision 5 version 36 subversion 0) configuration:
Platform:
osname=linux
osvers=5.17.0-1-amd64
archname=x86_64-linux
uname='linux yapaque 5.17.0-1-amd64 #1 smp preempt debian 5.17.3-1
(2022-04-18) x86_64 gnulinux '
config_args='-de -Dprefix=/home/mochan/perl5/perlbrew/perls/perl-5.36.0
-Aeval:scriptdir=/home/mochan/perl5/perlbrew/perls/perl-5.36.0/bin'
hint=recommended
useposix=true
d_sigaction=define
useithreads=undef
usemultiplicity=undef
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
Compiler:
cc='cc'
ccflags ='-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'
cppflags='-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include'
ccversion=''
gccversion='11.3.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.33.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.33'
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-strong'
Characteristics of this binary (from libperl):
Compile-time options:
HAS_TIMES
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
USE_64_BIT_ALL
USE_64_BIT_INT
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
Built under linux
Compiled at Jun 13 2022 13:55:06
%ENV:
PERLBREW_HOME="/home/mochan/.perlbrew"
PERLBREW_MANPATH="/home/mochan/perl5/perlbrew/perls/perl-5.36.0/man"
PERLBREW_PATH="/home/mochan/perl5/perlbrew/bin:/home/mochan/perl5/perlbrew/perls/perl-5.36.0/bin"
PERLBREW_PERL="perl-5.36.0"
PERLBREW_ROOT="/home/mochan/perl5/perlbrew"
PERLBREW_SHELLRC_VERSION="0.98"
PERLBREW_VERSION="0.98"
PERL_CPANM_OPT="-M https://cpan.metacpan.org/"
@INC:
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0/x86_64-linux
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/site_perl/5.36.0
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0/x86_64-linux
/home/mochan/perl5/perlbrew/perls/perl-5.36.0/lib/5.36.0