Date: Sun, 14 Feb 2010 01:25:17 GMT From: Robert Jenssen <robertjenssen@ozemail.com.au> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143924: Port net/samba34 default install binaries are not stripped and include profiling Message-ID: <201002140125.o1E1PHGq044418@www.freebsd.org> Resent-Message-ID: <201002140325.o1E3PYiE018944@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143924 >Category: ports >Synopsis: Port net/samba34 default install binaries are not stripped and include profiling >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 14 03:25:33 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Robert Jenssen >Release: FreeBSD 8-Stable >Organization: >Environment: FreeBSD kraken 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat Feb 13 23:15:42 EST 2010 robj@kraken:/usr/obj/usr/src/sys/KRAKEN i386 >Description: The default build of port samba34 installs binaries that are not stripped and save profiling files (eg:smbd.gmon). >How-To-Repeat: 1. Build and install the samba34 port with the default config (ie:MAX_DEBUG=off). The build output shows in part: Using CFLAGS = -O2 -pipe -march=pentium4 -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/net/samba34/work/samba-3.4.5/source3 -I/usr/ports/net/samba34/work/samba-3.4.5/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -DHAVE_CONFIG_H -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replace -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba34/work/samba-3.4.5/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 PICFLAG = -fPIC -DPIC LIBS = -lexecinfo -liconv LDFLAGS = -pie -Wl,-z,relro -L/usr/local/lib -L./bin -L/usr/local/lib DYNEXP = -Wl,--export-dynamic LDSHFLAGS = -shared -Wl,-z,relro -L/usr/local/lib -L./bin -L/usr/local/lib SHLIBEXT = so SONAMEFLAG = -Wl,-soname, ie: no apparent profiling options. 2. Start then stop samba, gmon files are saved: /usr/local/etc/rc.d/samba start Removing stale Samba tdb files: ....... done Starting nmbd. Starting smbd. Starting winbindd. /usr/local/etc/rc.d/samba stop Stopping winbindd. Stopping smbd. Waiting for PIDS: 87861. Stopping nmbd. ls -l *.gmon -rw-r--r-- 1 root wheel 873922 14 Feb 12:08 nmbd.gmon -rw-rw-rw- 1 root wheel 2603466 14 Feb 12:08 smbd.gmon -rw-r--r-- 1 root wheel 264154 14 Feb 12:08 testparm.gmon -rw-r--r-- 1 root wheel 1986930 14 Feb 12:08 winbindd.gmon 3. Binaries are not installed stripped: file /usr/local/sbin/{smbd,nmbd,winbindd} /usr/local/sbin/smbd: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0 (800502), not stripped /usr/local/sbin/nmbd: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0 (800502), not stripped /usr/local/sbin/winbindd: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 8.0 (800502), not stripped >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002140125.o1E1PHGq044418>