From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3342 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: patch: make the size of errbuf configurable Date: Sun, 19 May 2013 23:05:09 +0200 Message-ID: <20130519210509.GA1075@port70.net> References: <5199324A.7020805@eservices.virginia.edu> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1368997523 10487 80.91.229.3 (19 May 2013 21:05:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 May 2013 21:05:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3346-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 19 23:05:23 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UeAnC-0004Nv-VL for gllmg-musl@plane.gmane.org; Sun, 19 May 2013 23:05:23 +0200 Original-Received: (qmail 1564 invoked by uid 550); 19 May 2013 21:05:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 1556 invoked from network); 19 May 2013 21:05:21 -0000 Content-Disposition: inline In-Reply-To: <5199324A.7020805@eservices.virginia.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3342 Archived-At: * Z. Gilboa [2013-05-19 16:12:58 -0400]: > When a shared library that resides in a deeply nested folder > contains unresolved (long-named, mangled) symbols, the displayed > name of the library and/or symbol might get truncated. The attached > patch makes the size of errbuf (ldso/dynlink.c) configurable > (--with-ld-errbuf-size), while yet leaving the default size of 128 > unaffected. i dont think this is the best place to start adding configurations i'd prefer simply increasing the buffer if this is an issue c++ mangled names can get pretty insane, i just checked my system libstdc++ 128 char: _ZNKSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE21_M_extract_via_formatES3_S3_RSt8ios_baseRSt12_Ios_IostateP2tmPKw libicui18n 136 chars: _ZN7icu_4_218DateIntervalFormat24createSDFPatternInstanceERKNS_13UnicodeStringERKNS_6LocaleEPNS_24DateTimePatternGeneratorER10UErrorCode libLLVM 334 chars: _ZN4llvm13LiveIntervals28rewriteInstructionsForSpillsERKNS_12LiveIntervalEbRPKNS_9LiveRangeEPNS_12MachineInstrES9_jibbbbRNS_10VirtRegMapEPKNS_19TargetRegisterClassERNS_11SmallVectorIiLj4EEEPKNS_15MachineLoopInfoERNS_9BitVectorERNS_8DenseMapIjSt6vectorINS0_6SRInfoESaISP_EENS_12DenseMapInfoIjEENSS_ISR_EEEESM_SW_RNSN_IjjST_ST_EERSO_IPS1_SaISZ_EE