develooper Front page | perl.perl5.porters | Postings from July 2018

[perl #133360] New compilation warning in core

From:
Sergey Aleynikov
Date:
July 11, 2018 13:02
Subject:
[perl #133360] New compilation warning in core
Message ID:
rt-4.0.24-18663-1531314163-1939.133360-75-0@perl.org
# New Ticket Created by  Sergey Aleynikov 
# Please include the string:  [perl #133360]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133360 >


This is a bug report for perl from sergey.aleynikov@gmail.com,
generated with the help of perlbug 1.41 running under perl 5.29.0.


-----------------------------------------------------------------
[Please describe your issue here]

The following warning is new in blead for the perl interpreter built
with -DDEBUGGING -Dusethreads:

cc -c -DPERL_CORE -fno-common -DPERL_DARWIN -mmacosx-version-min=10.9
-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include -DPERL_USE_SAFE_PUTENV -std=c89 -O3 -g -Wall
-Werror=declaration-after-statement -Werror=pointer-arith -Wextra
-Wc++-compat -Wwrite-strings util.c
util.c:2073:1: warning: unused function 'S_env_alloc' [-Wunused-function]
S_env_alloc(void *current, Size_t l1, Size_t l2, Size_t l3, Size_t size)
^
1 warning generated.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl 5.29.0:

Configured by root at Mon Jun 25 01:11:54 MSK 2018.

Summary of my perl5 (revision 5 version 29 subversion 0) configuration:
  Commit id: d361a1e6288b3e67fba6cb9f5cdac3737a1e3795
  Platform:
    osname=linux
    osvers=4.9.0-6-amd64
    archname=x86_64-linux
    uname='linux dorothy 4.9.0-6-amd64 #1 smp debian 4.9.88-1+deb9u1
(2018-05-07) x86_64 gnulinux '
    config_args='-des -Dusedevel -Dcc=afl-clang-fast -Doptimize=-O3 -g
-fno-omit-frame-pointer'
    hint=recommended
    useposix=true
    d_sigaction=define
    useithreads=undef
    usemultiplicity=undef
    use64bitint=define
    use64bitall=define
    uselongdouble=undef
    usemymalloc=n
    default_inc_excludes_dot=define
    bincompat5005=undef
  Compiler:
    cc='afl-clang-fast'
    ccflags ='-fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_FORTIFY_SOURCE=2'
    optimize='-O3 -g -fno-omit-frame-pointer'
    cppflags='-fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include'
    ccversion=''
    gccversion='4.2.1 Compatible Clang 3.9.1 (tags/RELEASE_391/rc2)'
    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='afl-clang-fast'
    ldflags =' -fstack-protector-strong -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/lib
/usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu
/lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
    libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
    libc=libc-2.24.so
    so=so
    useshrplib=false
    libperl=libperl.a
    gnulibc_version='2.24'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs
    dlext=so
    d_dlsymun=undef
    ccdlflags='-Wl,-E'
    cccdlflags='-fPIC'
    lddlflags='-shared -O3 -g -fno-omit-frame-pointer -L/usr/local/lib
-fstack-protector-strong'


---
@INC for perl 5.29.0:
    lib
    /usr/local/lib/perl5/site_perl/5.29.0/x86_64-linux
    /usr/local/lib/perl5/site_perl/5.29.0
    /usr/local/lib/perl5/5.29.0/x86_64-linux
    /usr/local/lib/perl5/5.29.0

---
Environment for perl 5.29.0:
    HOME=/home/afl
    LANG=en_US.UTF-8
    LANGUAGE=en_US:en
    LC_CTYPE=en_US.UTF-8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/afl/perlbrew/bin:/home/afl/perlbrew/perls/perl-5.20.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
    PERLBREW_BASHRC_VERSION=0.78
    PERLBREW_HOME=/home/afl/.perlbrew
    PERLBREW_MANPATH=/home/afl/perlbrew/perls/perl-5.20.2/man
    PERLBREW_PATH=/home/afl/perlbrew/bin:/home/afl/perlbrew/perls/perl-5.20.2/bin
    PERLBREW_PERL=perl-5.20.2
    PERLBREW_ROOT=/home/afl/perlbrew
    PERLBREW_VERSION=0.78
    PERL_BADLANG (unset)
    SHELL=/usr/bin/zsh




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