Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2017 17:35:03 -0500
From:      George Mitchell <george+freebsd@m5p.com>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: 10.3-RELEASE-p13 "unsupported file layout"
Message-ID:  <63bc650f-60d3-4f24-0c5f-4b02f602e21d@m5p.com>
In-Reply-To: <D927A8B5-E4D2-4CE1-A2B1-0C500D405044@FreeBSD.org>
References:  <c0725ed3-0345-321e-ce05-e324bac89717@m5p.com> <D927A8B5-E4D2-4CE1-A2B1-0C500D405044@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--p65Dfls28m7JxvOuFVTIlfoh9c3COGx0v
Content-Type: multipart/mixed; boundary="c1Ci3SdwEE4Wd41GPcMGURVJFDctX0d4c";
 protected-headers="v1"
From: George Mitchell <george+freebsd@m5p.com>
To: Dimitry Andric <dim@FreeBSD.org>
Cc: FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Message-ID: <63bc650f-60d3-4f24-0c5f-4b02f602e21d@m5p.com>
Subject: Re: 10.3-RELEASE-p13 "unsupported file layout"
References: <c0725ed3-0345-321e-ce05-e324bac89717@m5p.com>
 <D927A8B5-E4D2-4CE1-A2B1-0C500D405044@FreeBSD.org>
In-Reply-To: <D927A8B5-E4D2-4CE1-A2B1-0C500D405044@FreeBSD.org>

--c1Ci3SdwEE4Wd41GPcMGURVJFDctX0d4c
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 01/11/17 17:25, Dimitry Andric wrote:
> On 11 Jan 2017, at 21:24, George Mitchell <george+freebsd@m5p.com> wrot=
e:
>>
>> After today's OpenSSH security message, I did:
>>
>> cd /usr
>> rm -rf obj
>=20
> Hmm, not sure if it is wise to completely remove the /usr/obj directory=
=2E
> Did you re-create it afterwards?

In the past, "make buildworld" has taken care of that (as far as I
could tell).

>=20
>=20
>> cd src
>> svn update -r311916
>> make buildworld
>>
>> After a while, I got to:
>>
>> building shared library libc.so.7
>> cc (a very long compile line)
>> ./libc.so.7: unsupported file layout
>=20
> 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:
>=20
> file /usr/obj/usr/src/lib/libc/libc.so.7
> readelf -h /usr/obj/usr/src/lib/libc/libc.so.7
>=20
> -Dimitry
>=20
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 object,
x86-64, version 1 (FreeBSD), dynamically linked, not stripped
/usr/obj/usr/src/lib/libc/libc.so.7:       ELF 64-bit LSB shared object,
x86-64, version 1 (FreeBSD), dynamically linked, not stripped
/usr/obj/lib32/usr/src/lib/libc/libc.so.7: ELF 32-bit LSB shared object,
Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped



--c1Ci3SdwEE4Wd41GPcMGURVJFDctX0d4c--

--p65Dfls28m7JxvOuFVTIlfoh9c3COGx0v
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlh2sxcACgkQwRES3m+p
4flHGhAApS1CxNDvDJFYTUeH5CCXl3qbaDdRFEosBBfIVhSnGb6ZuGwVMhDo7hH8
T3c0qTlF/Gm6jA2GGqC8yH2K/ebdbO8Cu2+BmQBnA4sCWrDoqJwVnVKIKnILjRw7
UZY/0XO3sVcUBGPizqxwhjagin1llAV62yVWM3mPp0g9iodErazlEobgYL6NtjrL
LWRdhe3mCoEjH4im3Hi4ff7TmW3eqKlk0BFyTsT5txe998K++kjYOVlwFjo3N8kV
vnX70aXdW61p3CTBdY5odkj1rieogFGHyaUsfPiNjujTDgkVv2vDiEHWl3B5JKJT
SncOXVYL1GiNGeIMDSZ7DXmEDbKBcFRhao8NpW3GC6r3ZOMoIQmYG/5YplrUcJJE
zdgSbyfsLOBphwl2EOmRbXwDZO8QuYJH73/qL0LqBMGDy17MUR+txiqY0iU8qou7
2hlvuC9kfpggasXg6JTCfPNC2fUUeAbF4vRwOuaedxOcVMMLdOiuryXPQGnyKdTG
HLqAcmFj8jLLIfqu1HnJIoin0v8u88/QmONPA1G2J7dHDe0psON+C2njbVy+HBth
jZE0p41uPOdlh5oj6POCmWOUltxH7RAXsB7vZY2CUQR5BdAzybr4Y08WjgQs5MuZ
9Kif4HZjUFNP92Sf/CbsgoQzvyOMx8JZSTHMOBG6vs6ajE+GGnA=
=yjvH
-----END PGP SIGNATURE-----

--p65Dfls28m7JxvOuFVTIlfoh9c3COGx0v--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63bc650f-60d3-4f24-0c5f-4b02f602e21d>