From owner-freebsd-stable@freebsd.org Wed Jan 11 22:47:53 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06850CAB44F for ; Wed, 11 Jan 2017 22:47:53 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [IPv6:2001:418:3fd::f7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C515E1162; Wed, 11 Jan 2017 22:47:52 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:418:3fd::1f] (haymarket.m5p.com [IPv6:2001:418:3fd::1f]) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTP id v0BMljSd061145; Wed, 11 Jan 2017 17:47:50 -0500 (EST) (envelope-from george+freebsd@m5p.com) Subject: Re: 10.3-RELEASE-p13 "unsupported file layout" To: Dimitry Andric References: <63bc650f-60d3-4f24-0c5f-4b02f602e21d@m5p.com> <3095417A-E707-42C2-A3DA-F7E07AFED9F8@FreeBSD.org> Cc: FreeBSD Stable Mailing List From: George Mitchell Message-ID: Date: Wed, 11 Jan 2017 17:47:45 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <3095417A-E707-42C2-A3DA-F7E07AFED9F8@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qVsBkILSVmh9TNiVfb0e1EuLhIRg9E8PX" X-Spam-Status: No, score=-3.8 required=10.0 tests=ALL_TRUSTED, RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mattapan.m5p.com X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.1 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Wed, 11 Jan 2017 17:47:51 -0500 (EST) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 22:47:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qVsBkILSVmh9TNiVfb0e1EuLhIRg9E8PX Content-Type: multipart/mixed; boundary="onBMKSNXevSKFUTKBGhIik725joXWFqPC"; protected-headers="v1" From: George Mitchell To: Dimitry Andric Cc: FreeBSD Stable Mailing List Message-ID: Subject: Re: 10.3-RELEASE-p13 "unsupported file layout" References: <63bc650f-60d3-4f24-0c5f-4b02f602e21d@m5p.com> <3095417A-E707-42C2-A3DA-F7E07AFED9F8@FreeBSD.org> In-Reply-To: <3095417A-E707-42C2-A3DA-F7E07AFED9F8@FreeBSD.org> --onBMKSNXevSKFUTKBGhIik725joXWFqPC Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 01/11/17 17:40, Dimitry Andric wrote: > On 11 Jan 2017, at 23:35, George Mitchell wrot= e: >> >> On 01/11/17 17:25, Dimitry Andric wrote: >>> On 11 Jan 2017, at 21:24, George Mitchell wr= ote: > ... >>>> building shared library libc.so.7 >>>> cc (a very long compile line) >>>> ./libc.so.7: unsupported file layout >>> >>> If things went correctly, the libc.so.7 file should be in >>> /usr/obj/usr/src/lib/libc. If so, can you post the output of: >>> >>> file /usr/obj/usr/src/lib/libc/libc.so.7 >>> readelf -h /usr/obj/usr/src/lib/libc/libc.so.7 >>> >>> -Dimitry >>> >> root@sullivan:/usr/src # file /usr/obj/usr/src/lib/libc/libc.so.7 >> /usr/obj/usr/src/lib/libc/libc.so.7: ELF 64-bit LSB shared object, >> x86-64, version 1 (FreeBSD), dynamically linked, not stripped >> root@sullivan:/usr/src # readelf -h /usr/obj/usr/src/lib/libc/libc.so.= 7 >> ELF Header: >> Magic: 7f 45 4c 46 02 01 01 09 00 00 00 00 00 00 00 00 >> Class: ELF64 >> Data: 2's complement, little endian >> Version: 1 (current) >> OS/ABI: UNIX - FreeBSD >> ABI Version: 0 >> Type: DYN (Shared object file) >> Machine: Advanced Micro Devices X86-64 >> Version: 0x1 >> Entry point address: 0x3aee0 >> Start of program headers: 64 (bytes into file) >> Start of section headers: 1644696 (bytes into file) >> Flags: 0x0 >> Size of this header: 64 (bytes) >> Size of program headers: 56 (bytes) >> Number of program headers: 6 >> Size of section headers: 64 (bytes) >> Number of section headers: 40 >> Section header string table index: 37 >> >> That isn't the only libc.so.7 in my build tree, though: >> >> /usr/obj/usr/src/tmp/lib/libc.so.7: ELF 64-bit LSB shared objec= t, >> x86-64, version 1 (FreeBSD), dynamically linked, not stripped >> /usr/obj/usr/src/lib/libc/libc.so.7: ELF 64-bit LSB shared objec= t, >> x86-64, version 1 (FreeBSD), dynamically linked, not stripped >> /usr/obj/lib32/usr/src/lib/libc/libc.so.7: ELF 32-bit LSB shared objec= t, >> Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped >=20 > Hm, that all looks perfectly normal, supposing that you are on amd64. > Maybe it's the stripping that fails? Do you have STRIP defined in your= > environment, or make.conf? >=20 > -Dimitry >=20 No, STRIP is not defined anywhere. -- George --onBMKSNXevSKFUTKBGhIik725joXWFqPC-- --qVsBkILSVmh9TNiVfb0e1EuLhIRg9E8PX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlh2thEACgkQwRES3m+p 4fnuxg//d2px9DSSLAeUFNjjadl49tS6/0+nHrwCvtd+aQwBg0XvX4STOZWrPhCE +QruVdzHrXfSq7FrdKcoCXhLqJVJxO7m6NHmsLvSnYzZgY7heZRWlW7XkfcUdO2t 16smzNtxMw7nub4k2T/FcB9bP/VeAgBYHfzFOliDViPALfYyW1h8ctJQHD31hFpf C9VG1D83Xbq7l4+SW9VIa1NW0dT32pNWaK/aFvG4xgMRyt9fQaNThzI/YA5kSgqM 0sz0+wFDIWik6pthiT6tGRL41CrUcLms0dOK+QH0dTeNF4UBpT4cQyZFBZ4cY9un 4bU8RtTEOHQsMTYRIAZajyljpjUKwHe/ivEV9b6OVqdSX2Otqre2Bc+Yubs/zVQg v64c0ryka1DA0fD6CG7QzuTrRX0Zo1KE2X9iSirwxiLBnkyY44lSFz4TThpc6Ij2 FUctnfDN4KAu4NoBkZICdvcTYxpe/vo7nc4sUe+bJDD+L91JhKaZ3t3qz0x3O3a8 5hJpXItS+gqe/jXVt/oeH8FwdNBqcnpaBLAUHcwVXqZEY5omheMhkmCZ7LdpaJ4R NlbnD/OPS4jP01PJlPfF/aRKxc+u8N96MArc5r5c1aKFjMYOntfLmP3ZBXvBlPnb LjmxJYvXMsHOgPvjhj/AnkXtDq5y5u0FmrOZrzqSgszyG4ElQSE= =sTFg -----END PGP SIGNATURE----- --qVsBkILSVmh9TNiVfb0e1EuLhIRg9E8PX--