Hi,

have noticed that the "Evaluating misc gcc warnings" QA check does not
know about "hppa64" cpu in bin/misc-functions.sh:
            case ${CHOST} in
        -      alpha*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) 
gentoo_bug=yes ;;
        +      
alpha*|hppa64*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) 
gentoo_bug=yes ;;
            esac
        
This was while I was looking why this check blocked merging of gcc-4.3.3
on the 32bit platform CHOST=ia64-hp-hpux* due to:
        warning: implicit declaration of function 'strtok_r'

Yes, ia64-hp-hpux* is a multilib platform with 32bit default - the 64bit
default would have CHOST=ia64w-hp-hpux*.

As we do not do multilib in Prefix, "ia64-hp-hpux*" is 32bit, and I want
to hear your thoughts about this additional line there:
            case ${CHOST} in 
        +      ia64-hp-hpux*) ;; # multilib with 32bit default, 64bit is 
ia64w-hp-hpux*
               
alpha*|hppa64*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) 
gentoo_bug=yes ;;
            esac

Note that each of these are multilib with 32bit default too, although
there is no "64" in the 32bit CHOST:
sparc-*-solaris*  (sparc64-*-solaris*)
i386-*-solaris*   (x86_64-*-solaris*)
powerpc-ibm-aix*  (powerpc64-ibm-aix*)

Thank you!
/haubi/
-- 
Michael Haubenwallner
Gentoo on a different level


Reply via email to