From owner-freebsd-mips@FreeBSD.ORG Sat Jul 26 23:14:54 2014 Return-Path: Delivered-To: freebsd-mips@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 90B74C42 for ; Sat, 26 Jul 2014 23:14:54 +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 7940E2B79 for ; Sat, 26 Jul 2014 23:14:54 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6QNEsSB022036 for ; Sat, 26 Jul 2014 23:14:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 191587] [mips] 'strip' corrupts static libraries Date: Sat, 26 Jul 2014 23:14:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: sbruno@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-mips@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-mips@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jul 2014 23:14:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191587 --- Comment #8 from Sean Bruno --- Updated and tried a xdev tool chain and a fully native tool chain in emulation via QEMU. pkg still seems to be failing: ===> Staging for pkg-1.3.0 ===> Generating temporary packing list if test -z 'strip'; then /usr/bin/make INSTALL_PROGRAM="/bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0/install-sh -c -s" install_sh_PROGRAM="/bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s install; else /usr/bin/make INSTALL_PROGRAM="/bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0/install-sh -c -s" install_sh_PROGRAM="/bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0/install-sh -c -s" INSTALL_STRIP_FLAG=-s "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; fi Making install in external /usr/bin/make install-am Making install in libpkg Making install in repo Making install in binary Making install in . /bin/mkdir -p '/usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel -s libpkg.la libpkg_static.la '/usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib' libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg.so.3.0.0 /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg.so.3.0.0 libtool: install: strip --strip-unneeded /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg.so.3.0.0 libtool: install: (cd /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib && { ln -s -f libpkg.so.3.0.0 libpkg.so.3 || { rm -f libpkg.so.3 && ln -s libpkg.so.3.0.0 libpkg.so.3; }; }) libtool: install: (cd /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib && { ln -s -f libpkg.so.3.0.0 libpkg.so || { rm -f libpkg.so && ln -s libpkg.so.3.0.0 libpkg.so; }; }) libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg.lai /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg.la libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg_static.lai /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.la libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg_static.a /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a libtool: install: strip --strip-debug /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a libtool: install: chmod 644 /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a libtool: install: ranlib /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a ranlib: fatal: Invalid filename *** Error code 70 Stop. make[6]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0/libpkg *** Error code 1 Stop. make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0/libpkg *** Error code 1 Stop. make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0/libpkg *** Error code 1 Stop. make[3]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0 *** Error code 1 Stop. make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.0 *** Error code 1 Stop. make[1]: stopped in /usr/ports/ports-mgmt/pkg *** Error code 1 Stop. -- You are receiving this mail because: You are the assignee for the bug.