1 |
On Wed, 2009-07-15 at 10:26 -0400, Mike Frysinger wrote: |
2 |
> On Tuesday 14 July 2009 04:40:14 Michael Haubenwallner wrote: |
3 |
> > have noticed that the "Evaluating misc gcc warnings" QA check does not |
4 |
> > know about "hppa64" cpu in bin/misc-functions.sh: |
5 |
> > alpha*|hppa64*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) |
6 |
> > gentoo_bug=yes ;; esac |
7 |
> |
8 |
> looks fine to me -- feel free to add it. or if you cant, i can throw it in if |
9 |
> people dont beat me to it. |
10 |
|
11 |
Should be possible for me, thank you! |
12 |
|
13 |
> |
14 |
> > This was while I was looking why this check blocked merging of gcc-4.3.3 |
15 |
> > on the 32bit platform CHOST=ia64-hp-hpux* due to: |
16 |
> > warning: implicit declaration of function 'strtok_r' |
17 |
> > |
18 |
> > Yes, ia64-hp-hpux* is a multilib platform with 32bit default - the 64bit |
19 |
> > default would have CHOST=ia64w-hp-hpux*. |
20 |
> |
21 |
> the hpux guys created their own 32bit ia64 ELF ABI !? or they're using x86 |
22 |
> emulation ? both are wicked stupid ... |
23 |
|
24 |
Exactly, it is a 32bit ia64 ELF ABI, not x86 (would have different byte |
25 |
order, and would suggest HP-UX runs on x86 ;) ). It is the default |
26 |
compiler output (both aCC and gcc) for backwards compatibility. |
27 |
Did have a discussion with Steve Ellcey (gcc-dev at HP) to add |
28 |
'ia64w-hp-hpux*' for 64bit default, and leave 'ia64-hp-hpux*' for 32bit |
29 |
(both multilib-able). |
30 |
|
31 |
> |
32 |
> > As we do not do multilib in Prefix, "ia64-hp-hpux*" is 32bit, and I want |
33 |
> > to hear your thoughts about this additional line there: |
34 |
> > case ${CHOST} in |
35 |
> > + ia64-hp-hpux*) ;; # multilib with 32bit default, 64bit is |
36 |
> > ia64w-hp-hpux* |
37 |
> > alpha*|hppa64*|ia64*|powerpc64*|mips64*|sparc64*|sparcv9*|x86_64*) |
38 |
> > gentoo_bug=yes ;; esac |
39 |
|
40 |
> the check is to catch the majority of users, and it does. i dont want to go |
41 |
> down this rabbit hole. about we just fix the source code in question and call |
42 |
> it a day. |
43 |
|
44 |
AFAICS, it is the only exception to "*64*" being 64bit. |
45 |
But ok, seems I'll have to mask gcc-4.3 even for hppa-hpux anyway. |
46 |
|
47 |
/haubi/ |
48 |
-- |
49 |
Michael Haubenwallner |
50 |
Gentoo on a different level |