ports/89443: lang/perl5.8 is installed stripped regardless of compiling WITH_DEBUGGING
parv at pair.com
parv at pair.com
Wed Nov 23 02:00:39 UTC 2005
>Number: 89443
>Category: ports
>Synopsis: lang/perl5.8 is installed stripped regardless of compiling WITH_DEBUGGING
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 23 02:00:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Parv
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD holestein.holy.cow 5.4-STABLE FreeBSD 5.4-STABLE #7: Sat Oct 29 02:13:59 EDT 2005 root at holestein.holy.cow:/work/obj/misc/src-5/sys/BOVINE-T42 i386
Perl version ...
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=freebsd, osvers=5.3-release-p16, archname=i386-freebsd-64int
uname='freebsd holestein.holy.cow 5.3-release-p16 freebsd 5.3-release-p16 #5: thu jun 9 15:17:45 edt 2005 root at holestein.holy.cow:workobjmiscsrc-5.3sysbovine-t42 i386 '
config_args='-sde -Dprefix=/misc/local -Darchlib=/misc/local/lib/perl5/5.8.7/mach -Dprivlib=/misc/local/lib/perl5/5.8.7 -Dman3dir=/misc/local/lib/perl5/5.8.7/perl/man/man3 -Dman1dir=/misc/local/man/man1 -Dsitearch=/misc/local/lib/perl5/site_perl/5.8.7/mach -Dsitelib=/misc/local/lib/perl5/site_perl/5.8.7 -Dscriptdir=/misc/local/bin -Dsiteman3dir=/misc/local/lib/perl5/5.8.7/man/man3 -Dsiteman1dir=/misc/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/misc/local/lib/perl5/5.8.7/BSDPAN" -Doptimize=-g -DDEBUGGING -Ud_dosuid -Di_gdbm -Dusethreads=n -Dusemymalloc=y -Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/misc/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-g',
cppflags='-DAPPLLIB_EXP="/misc/local/lib/perl5/5.8.7/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/misc/local/lib/perl5/5.8.7/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_64_BIT_INT USE_LARGE_FILES
Locally applied patches:
defined-or
Built under freebsd
Compiled at Jun 29 2005 14:46:29
@INC:
/misc/local/lib/perl5/site_perl/5.8.7/mach
/misc/local/lib/perl5/site_perl/5.8.7
/misc/local/lib/perl5/site_perl/5.8.6
/misc/local/lib/perl5/site_perl
/misc/local/lib/perl5/5.8.7/BSDPAN
/misc/local/lib/perl5/5.8.7/mach
/misc/local/lib/perl5/5.8.7
.
>Description:
I thought i have installed perl w/ debugging symbols but on a
unplanned gdb run it seems to have none ...
file `realpath $(which perl)`
/misc/local/bin/perl5.8.7: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.3.0, dynamically linked (uses shared libs), stripped
gdb /misc/local/bin/perl5.8.7
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)...
I have the build & install logs from (Jun 2005) if anybody wants to
see. A few moments ago, i rebuilt perl (not installed) & it is indeed
not stripped ...
file /work/ports/misc/ports-current/lang/perl5.8/work/perl-5.8.7/perl
/work/ports/misc/ports-current/lang/perl5.8/work/perl-5.8.7/perl: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.4-CURRENT (rev 3), dynamically linked (uses shared libs), not stripped
gdb /work/ports/misc/ports-current/lang/perl5.8/work/perl-5.8.7/perl
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
... seems like something in the install process screws up. (I have
not verified the last statement this time as i am not looking forward
to update my perl modules.)
>How-To-Repeat:
sh \
&& cd $PORTS/lang/perl5.8 \
&& make deinstall clean \
&& make install -DWITH_DEBUGGING \
&& file `realpath $(which perl)`
>Fix:
Install perl w/ debugging symbols.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list