Date: Thu, 14 Jun 2012 22:24:32 -0400
From: Alexander Kabaev <kabaev@gmail.com>
To: Richard Yao <ryao@gentoo.org>
Cc: "gentoo-bsd@lists.gentoo.org" <gentoo-bsd@lists.gentoo.org>, "hackers@FreeBSD.org" <hackers@FreeBSD.org>
Subject: Re: Import crt{begin,end}.S from NetBSD
Message-ID: <20120614222432.24e52fee@kan.dyndns.org>
In-Reply-To: <4FDA9732.9020804@gentoo.org>
References: <4FDA3364.2020102@gentoo.org> <2073f978e4954a989754752f4da71f9a@HUBCAS2.cs.stonybrook.edu> <4FDA9732.9020804@gentoo.org>
index | next in thread | previous in thread | raw e-mail
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 14 Jun 2012 22:00:18 -0400
Richard Yao <ryao@gentoo.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06/14/12 20:51, Alexander Kabaev wrote:
> > On Thu, 14 Jun 2012 14:54:28 -0400
> > Richard Yao <ryao@gentoo.org> wrote:
> >
> >> NetBSD has replacements for GCC's crt{begin,end}.S:
> >>
> >> http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/csu/arch/?only_with_tag=MAIN
> >>
> >> This would complement compiler-rt and libstdc++. We intend to
> >> import it in downstream Gentoo FreeBSD.
> >>
> >> Could this be imported into FreeBSD-CURRENT?
> >
> > Apart from licensing, what others reasons are there to do that?
> >
> These components should not be tied to a specific compiler. If GCC is
> going to be deprecated, then they should be replaced.
>
> Anyway, having this tied to GCC has caused headaches for Clang
> integration in Gentoo. In particular, we let the user pick the
> toolchain that he uses, so we cannot place GCC's crt{begin,end}.o in
> the same location that FreeBSD uses. This makes it difficult for
> Clang to find the correct crt{begin,end}.o. We will likely import the
> NetBSD crt{begin,end}.S code to rectify this, but it would be
> preferable to do this in upstreamFreeBSD.
Assuming NetBSD version is a direct plugin for crtbegin/end provided
by GCC, I see no reason why we cannot do that. Are you are willing to do
the work and submit the patch, or would like to wait for someone on
our side?
- --
Alexander Kabaev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
iD8DBQFP2pzlQ6z1jMm+XZYRAj9DAKDiYhGiRDL9Ow8/fkcBW+EOX1DrJwCfdJH7
bL9t1FXvMhua6bu2Sv5BwGE=
=DbLg
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120614222432.24e52fee>
