[PATCH 1 of 3] arch: s390 and 390x glibc patch

Mike Frysinger vapier@gentoo.org
Wed Nov 11 19:04:00 GMT 2009


On Wednesday 11 November 2009 12:40:28 Harold Grovesteen wrote:
> --- a/scripts/build/libc/glibc.sh	Fri Oct 30 20:08:44 2009 +0100
> +++ b/scripts/build/libc/glibc.sh	Wed Nov 11 09:07:36 2009 -0600
> @@ -152,7 +152,8 @@
>      CT_DoExecLog ALL                                            \
>      "${CT_SRC_DIR}/glibc-${cvs}${CT_LIBC_VERSION}/configure"    \
>          --build="${CT_BUILD}"                                   \
> -        --host="${CT_TARGET}"                                   \
> +        --host="${CT_BUILD}"                                    \
> +        --target="${CT_TARGET}"                                 \

not only is there no --target option for glibc, but it doesnt make any sense 
for there to be one.  the C library doesnt generate code.

setting the --host to the build system is also blatantly wrong.  i dont see 
why you need either of these changes -- i cross-compile s390/s390x just fine 
using the same method as all other targets.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20091111/d060b81b/attachment.sig>


More information about the crossgcc mailing list