1 |
On Tuesday 14 July 2009 04:40:14 Michael Haubenwallner wrote: |
2 |
> have noticed that the "Evaluating misc gcc warnings" QA check does not |
3 |
> know about "hppa64" cpu in bin/misc-functions.sh: |
4 |
> alpha*|hppa64*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) |
5 |
> gentoo_bug=yes ;; esac |
6 |
|
7 |
looks fine to me -- feel free to add it. or if you cant, i can throw it in if |
8 |
people dont beat me to it. |
9 |
|
10 |
> This was while I was looking why this check blocked merging of gcc-4.3.3 |
11 |
> on the 32bit platform CHOST=ia64-hp-hpux* due to: |
12 |
> warning: implicit declaration of function 'strtok_r' |
13 |
> |
14 |
> Yes, ia64-hp-hpux* is a multilib platform with 32bit default - the 64bit |
15 |
> default would have CHOST=ia64w-hp-hpux*. |
16 |
|
17 |
the hpux guys created their own 32bit ia64 ELF ABI !? or they're using x86 |
18 |
emulation ? both are wicked stupid ... |
19 |
|
20 |
> As we do not do multilib in Prefix, "ia64-hp-hpux*" is 32bit, and I want |
21 |
> to hear your thoughts about this additional line there: |
22 |
> case ${CHOST} in |
23 |
> + ia64-hp-hpux*) ;; # multilib with 32bit default, 64bit is |
24 |
> ia64w-hp-hpux* |
25 |
> alpha*|hppa64*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) |
26 |
> gentoo_bug=yes ;; esac |
27 |
> |
28 |
> Note that each of these are multilib with 32bit default too, although |
29 |
> there is no "64" in the 32bit CHOST: |
30 |
> sparc-*-solaris* (sparc64-*-solaris*) |
31 |
> i386-*-solaris* (x86_64-*-solaris*) |
32 |
> powerpc-ibm-aix* (powerpc64-ibm-aix*) |
33 |
|
34 |
the check is to catch the majority of users, and it does. i dont want to go |
35 |
down this rabbit hole. about we just fix the source code in question and call |
36 |
it a day. |
37 |
-mike |