Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to test grimoire by Jaka Kranjc (5a59662713a6226ea403bff9efa755266d7fd97a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
  • Cc: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to test grimoire by Jaka Kranjc (5a59662713a6226ea403bff9efa755266d7fd97a)
  • Date: Sun, 4 Jun 2006 12:53:51 +0200

On Sun, Jun 04, 2006 at 05:47:44AM -0500, Jaka Kranjc wrote:
> GIT changes to test grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
>
> libs/glibc/BUILD | 7 ++++++-
> libs/glibc/HISTORY | 3 +++
> 2 files changed, 9 insertions(+), 1 deletion(-)
>
> New commits:
> commit 5a59662713a6226ea403bff9efa755266d7fd97a
> Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
> Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
>
> glibc: handle 32-bit mode on 64-bit (x86_64) processors correctly #11904
>
> diff --git a/libs/glibc/BUILD b/libs/glibc/BUILD
> index 30e0a23..9982804 100755
> --- a/libs/glibc/BUILD
> +++ b/libs/glibc/BUILD
> @@ -48,7 +48,12 @@ # Setup sanitised glibc-kernel-headers f
> #
> persistent_add GLIBC_ARCH &&
> if [[ $(uname -m) = *86_64 ]]; then
> - GLIBC_ARCH=x86_64
> + # handle 32-bit mode on 64-bit (*86_64) processors correctly #11904
> + if grep -q -- "-m64" <<< "$CFLAGS"; then
> + GLIBC_ARCH=x86_64
> + else
> + GLIBC_ARCH=i386
> + fi

I think this whole section should be replaced by SMGL_COMPAT_ARCHS
checks, much saner.

> elif [[ $(uname -m) = ppc ]]; then
> GLIBC_ARCH=ppc
> elif [[ $(uname -m) = *86 ]]; then
> diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
> index 35dc5b8..08f27f2 100644
> --- a/libs/glibc/HISTORY
> +++ b/libs/glibc/HISTORY
> @@ -1,3 +1,6 @@
> +2006-06-04 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
> + * BUILD: handle 32-bit mode on 64-bit processors correctly #11904
> +
> 2006-05-19 David Brown <dmlb2000 AT gmail.com>
> * PRE_INSTALL: removed explicit check of HOST for check against
> SMGL_COMPAT_ARCHS
> _______________________________________________
> SM-Commit mailing list
> SM-Commit AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-commit
>

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page