Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2023 03:59:44 +0000
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Cy Schubert <Cy.Schubert@cschubert.com>
Cc:        John Baldwin <jhb@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: b069d3e01931 - main - rtld: Revert "When loading dso without PT_GNU_STACK phdr, only call"
Message-ID:  <C41C83D5-9123-48C1-A3A2-7694556C8CE8@freebsd.org>
In-Reply-To: <20230105035046.A01DE62E@slippy.cwsent.com>
References:  <202301042255.304MtY3G002415@gitrepo.freebsd.org> <20230105035046.A01DE62E@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 Jan 2023, at 03:50, Cy Schubert <Cy.Schubert@cschubert.com> wrote:
>=20
> In message <202301042255.304MtY3G002415@gitrepo.freebsd.org>, John =
Baldwin=20
> writ
> es:
>> The branch main has been updated by jhb:
>>=20
>> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3Db069d3e0193121ff6de348f68c7ce93e=

>> e61e5e2f
>>=20
>> commit b069d3e0193121ff6de348f68c7ce93ee61e5e2f
>> Author:     John Baldwin <jhb@FreeBSD.org>
>> AuthorDate: 2023-01-04 22:55:00 +0000
>> Commit:     John Baldwin <jhb@FreeBSD.org>
>> CommitDate: 2023-01-04 22:55:00 +0000
>>=20
>>    rtld: Revert "When loading dso without PT_GNU_STACK phdr, only =
call"
>>=20
>>    After the removal of ia64 and sparc64, all current architectures
>>    support executable stacks at an architectural level.
>>=20
>>    This reverts commit 1290d38ac50b3afa7e5781d9d97346a1042c736c.
>=20
> I tried git log as follows in two independent repos, my "prod" repo =
and the=20
> working repo I commit from:
>=20
> slippy$ git log 1290d38ac50b3afa7e5781d9d97346a1042c736c
> fatal: bad object 1290d38ac50b3afa7e5781d9d97346a1042c736c
> slippy$=20
>=20
> Could there be some corruption somewhere? Do other people have the =
same=20
> result as I do when they run git log against that hash? Or are my =
repos=20
> corrupted?
>=20
> When I run git log and search for the string "When loading dso without=20=

> PT_GNU_STACK phdr, only call", I find the following, suggesting that =
the=20
> svn2git process may have resulted in different hashes in different =
repos=20
> used by  different people.
>=20
> commit cb38d4941c45e3c72c4b5b3fad87d297d950cf53
> Author:     Konstantin Belousov <kib@FreeBSD.org>
> AuthorDate: Tue Jan 25 21:12:31 2011 +0000
> Commit:     Konstantin Belousov <kib@FreeBSD.org>
> CommitDate: Tue Jan 25 21:12:31 2011 +0000
>=20
>    When loading dso without PT_GNU_STACK phdr, only call
>    __pthread_map_stacks_exec() on architectures that allow executable
>    stacks.
>=20
>    Reported and tested by: marcel (ia64)
>=20
> Notes:
>    svn path=3D/head/; revision=3D217851
>=20
> BTW, our GH read-only mirror has the same hash as above suggesting =
that=20
> jhb's repo may not be in sync with others with regard to svn2git =
generated=20
> commits?
>=20
> Or, does this point to a deeper problem with inconsistent repos or =
some=20
> other svn2git inconsistency somewhere?

It=E2=80=99s the hash from the old GitHub mirror that's now =
freebsd/freebsd-legacy.

Jess




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C41C83D5-9123-48C1-A3A2-7694556C8CE8>