Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2008 17:18:31 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        "Sean C. Farley" <scf@freebsd.org>
Cc:        freebsd-emulation@freebsd.org, Chagin Dmitry <chagin.dmitry@gmail.com>
Subject:   Re: [PATCH]Re: kern/122318 (CMake core dumping, chroot exiting)
Message-ID:  <20080812141831.GB1803@deviant.kiev.zoral.com.ua>
In-Reply-To: <alpine.BSF.1.10.0808120833510.16715@thor.farley.org>
References:  <alpine.BSF.1.10.0807231236140.12600@thor.farley.org> <alpine.BSF.1.10.0808030024140.81282@ora.chd.net> <alpine.BSF.1.10.0808111509280.9196@thor.farley.org> <20080812092206.GC2852@deviant.kiev.zoral.com.ua> <alpine.BSF.1.10.0808120833510.16715@thor.farley.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--dTy3Mrz/UPE2dbVg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 12, 2008 at 08:36:16AM -0500, Sean C. Farley wrote:
> On Tue, 12 Aug 2008, Kostik Belousov wrote:
>=20
> >On Mon, Aug 11, 2008 at 03:14:50PM -0500, Sean C. Farley wrote:
> >>On Sun, 3 Aug 2008, Chagin Dmitry wrote:
> >>>On Wed, 23 Jul 2008, Sean C. Farley wrote:
> >>>
> >>>>I am seeing if anyone has any insight on this PR (kern/122318[1]).
> >>>>It would be nice to once again build using cmake within a Linux
> >>>>chroot.  :)
> >>>>
> >>>>Basically, the bug is that not only that cmake is dumping core; it
> >>>>is also forcing the user out of the chroot environment.  Here is
> >>>>the command used to start the chroot:
> >>>>/compat/linux/usr/sbin/chroot <chroot path> su - <build user>
> >>>>
> >>>>Thank you.
> >>>>
> >>>>Sean
> >>>>1. http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/122318
> >>>
> >>>here patches for -current and releng_7:
> >>>http://78.107.232.239/rt_signals-current.patch
> >>>http://78.107.232.239/rt_signals-releng_7.patch
> >>>
> >>>what patch do:
> >>>- rt sigtramp code works (this solves PR)
> >>>- align stack pointers
> >>>- remove kern_sigaltstack() at the end of rt_sigreturn(), it's a
> >>> bogus.
> >>>Here there is some information on it:
> >>>http://www.ussg.iu.edu/hypermail/linux/kernel/0405.2/1283.html
> >>
> >>I just tried this patch.  It helps somewhat in that cmake does not
> >>die immediately when running gcc, which may be dieing itself, but
> >>other applications such as zsh and acroread start coring.  With
> >>acroread, it is actually bash, but bash does not core when run
> >>directly.
> >>
> >>This is on an amd64 system.
> >
> >CURRENT (what date ?) or RELENG_7 ?
>=20
> RELENG_7 fairly recent (r181375).  Without the patch, there are no
> problems.  I really like that uname displays the revision.

As a wild guess, please merge r180992 and try again. I doubt that this
is the reason for the problem, but it might be.

--dTy3Mrz/UPE2dbVg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkihm7YACgkQC3+MBN1Mb4jfygCfY+zBBdFWmpJbsVryHkpUhf8X
pncAniuxnIZ3xrgTRFjIlHIxWo6O7dKz
=Enin
-----END PGP SIGNATURE-----

--dTy3Mrz/UPE2dbVg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080812141831.GB1803>