From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18926 invoked by alias); 12 Jun 2017 15:07:46 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 16360 invoked by uid 48); 12 Jun 2017 15:07:41 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug backends/21541] No error handling for missing backends Date: Tue, 13 Jun 2017 16:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: backends X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q2/txt/msg00242.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D21541 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|eu-readelf --notes fails to |No error handling for |dump PRSTATUS data? |missing backends --- Comment #3 from Mark Wielaard --- (In reply to myocytebd from comment #2) > I looked at: libebl/eblopenbackend.c, > and found openbackend() implementation surprising: > 1. It doesn't try relative path from the executable. > 2. It doesn't try the path from --prefix. > 3. When it failed to load, it doesn't print any message. Yes, this has come up before and it is at least surprising to users. Lets keep this bug open to add some error handling to the ebl backend loadi= ng code so the tools can give at least a warning. --=20 You are receiving this mail because: You are on the CC list for the bug.