This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Extending --with-advance-toolchain to aarch64
- From: Steve Ellcey <sellcey at marvell dot com>
- To: "amodra at gmail dot com" <amodra at gmail dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "tuliom at linux dot ibm dot com" <tuliom at linux dot ibm dot com>
- Date: Thu, 10 Oct 2019 16:18:14 +0000
- Subject: Re: RFC: Extending --with-advance-toolchain to aarch64
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CuNM4XZlTZx6UrISN+TtBYrCoc3i8ueYMQWeN7kLYws=; b=I+qIWbsc9diAemhu2I6xnxT3qWLKAVznRw1L5hnsfCFtZu8AfP7crYI3fPzuc2ZKLOzYLR90p/pzQhmOqR8R3tPbkhy39Nonojk7VWkb2btdnJSt3tvA+p+9kpXk7WWl5zESiRFKJslhvD5/ndgYY6twXZ0wgHt55+TNVeQcCBT1M1E6ATvqfn04lF+5onBXI8wmWCWBYacVqMzzj0gWh3kelnNPbn2nAfw6PXgaHx61loEOqgigZHn/XLPvAmToma3iPS3Wc/Yqa3IX47PBIHNv2Eh+F1FjUbiXsKVUsHxErfh63lH8NxrUe2L4JZ8ollfFRPDMbWEfWl3BPLbdZw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dEqjlB24/sMe3sMSuHnzhRIgroec7uQRnR8fYJHmlj9FBsMbC2m/RJTTkQCqqA2cW+eQRZLaJrRj4zUDnbuTl8kWIG/EFD9Zch5AO+nngi7SdpbK0cxRxiSuYU7V6FkDAS6je1+LYCFDP1fnoiC1pMtGi98ixLBJuN/8yiXYbu4ZFVmTbEogo1ePPJxtwktquHQQBcjAeCUX6W0gvwtIYS09XdT7i5wyP1cx+hkKFEP28b+DdO0JqKqDRYZHSb4nLBkxRdLGe199/k/U5ViHgcL+nlvELtga7BJ9QrZ5Z+s6B+gONl0ejV2hJvGDEbfI96T9CC3vdpapzeCWAik23g==
- References: <dd6757ea29019f93720d348db7b810ea3e8cbe07.camel@marvell.com> <20191010001915.GA29173@bubble.grove.modra.org>
On Thu, 2019-10-10 at 10:49 +1030, Alan Modra wrote:
> On Wed, Oct 09, 2019 at 10:29:48PM +0000, Steve Ellcey wrote:
> > I have a question about building a toolchain that uses (at run
> > time) a
> > dynamic linker and system libraries and headers that are in a non-
> > standard
> > place.
>
> I had scripts a long time ago to build a complete toolchain including
> glibc that could be installed in a non-standard location and co-exist
> with other system libraries. I worked around..
>
> > Inconsistency detected by ld.so: get-dynamic-info.h: 147:
> > elf_get_dynamic_info:
> > Assertion `info[DT_RPATH] == NULL' failed!
>
> ..this by patching glibc.
Yes, I have something working by patching glibc (and gcc) but when I
saw the IBM --with-advance-toolchain option I was hoping I might be
able to come up with a build process that worked and did not need any
patching.
Steve Ellcey
sellcey@marvell.com