On 8 February 2014 07:37, Evan Carson <carson.e...@gmail.com> wrote:
> Hello,
>
> I'm maintaining an older release we have which uses the older toolchian
> binaries in gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux. I've
> identified a bug in glibc we appear to be encountering and would like to
> port the fix back.
>
> I initially went the route of compiling the above toolchain binaries from
> source as described in the readme.txt but then found that the cross compiler
> binary build does not include the e/glibc build and these appear to be
> sucked in in binary form (oneiric-sysroot-r1).
>
> Are there any documents how these prebuilt libc binaries were created?

The prebuilt sysroot was from Ubuntu distribution. We did not build
them from source.

If you had downloaded the
https://launchpad.net/linaro-toolchain-binaries/trunk/2012.03/+download/crosstool-ng-linaro-1.13.1-2012.03-20120326.tar.bz2,
please try the scripts: contrib/linaro/make-sysroot.sh

> Please note that I'm not asking in general how to build glibc. I've built a
> version with and without this bug patched to verify that it is indeed what
> we are hitting. I'm more hoping to get an idea of how the specific binaries
> mentioned above were built.

>From 4.8 release, we build the libc from Linaro release
https://launchpad.net/linaro-toolchain-binaries/support/01/+download/linaro-prebuilt-sysroot-2013.10.tar.bz2.
The source tarball is
http://releases.linaro.org/13.10/components/toolchain/eglibc-linaro/eglibc-linaro-2.18-2013.10.tar.bz2

It is built by 
http://releases.linaro.org/13.10/components/toolchain/binaries/crosstool-ng-linaro-1.13.1-4.8-2013.10.tar.bz2.
Please refer the aarch64-linux-gnu config at
crosstool-ng-linaro-1.13.1-4.8-2013.10/samples/linaro-aarch64-linux-gnu/crosstool.config.

If you can contribute your patch back to glibc/eglibc upstream, that
will be great.

Thanks!
-Zhenqiang

> Thanks in advance for any help!
>
> Evan Carson
>
> _______________________________________________
> linaro-toolchain mailing list
> linaro-toolchain@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/linaro-toolchain
>

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to