Skip Menu |
Report information
Id: 131809
Status: pending release
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: kbrown [at] cornell.edu
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)

Attachments


From: Ken Brown <kbrown [...] cornell.edu>
Subject: Configure script doesn't recognize GCC 6 or 7
Date: Thu, 27 Jul 2017 12:05:56 -0400
To: perlbug [...] perl.org
Download (untitled) / with headers
text/plain 4.3k
When testing whether to use -D_FORTIFY_SOURCE, the Configure script only looks for GCC 4 or 5 and otherwise reports "You seem not to have gcc 4.* or later, not adding -D_FORTIFY_SOURCE." The trivial fix is attached. Ken --- Flags: category=core severity=low --- Site configuration information for perl 5.26.0: Configured by kbrown at Wed Jul 19 09:30:20 EDT 2017. Summary of my perl5 (revision 5 version 26 subversion 0) configuration: Platform: osname=cygwin osvers=2.8.3(0.31353) archname=x86_64-cygwin-threads-multi uname='cygwin_nt-10.0 desktop-new 2.8.3(0.31353) x86_64 cygwin ' config_args='-des -Dprefix=/usr -Dmksymlinks -Darchname=x86_64-cygwin-threads -Dlibperl=cygperl5_26.dll -Dcc=gcc -Dld=g++ -Accflags=-ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/home/kbrown/src/cygperl/perl-5.26.0-2.x86_64/build=/usr/src/debug/perl-5.26.0-2 -fdebug-prefix-map=/home/kbrown/src/cygperl/perl-5.26.0-2.x86_64/src/perl-5.26.0=/usr/src/debug/perl-5.26.0-2 -fwrapv' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='gcc' ccflags ='-DPERL_USE_SAFE_PUTENV -D_GNU_SOURCE -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/home/kbrown/src/cygperl/perl-5.26.0-2.x86_64/build=/usr/src/debug/perl-5.26.0-2 -fdebug-prefix-map=/home/kbrown/src/cygperl/perl-5.26.0-2.x86_64/src/perl-5.26.0=/usr/src/debug/perl-5.26.0-2 -fwrapv -fno-strict-aliasing -fstack-protector-strong -D_FORTIFY_SOURCE=2' optimize='-O3' cppflags='-DPERL_USE_SAFE_PUTENV -D_GNU_SOURCE -U__STRICT_ANSI__ -ggdb -O2 -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/home/kbrown/src/cygperl/perl-5.26.0-2.x86_64/build=/usr/src/debug/perl-5.26.0-2 -fdebug-prefix-map=/home/kbrown/src/cygperl/perl-5.26.0-2.x86_64/src/perl-5.26.0=/usr/src/debug/perl-5.26.0-2 -fwrapv -fno-strict-aliasing -fstack-protector-strong' ccversion='' gccversion='5.4.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='g++' ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong' libpth=/usr/lib libs=-lpthread -lgdbm -ldb -ldl -lcrypt -lgdbm_compat perllibs=-lpthread -ldl -lcrypt libc=/usr/lib/libcygwin.a so=dll useshrplib=true libperl=cygperl5_26.dll gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=dll d_dlsymun=undef ccdlflags=' ' cccdlflags=' ' lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector-strong' --- @INC for perl 5.26.0: /usr/lib/perl5/site_perl/5.26/x86_64-cygwin-threads /usr/lib/perl5/site_perl/5.26 /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads /usr/lib/perl5/vendor_perl/5.26 /usr/lib/perl5/5.26/x86_64-cygwin-threads /usr/lib/perl5/5.26 --- Environment for perl 5.26.0: HOME=/home/kbrown LANG=en_US.UTF-8 LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/home/kbrown/bin:/usr/local/bin:/usr/bin:/c/ProgramData/Oracle/Java/javapath:/c/Program Files/Common Files/Microsoft Shared/Windows Live:/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/c/Program Files (x86)/Intel/iCLS Client:/c/Program Files/Intel/iCLS Client:/c/Program Files (x86)/AMD APP/bin/x86_64:/c/Program Files (x86)/AMD APP/bin/x86:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/c/Program Files (x86)/Windows Live/Shared:/c/Program Files (x86)/Common Files/Intuit/QBPOSSDKRuntime:/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static:/c/Users/kbrown/AppData/Local/Microsoft/WindowsApps:/usr/lib/lapack PERL_BADLANG (unset) SHELL=/bin/bash

Message body is not shown because sender requested not to inline it.

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 356b
On Thu, 27 Jul 2017 09:24:44 -0700, kbrown@cornell.edu wrote: Show quoted text
> When testing whether to use -D_FORTIFY_SOURCE, the Configure script > only > looks for GCC 4 or 5 and otherwise reports "You seem not to have gcc > 4.* > or later, not adding -D_FORTIFY_SOURCE." The trivial fix is attached.
Thanks, applied as b9486474d36974b83d0b00fdcbfd1530299a0f7c. Tony


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org