[SM-Grimoire-Bugs] [Bug 9580] glibc fails to compile on sparc

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Wed Jan 10 07:38:34 EST 2007


http://bugs.sourcemage.org/show_bug.cgi?id=9580





------- Additional Comments From sobukus at sourcemage.org  2007-01-10 06:38 -------
I didn't loook too closely at the logs here, but I want to note that 
currently, glibc BUILD prevents sparc64 from happening:

if [[ ${SMGL_COMPAT_ARCHS[0]} == 64 && ${SMGL_COMPAT_ARCHS[1]} == sparc ]]; 
then
  #
  # If we're not compiling for 64-bit SPARC then we need to use the sparc
  # headers, not sparc64
  #
  if  echo  "$CFLAGS"  |  grep  -q  --  "-m64";  then
    GLIBC_ARCH=sparc64  &&
    export  CC=gcc64
  else
    GLIBC_ARCH=sparc
  fi  &&

The current archspecs for sparc don't have a -m64 anywhere. We have sparc64  
specs (via hosttype) under 64/ and sparc32 specs under 32/
So this code doesn't look very sane to me.

I won't touch it now because I don't have a sparc box anywhere in reach.


-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the SM-Grimoire-Bugs mailing list