svn commit: r255948 - head/share/man/man4
Author: rwatson Date: Mon Sep 30 09:21:17 2013 New Revision: 255948 URL: http://svnweb.freebsd.org/changeset/base/255948 Log: Update ddb(9) to show how to print 64-bit values with examine. MFC after:3 days Approved by: re (gjb) Modified: head/share/man/man4/ddb.4 Modified: head/share/man/man4/ddb.4 == --- head/share/man/man4/ddb.4 Sun Sep 29 23:38:53 2013(r255947) +++ head/share/man/man4/ddb.4 Mon Sep 30 09:21:17 2013(r255948) @@ -60,7 +60,7 @@ .\ .\ $FreeBSD$ .\ -.Dd December 16, 2011 +.Dd September 30, 2013 .Dt DDB 4 .Os .Sh NAME @@ -219,6 +219,8 @@ look at by bytes (8 bits) look at by half words (16 bits) .It Cm l look at by long words (32 bits) +.It Cm g +look at by quad words (64 bits) .It Cm a print the location being displayed .It Cm A ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
svn commit: r255949 - in head: . contrib/bind9 etc etc/mtree include lib lib/bind release share/doc share/doc/bind9 share/mk tools/build/mk tools/build/options usr.bin usr.bin/host usr.bin/nslookup...
Author: des Date: Mon Sep 30 17:23:45 2013 New Revision: 255949 URL: http://svnweb.freebsd.org/changeset/base/255949 Log: Remove BIND. Approved by: re (gjb) Deleted: head/contrib/bind9/ head/etc/mtree/BIND.chroot.dist head/etc/mtree/BIND.include.dist head/lib/bind/ head/share/doc/bind9/ head/tools/build/options/WITHOUT_BIND_DNSSEC head/tools/build/options/WITHOUT_BIND_ETC head/tools/build/options/WITHOUT_BIND_LIBS_LWRES head/tools/build/options/WITHOUT_BIND_MTREE head/tools/build/options/WITHOUT_BIND_NAMED head/tools/build/options/WITHOUT_BIND_UTILS head/tools/build/options/WITH_BIND head/tools/build/options/WITH_BIND_IDN head/tools/build/options/WITH_BIND_LARGE_FILE head/tools/build/options/WITH_BIND_LIBS head/tools/build/options/WITH_BIND_SIGCHASE head/tools/build/options/WITH_BIND_XML head/usr.bin/nslookup/ head/usr.bin/nsupdate/ head/usr.sbin/arpaname/ head/usr.sbin/ddns-confgen/ head/usr.sbin/dnssec-dsfromkey/ head/usr.sbin/dnssec-keyfromlabel/ head/usr.sbin/dnssec-keygen/ head/usr.sbin/dnssec-revoke/ head/usr.sbin/dnssec-settime/ head/usr.sbin/dnssec-signzone/ head/usr.sbin/dnssec-verify/ head/usr.sbin/genrandom/ head/usr.sbin/isc-hmac-fixup/ head/usr.sbin/named/ head/usr.sbin/named-checkconf/ head/usr.sbin/named-checkzone/ head/usr.sbin/named-journalprint/ head/usr.sbin/nsec3hash/ head/usr.sbin/rndc/ head/usr.sbin/rndc-confgen/ Modified: head/Makefile.inc1 head/ObsoleteFiles.inc head/etc/Makefile head/etc/mtree/BSD.var.dist head/include/Makefile head/lib/Makefile head/release/Makefile head/share/doc/Makefile head/share/mk/bsd.libnames.mk head/share/mk/bsd.own.mk head/tools/build/mk/OptionalObsoleteFiles.inc head/usr.bin/Makefile head/usr.bin/host/Makefile head/usr.sbin/Makefile Modified: head/Makefile.inc1 == --- head/Makefile.inc1 Mon Sep 30 09:21:17 2013(r255948) +++ head/Makefile.inc1 Mon Sep 30 17:23:45 2013(r255949) @@ -395,7 +395,7 @@ LIB32WMAKEFLAGS+= \ -DNO_LINT LIB32WMAKE=${LIB32WMAKEENV} ${MAKE} ${LIB32WMAKEFLAGS} \ - -DWITHOUT_BIND -DWITHOUT_MAN -DWITHOUT_INFO -DWITHOUT_HTML + -DWITHOUT_MAN -DWITHOUT_INFO -DWITHOUT_HTML LIB32IMAKE=${LIB32WMAKE:NINSTALL=*:NDESTDIR=*:N_LDSCRIPTROOT=*} -DNO_INCS \ ${IMAKE_INSTALL} .endif @@ -485,10 +485,6 @@ _worldtmp: mtree -deU -f ${.CURDIR}/etc/mtree/BSD.debug.dist \ -p ${WORLDTMP}/usr/lib /dev/null .endif -.if ${MK_BIND_LIBS} != no - mtree -deU -f ${.CURDIR}/etc/mtree/BIND.include.dist \ - -p ${WORLDTMP}/usr/include /dev/null -.endif .for _mtree in ${LOCAL_MTREE} mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} /dev/null .endfor Modified: head/ObsoleteFiles.inc == --- head/ObsoleteFiles.inc Mon Sep 30 09:21:17 2013(r255948) +++ head/ObsoleteFiles.inc Mon Sep 30 17:23:45 2013(r255949) @@ -38,6 +38,235 @@ # xargs -n1 | sort | uniq -d; # done +# 20130930: BIND removed from base +OLD_FILES+=etc/namedb +OLD_FILES+=etc/periodic/daily/470.status-named +OLD_FILES+=usr/bin/dig +OLD_FILES+=usr/bin/nslookup +OLD_FILES+=usr/bin/nsupdate +OLD_DIRS+=usr/include/lwres +OLD_FILES+=usr/include/lwres/context.h +OLD_FILES+=usr/include/lwres/int.h +OLD_FILES+=usr/include/lwres/ipv6.h +OLD_FILES+=usr/include/lwres/lang.h +OLD_FILES+=usr/include/lwres/list.h +OLD_FILES+=usr/include/lwres/lwbuffer.h +OLD_FILES+=usr/include/lwres/lwpacket.h +OLD_FILES+=usr/include/lwres/lwres.h +OLD_FILES+=usr/include/lwres/net.h +OLD_FILES+=usr/include/lwres/netdb.h +OLD_FILES+=usr/include/lwres/platform.h +OLD_FILES+=usr/include/lwres/result.h +OLD_FILES+=usr/include/lwres/version.h +OLD_FILES+=usr/lib/liblwres.a +OLD_FILES+=usr/lib/liblwres.so +OLD_LIBS+=usr/lib/liblwres.so.50 +OLD_FILES+=usr/lib/liblwres_p.a +OLD_FILES+=usr/sbin/arpaname +OLD_FILES+=usr/sbin/ddns-confgen +OLD_FILES+=usr/sbin/dnssec-dsfromkey +OLD_FILES+=usr/sbin/dnssec-keyfromlabel +OLD_FILES+=usr/sbin/dnssec-keygen +OLD_FILES+=usr/sbin/dnssec-revoke +OLD_FILES+=usr/sbin/dnssec-settime +OLD_FILES+=usr/sbin/dnssec-signzone +OLD_FILES+=usr/sbin/genrandom +OLD_FILES+=usr/sbin/isc-hmac-fixup +OLD_FILES+=usr/sbin/lwresd +OLD_FILES+=usr/sbin/named +OLD_FILES+=usr/sbin/named-checkconf +OLD_FILES+=usr/sbin/named-checkzone +OLD_FILES+=usr/sbin/named-compilezone +OLD_FILES+=usr/sbin/named-journalprint +OLD_FILES+=usr/sbin/named.reconfig +OLD_FILES+=usr/sbin/named.reload +OLD_FILES+=usr/sbin/nsec3hash +OLD_FILES+=usr/sbin/rndc +OLD_FILES+=usr/sbin/rndc-confgen +OLD_DIRS+=usr/share/doc/bind9 +OLD_FILES+=usr/share/doc/bind9/CHANGES +OLD_FILES+=usr/share/doc/bind9/COPYRIGHT +OLD_FILES+=usr/share/doc/bind9/FAQ +OLD_FILES+=usr/share/doc/bind9/HISTORY +OLD_FILES+=usr/share/doc/bind9/README +OLD_DIRS+=usr
svn commit: r255951 - head/share/man/man5
Author: des Date: Mon Sep 30 17:40:39 2013 New Revision: 255951 URL: http://svnweb.freebsd.org/changeset/base/255951 Log: Regenerate. Approved by: re (gjb) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 == --- head/share/man/man5/src.conf.5 Mon Sep 30 17:35:48 2013 (r255950) +++ head/share/man/man5/src.conf.5 Mon Sep 30 17:40:39 2013 (r255951) @@ -1,7 +1,7 @@ .\ DO NOT EDIT-- this file is automatically generated. .\ from FreeBSD: head/tools/build/options/makeman 253304 2013-07-12 23:08:44Z bapt .\ $FreeBSD$ -.Dd September 24, 2013 +.Dd September 30, 2013 .Dt SRC.CONF 5 .Os .Sh NAME @@ -127,50 +127,6 @@ Set to not build audit support into syst .\ from FreeBSD: head/tools/build/options/WITHOUT_AUTHPF 156932 2006-03-21 07:50:50Z ru Set to not build .Xr authpf 8 . -.It Va WITH_BIND -.\ from FreeBSD: head/tools/build/options/WITH_BIND 255850 2013-09-24 14:33:31Z des -Setting this variable will enable BIND. -When set, the following options are also in effect: -.Pp -.Bl -inset -compact -.It Va WITH_BIND_DNSSEC -(unless -.Va WITHOUT_BIND_DNSSEC -is set explicitly) -.It Va WITH_BIND_ETC -(unless -.Va WITHOUT_BIND_ETC -is set explicitly) -.It Va WITH_BIND_LIBS_LWRES -(unless -.Va WITHOUT_BIND_LIBS_LWRES -is set explicitly) -.It Va WITH_BIND_MTREE -(unless -.Va WITHOUT_BIND_MTREE -is set explicitly) -.It Va WITH_BIND_NAMED -(unless -.Va WITHOUT_BIND_NAMED -is set explicitly) -.El -.It Va WITH_BIND_IDN -.\ from FreeBSD: head/tools/build/options/WITH_BIND_IDN 193280 2009-06-01 21:58:59Z dougb -Set to enable IDN support for dig, host, and nslookup. -This requires ports/dns/idnkit to be installed in /usr/local. -.It Va WITH_BIND_LARGE_FILE -.\ from FreeBSD: head/tools/build/options/WITH_BIND_LARGE_FILE 193280 2009-06-01 21:58:59Z dougb -Set to enable 64-bit file support. -.It Va WITH_BIND_LIBS -.\ from FreeBSD: head/tools/build/options/WITH_BIND_LIBS 193280 2009-06-01 21:58:59Z dougb -Set to install BIND libraries and include files. -.It Va WITH_BIND_SIGCHASE -.\ from FreeBSD: head/tools/build/options/WITH_BIND_SIGCHASE 193280 2009-06-01 21:58:59Z dougb -Set to enable DNSSEC validation support for dig, host, and nslookup. -.It Va WITH_BIND_XML -.\ from FreeBSD: head/tools/build/options/WITH_BIND_XML 193280 2009-06-01 21:58:59Z dougb -Set to enable the http statistics interface for named. -This requires ports/textproc/libxml2 to be installed in /usr/local. .It Va WITHOUT_BINUTILS .\ from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS 235342 2012-05-12 16:12:36Z gjb Set to not install binutils (as, c++-filt, gconv, gnu-ar, gnu-randlib, @@ -698,20 +654,6 @@ When set, it also enforces the following .Pp .Bl -item -compact .It -.Va WITHOUT_BIND -.It -.Va WITHOUT_BIND_DNSSEC -.It -.Va WITHOUT_BIND_ETC -.It -.Va WITHOUT_BIND_LIBS -.It -.Va WITHOUT_BIND_LIBS_LWRES -.It -.Va WITHOUT_BIND_MTREE -.It -.Va WITHOUT_BIND_NAMED -.It .Va WITHOUT_LIBTHR .El .It Va WITHOUT_LIBTHR @@ -720,24 +662,6 @@ Set to not build the .Nm libthr (1:1 threading) library. -When set, it also enforces the following options: -.Pp -.Bl -item -compact -.It -.Va WITHOUT_BIND -.It -.Va WITHOUT_BIND_DNSSEC -.It -.Va WITHOUT_BIND_ETC -.It -.Va WITHOUT_BIND_LIBS -.It -.Va WITHOUT_BIND_LIBS_LWRES -.It -.Va WITHOUT_BIND_MTREE -.It -.Va WITHOUT_BIND_NAMED -.El .It Va WITH_LLDB .\ from FreeBSD: head/tools/build/options/WITH_LLDB 255722 2013-09-20 01:52:02Z emaste Set to build the LLDB debugger. ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Re: svn commit: r255949 - in head: . contrib/bind9 etc etc/mtree include lib lib/bind release share/doc share/doc/bind9 share/mk tools/build/mk tools/build/options usr.bin usr.bin/host usr.bin/nslooku
On Sep 30, 2013, at 11:23 AM, Dag-Erling Smørgrav d...@freebsd.org wrote: Author: des Date: Mon Sep 30 17:23:45 2013 New Revision: 255949 URL: http://svnweb.freebsd.org/changeset/base/255949 Log: Remove BIND. Approved by: re (gjb) Thanks for all your work around this. Are you planning to add a note to UPDATING with a heads-up and some hints on how to transition from BIND-in-base to one of either unbound-in-base or BIND-from-ports? The same info should also appear prominently in the release notes. JN ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Re: svn commit: r255951 - head/share/man/man5
Dag-Erling SmXXrgrav d...@freebsd.org writes: Log: Regenerate. Approved by:re (gjb) Modified: head/share/man/man5/src.conf.5 Note that I intentionally left out the toolchain-related changes that somebody[tm] forgot to commit earlier. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Re: svn commit: r255949 - in head: . contrib/bind9 etc etc/mtree include lib lib/bind release share/doc share/doc/bind9 share/mk tools/build/mk tools/build/options usr.bin usr.bin/host usr.bin/nslooku
John Nielsen li...@jnielsen.net writes: Thanks for all your work around this. Are you planning to add a note to UPDATING with a heads-up and some hints on how to transition from BIND-in-base to one of either unbound-in-base or BIND-from-ports? The same info should also appear prominently in the release notes. Sure, thanks for the reminder. DES -- Dag-Erling Smørgrav - d...@des.no ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
svn commit: r255953 - head/etc/mtree
Author: des Date: Mon Sep 30 18:00:54 2013 New Revision: 255953 URL: http://svnweb.freebsd.org/changeset/base/255953 Log: Remove /usr/include/lwres Approved by: re (gjb) Modified: head/etc/mtree/BSD.include.dist Modified: head/etc/mtree/BSD.include.dist == --- head/etc/mtree/BSD.include.dist Mon Sep 30 17:57:22 2013 (r255952) +++ head/etc/mtree/BSD.include.dist Mon Sep 30 18:00:54 2013 (r255953) @@ -249,8 +249,6 @@ .. libmilter .. -lwres -.. lzma .. machine ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
svn commit: r255954 - head
Author: des Date: Mon Sep 30 18:06:43 2013 New Revision: 255954 URL: http://svnweb.freebsd.org/changeset/base/255954 Log: Note the removal of BIND, where to find it, and how to use local_unbound instead. Approved by: re (gjb) Modified: head/UPDATING Modified: head/UPDATING == --- head/UPDATING Mon Sep 30 18:00:54 2013(r255953) +++ head/UPDATING Mon Sep 30 18:06:43 2013(r255954) @@ -31,6 +31,12 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10 disable the most expensive debugging functionality run ln -s 'abort:false,junk:false' /etc/malloc.conf.) +20130930: + BIND has been removed from the base system. If all you need + is a local resolver, simply enable and start the local_unbound + service instead. Otherwise, several versions of BIND are + available in the ports tree. + 20130916: With the addition of unbound(8), a new unbound user is now required during installworld. mergemaster -p can be used to ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
svn commit: r255955 - head
Author: delphij Date: Mon Sep 30 20:33:56 2013 New Revision: 255955 URL: http://svnweb.freebsd.org/changeset/base/255955 Log: Reverse directories order when doing 'make delete-old-dir'. This ensures subdirectories gets removed before their parents when doing make delete-old. Approved by: re (gjb) MFC after:2 weeks Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 == --- head/Makefile.inc1 Mon Sep 30 18:06:43 2013(r255954) +++ head/Makefile.inc1 Mon Sep 30 20:33:56 2013(r255955) @@ -1673,7 +1673,7 @@ delete-old-files: # the Makefile parser segfault. @exec 30; \ ${MAKE} -f ${.CURDIR}/Makefile.inc1 ${.MAKEFLAGS} ${.TARGET} \ - -V OLD_FILES -V OLD_FILES:Musr/share/*.gz:R | xargs -n1 | \ + -V OLD_FILES -V OLD_FILES:Musr/share/*.gz:R | xargs -n1 | sort -r | \ while read file; do \ if [ -f ${DESTDIR}/$${file} -o -L ${DESTDIR}/$${file} ]; then \ chflags noschg ${DESTDIR}/$${file} 2/dev/null || true; \ ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
svn commit: r255956 - head/usr.bin/calendar/calendars
Author: rene (doc,ports committer) Date: Mon Sep 30 20:49:10 2013 New Revision: 255956 URL: http://svnweb.freebsd.org/changeset/base/255956 Log: Update the Dutch calendar entries: - prince Johan Friso passed away in 2013 - correct status of queen Maxima and crown princess Catharina-Amalia - language fixes Approved by: remko (mentor) Approved by: re (gjb) MFC after:3 days Modified: head/usr.bin/calendar/calendars/calendar.dutch Modified: head/usr.bin/calendar/calendars/calendar.dutch == --- head/usr.bin/calendar/calendars/calendar.dutch Mon Sep 30 20:33:56 2013(r255955) +++ head/usr.bin/calendar/calendars/calendar.dutch Mon Sep 30 20:49:10 2013(r255956) @@ -22,11 +22,11 @@ nov/01 Allerheiligen nov/02 Allerzielen nov/11 Sint Maarten nov/11 Elfde-van-de-elfde -dec/05 Sinterklaas avond +dec/05 Sinterklaasavond dec/15 Koninkrijksdag dec/24 Kerstavond -dec/25 Eerste kerstdag -dec/26 Tweede kerstdag +dec/25 Eerste Kerstdag +dec/26 Tweede Kerstdag dec/28 Feest der Onnozele Kinderen dec/31 Oudjaar @@ -40,10 +40,10 @@ Pasen-47Carnaval (Vastenavond) Pasen-46 Aswoensdag Pasen-7Palmzondag Pasen-3Witte Donderdag -Pasen-2Goede vrijdag -Pasen-1Stille zaterdag -Pasen Eerste paasdag -Pasen+1Tweede paasdag +Pasen-2Goede Vrijdag +Pasen-1Stille Zaterdag +Pasen Eerste Paasdag +Pasen+1Tweede Paasdag Pasen+39 Hemelvaartsdag Pasen+49 Eerste Pinksterdag Pasen+50 Tweede Pinksterdag @@ -65,15 +65,15 @@ feb/17 Prins Willem III (1817 - 1890) feb/18 Prinses Christina (1947) apr/10 Prinses Ariane (2007) apr/19 Prins Hendrik (1876 - 1934) -apr/27 Koning Willem Alexander (1967) +apr/27 Koning Willem-Alexander (1967) apr/30 Prinses Juliana (1909 - 2004) apr/30 Mr. Pieter van Vollenhoven (1939) -mei/17 Prinses Maxima (1971) +mei/17 Koningin Maxima (1971) jun/26 Prinses Alexia (2005) jun/29 Prins Bernhard (1911 - 2004) aug/05 Prinses Irene (1939) aug/31 Prinses Wilhelmina (1880 - 1962) sep/06 Prins Claus (1925 - 2002) -sep/25 Prins Johan Friso (1968) +sep/25 Prins Johan Friso (1968 - 2013) okt/11 Prins Constantijn (1969) -dec/07 Prinses Catharina-Amalia (2003) +dec/07 Kroonprinses Catharina-Amalia (2003) ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
Re: svn commit: r255931 - head/contrib/binutils/bfd
On Sep 29, 2013, at 01:03, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Sat Sep 28 23:03:40 2013 New Revision: 255931 URL: http://svnweb.freebsd.org/changeset/base/255931 Log: Fix a bug in ld, where indirect symbols are not handled properly during linking of a shared library, leading to corrupt indexes in the dynamic symbol table. This should fix the multimedia/ffmpegthumbnailer port. The reason for this commit is an unfortunate interaction between our base ld (which is at 2.17.50, quite ancient), and ports ld (2.23.2). The latter version can put versioned symbols into an .so file in a way that is not handled by the former version, leading to corrupt symbol table entries. Here is an example, derived from the original problem Steve Wills reported. Suppose we are building a libavcodec.so, which uses versioned symbols, and it assigns those versions to *all* its symbols, using the following version script: $ cat libavcodec.ver LIBAVCODEC_52 { global: *; }; Next we link some empty object file (the contents do not matter) into libavcodec.so, using the version script, with the base ld: $ touch empty.c $ cc empty.c -o libavcodec.so -shared -s -Wl,--version-script,libavcodec.ver The resulting .so file has several NOTYPE GLOBAL symbols (_end, _edata and __bss_start), which are marked as ABS (absolute): $ readelf -a libavcodec.so | grep -A8 Symbol table '\.dynsym' Symbol table '.dynsym' contains 9 entries: Num:Value Size TypeBind Vis Ndx Name 0: 0 NOTYPE LOCAL DEFAULT UND 1: 413 FUNCWEAK DEFAULT UND __cxa_finalize@FBSD_1.0 (3) 2: 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 3: 1510 0 NOTYPE GLOBAL DEFAULT ABS _end@@LIBAVCODEC_52 4: 1510 0 NOTYPE GLOBAL DEFAULT ABS _edata@@LIBAVCODEC_52 5: 0 OBJECT GLOBAL DEFAULT ABS LIBAVCODEC_52 6: 1510 0 NOTYPE GLOBAL DEFAULT ABS __bss_start@@LIBAVCODEC_52 But if you link the .so with the ports ld (by using the cc -B option), the output is slightly different: $ cc -B/usr/local/bin empty.c -o libavcodec.so -shared -s -Wl,--version-script=libavcodec.ver The resulting .so file again has several NOTYPE GLOBAL symbols, but this time they point to the .data section (Ndx=21 in this case): $ readelf -a libavcodec.so | grep -A8 Symbol table '\.dynsym' Symbol table '.dynsym' contains 9 entries: Num:Value Size TypeBind Vis Ndx Name 0: 0 NOTYPE LOCAL DEFAULT UND 1: 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 2: 0 FUNCWEAK DEFAULT UND __cxa_finalize@FBSD_1.0 (3) 3: 1510 0 NOTYPE GLOBAL DEFAULT 21 _edata@@LIBAVCODEC_52 4: 1510 0 NOTYPE GLOBAL DEFAULT 21 _end@@LIBAVCODEC_52 5: 0 OBJECT GLOBAL DEFAULT ABS LIBAVCODEC_52 6: 1510 0 NOTYPE GLOBAL DEFAULT 21 __bss_start@@LIBAVCODEC_52 If you now attempt to link any other .so file, using the libavcodec.so produced by ports ld as a dependency, with the _base_ ld, it will not handle those symbols correctly, and corrupt them: $ cc empty.c -o libffmpegthumbnailer.so -shared -s libavcodec.so $ readelf -a libffmpegthumbnailer.so | grep -A8 Symbol table '\.dynsym' Symbol table '.dynsym' contains 8 entries: Num:Value Size TypeBind Vis Ndx Name 0: 0 NOTYPE LOCAL DEFAULT UND 1: 413 FUNCWEAK DEFAULT UND __cxa_finalize@FBSD_1.0 (2) 2: 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses 3: a5a5a5a5 0xa5a5a5a5 COMMON OS specific: 10 INTERNAL [other: a4] bad section index[42405] corrupt 4: a5a5a5a5 0xa5a5a5a5 COMMON OS specific: 10 INTERNAL [other: a4] bad section index[42405] corrupt 5: a5a5a5a5 0xa5a5a5a5 COMMON OS specific: 10 INTERNAL [other: a4] bad section index[42405] corrupt 6: 0260 0 FUNCGLOBAL DEFAULT9 _init Any attempt to link with the resulting libffmpegthumbnailer.so will fail. (The a5a5a5a5 number is actually an uninitialized value.) The r255931 commit fixes this by making ld properly handle these so-called 'indirect' symbols, similar to what upstream ld has already implemented. -Dimitry signature.asc Description: Message signed with OpenPGP using GPGMail
svn commit: r255957 - head/include
Author: ian Date: Mon Sep 30 21:01:04 2013 New Revision: 255957 URL: http://svnweb.freebsd.org/changeset/base/255957 Log: Set proper permissions on the generated osreldate.h file; a file readable only by root can cause install problems, especially over nfs. Submitted by: jilles@ Approved by: re (gjb) Modified: head/include/mk-osreldate.sh Modified: head/include/mk-osreldate.sh == --- head/include/mk-osreldate.shMon Sep 30 20:49:10 2013 (r255956) +++ head/include/mk-osreldate.shMon Sep 30 21:01:04 2013 (r255957) @@ -48,4 +48,5 @@ $COPYRIGHT #define __FreeBSD_version $RELDATE #endif EOF +chmod 644 $tmpfile mv $tmpfile osreldate.h ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org
svn commit: r255958 - in head/contrib/dialog/samples: copifuncs install
Author: dteske Date: Mon Sep 30 21:26:03 2013 New Revision: 255958 URL: http://svnweb.freebsd.org/changeset/base/255958 Log: Add missing mergeinfo associated with r255852. Approved by: re (gjb) Deleted: head/contrib/dialog/samples/copifuncs/ head/contrib/dialog/samples/install/ Modified: Directory Properties: head/contrib/dialog/ (props changed) ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org