[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdalign test with HP-UX cc
From: |
Paul Eggert |
Subject: |
Re: stdalign test with HP-UX cc |
Date: |
Sat, 18 Mar 2017 23:29:48 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Bruno Haible wrote:
This manual is for a quite new HP cc on Itanium (IA-64) servers.
I'm talking about an older HP cc on hppa.
2008 is "quite new"? Clocks must run slowly in the HP-UX world. :-)
I guess the 'aligned' attribute works with some HP-UX cc compilers but not
others. We know it does not work on your compiler (PA-RISC, __HP_cc==111120).
This circa 2013 email quoting Richard Lloyd:
https://lists.gnu.org/archive/html/bug-gnulib/2013-02/msg00095.html
suggests that he had PA-RISC version 111120 and Itanium version 62600 - the
former corresponding to the compiler you used, and the latter presumably
corresponding to the Itanium version A.06.20 listed in the manual you cited, the
manual that says "__attribute__ ((aligned (16)))" works.
I'm inclined to guess that the 'aligned' attribute works on new-enough Itanium
but not PA-RISC compilers. If my guess is right Emacs is in less trouble, since
PA-RISC is mostly obsolete but Itanium is still going. So, how about if we
assume that the "061200" applies to Itanium but not PA-RISC? That should fix
your problem, and we can find out later if the "061200" is right for Itanium, if
and when someone tries it out. Something like the attached, which I boldly
installed.
0001-stdalign-restore-previous-behavior-for-HP-UX-IA64.patch
Description: Text Data
- stdalign test with HP-UX cc, Bruno Haible, 2017/03/15
- Re: stdalign test with HP-UX cc, Paul Eggert, 2017/03/16
- Re: stdalign test with HP-UX cc, Bruno Haible, 2017/03/16
- Re: stdalign test with HP-UX cc, Paul Eggert, 2017/03/17
- Re: stdalign test with HP-UX cc, Bruno Haible, 2017/03/17
- Re: stdalign test with HP-UX cc, Paul Eggert, 2017/03/17
- Re: stdalign test with HP-UX cc, Bruno Haible, 2017/03/17
- Re: stdalign test with HP-UX cc,
Paul Eggert <=
- Re: stdalign test with HP-UX cc, Bruno Haible, 2017/03/19
- Re: stdalign test with HP-UX cc, Bruno Haible, 2017/03/19
- Re: stdalign test with HP-UX cc, Bruno Haible, 2017/03/19
- Re: stdalign test with HP-UX cc, Paul Eggert, 2017/03/19