From owner-freebsd-bugs@FreeBSD.ORG Thu Jul 3 19:58:59 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A9FAB65 for ; Thu, 3 Jul 2014 19:58:59 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 728BB2E44 for ; Thu, 3 Jul 2014 19:58:59 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s63Jwxhe068040 for ; Thu, 3 Jul 2014 20:58:59 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191587] New: [mips] 'strip' corrupts static libraries Date: Thu, 03 Jul 2014 19:58:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sson@freebsd.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 19:58:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191587 Bug ID: 191587 Summary: [mips] 'strip' corrupts static libraries Product: Base System Version: 11.0-CURRENT Hardware: Any URL: http://bpaste.net/show/8y6wgjoHTK5tpa6qOfwN/ OS: Any Status: Needs Triage Severity: Affects Some People Priority: Normal Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: sson@freebsd.org CC: garga@FreeBSD.org In building various ports (such as devel/libpcre) I have noticed that 'strip' corrupts the static library and the port build will fail. To reproduce do the following with an unstripped static library: root@erl:/tmp # ls -al libpcre.a -rw-r--r-- 1 sson wheel 404446 Jun 11 18:52 libpcre.a root@erl:/tmp # strip --strip-debug libpcre.a root@erl:/tmp # ls -al libpcre.a -rw-r--r-- 1 sson wheel 403506 Jun 11 18:53 libpcre.a root@erl:/tmp # ranlib libpcre.a ranlib: warning: can't find .strtab section ranlib: fatal: Invalid filename root@erl:/tmp # ls -al libpcre.a -rw-r--r-- 1 sson wheel 0 Jun 11 18:53 libpcre.a -- You are receiving this mail because: You are the assignee for the bug.