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?
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.
Thanks in advance for any help!
Evan Carson
On 8 February 2014 07:37, Evan Carson carson.evan@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/cros..., 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-.... The source tarball is http://releases.linaro.org/13.10/components/toolchain/eglibc-linaro/eglibc-l...
It is built by http://releases.linaro.org/13.10/components/toolchain/binaries/crosstool-ng-.... 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
Hi,
Thank you for the info, it was very helpful.
I ran make-sysroot.sh and found that a package on the mirror in the script was stale. By adding some others into the sources.list creation step I was able to get it mostly working. There was a debuild bug I ran into specifically with the libc6-dbg package but by removing this from the list in the script it was able to complete without this.
The packages pulled in by the script appear to also be binaries? What it did show me though is that the packages are "libc6-dev_2.13-20ubuntu5_armel" and I think I can build from these.
Thanks again,
Evan
On Fri, Feb 7, 2014 at 8:32 PM, Zhenqiang Chen zhenqiang.chen@linaro.orgwrote:
On 8 February 2014 07:37, Evan Carson carson.evan@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/cros... , 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-... . The source tarball is
http://releases.linaro.org/13.10/components/toolchain/eglibc-linaro/eglibc-l...
It is built by http://releases.linaro.org/13.10/components/toolchain/binaries/crosstool-ng-... . 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@lists.linaro.org