bug#35650: [PATCH] Improving HP-UX support

2019-05-20 Thread Osipov, Michael
Am 2019-05-17 um 17:00 schrieb Paul Eggert: On 5/16/19 1:42 AM, Osipov, Michael wrote: + /opt/aCC/bin/aCC -AC99 -I. -I./lib -DHASH_ALGO_BLAKE2=1 -DHAVE_CONFIG_H -Ilib -I./lib -Isrc -I./src -I/opt/ports/coreutils/include -D_INCLUDE_STDC__SOURCE_199901 -g -c -o src/blake2/b2sum-blake2b-ref.o

bug#35650: [PATCH] Improving HP-UX support

2019-05-20 Thread Osipov, Michael
Am 2019-05-17 um 00:31 schrieb Paul Eggert: On 5/16/19 1:09 AM, Osipov, Michael wrote: stdbuf is still compiled and linked: If it works, great; if not then I suppose we have more work to do. I don't know how to test stdbuf to figure out whether it works as intended. Michael

bug#35650: [PATCH] Improving HP-UX support

2019-05-17 Thread Paul Eggert
On 5/16/19 1:42 AM, Osipov, Michael wrote: + /opt/aCC/bin/aCC -AC99 -I. -I./lib -DHASH_ALGO_BLAKE2=1 -DHAVE_CONFIG_H -Ilib -I./lib -Isrc -I./src -I/opt/ports/coreutils/include -D_INCLUDE_STDC__SOURCE_199901 -g -c -o src/blake2/b2sum-blake2b-ref.o src/blake2/blake2b-ref.c +Maked "./lib/unistd.h"

bug#35650: [PATCH] Improving HP-UX support

2019-05-16 Thread Paul Eggert
On 5/16/19 1:09 AM, Osipov, Michael wrote: Is that what you have expected now? Yes. stdbuf is still compiled and linked: If it works, great; if not then I suppose we have more work to do.

bug#35650: [PATCH] Improving HP-UX support

2019-05-16 Thread Osipov, Michael
Am 2019-05-15 um 22:02 schrieb Paul Eggert: On 5/15/19 2:30 AM, Osipov, Michael wrote: I don't know how to solve this differently for now, but to disable include_next in configure.ac if the compiler is aCC. Better yet, let's stop using the -include option as it's not portable. The -include op

bug#35650: [PATCH] Improving HP-UX support

2019-05-16 Thread Osipov, Michael
Am 2019-05-15 um 19:59 schrieb Paul Eggert: On 5/14/19 2:15 PM, Osipov, Michael wrote: configure:68559: checking whether this system supports stdbuf configure:68586: /opt/aCC/bin/aCC -AC99 -o conftest +z -g -I/opt/ports/coreutils/include -D_INCLUDE_STDC__SOURCE_199901 -b -L/opt/ports/coreutil

bug#35650: [PATCH] Improving HP-UX support

2019-05-15 Thread Paul Eggert
On 5/15/19 2:30 AM, Osipov, Michael wrote: > > I don't know how to solve this differently for now, but to disable > include_next in configure.ac if the compiler is aCC. Better yet, let's stop using the -include option as it's not portable. The -include option was used only to attempt to keep b2su

bug#35650: [PATCH] Improving HP-UX support

2019-05-15 Thread Paul Eggert
On 5/14/19 2:15 PM, Osipov, Michael wrote: >> configure:68559: checking whether this system supports stdbuf >> configure:68586: /opt/aCC/bin/aCC -AC99 -o conftest +z -g >> -I/opt/ports/coreutils/include -D_INCLUDE_STDC__SOURCE_199901 -b >> -L/opt/ports/coreutils/lib/hpux32 conftest.c  >&5 >> config

bug#35650: [PATCH] Improving HP-UX support

2019-05-15 Thread Osipov, Michael
sys/bitypes.h: Am 2019-05-14 um 18:26 schrieb Paul Eggert: On 5/14/19 6:52 AM, Osipov, Michael wrote: aCC does not exit with non-zero, it just prints a warning. OK, I installed the attached patch to try to fix this problem with 'configure'. Please give it a try. We may need some more patches

bug#35650: [PATCH] Improving HP-UX support

2019-05-15 Thread Osipov, Michael
getacl, aclsort: Am 2019-05-14 um 18:26 schrieb Paul Eggert: On 5/14/19 6:52 AM, Osipov, Michael wrote: aCC does not exit with non-zero, it just prints a warning. OK, I installed the attached patch to try to fix this problem with 'configure'. Please give it a try. We may need some more patch

bug#35650: [PATCH] Improving HP-UX support

2019-05-15 Thread Osipov, Michael
let's examine #include_next first: Am 2019-05-14 um 18:26 schrieb Paul Eggert: On 5/14/19 6:52 AM, Osipov, Michael wrote: aCC does not exit with non-zero, it just prints a warning. OK, I installed the attached patch to try to fix this problem with 'configure'. Please give it a try. We may ne

bug#35650: [PATCH] Improving HP-UX support

2019-05-14 Thread Osipov, Michael
Am 2019-05-14 um 18:26 schrieb Paul Eggert: On 5/14/19 6:52 AM, Osipov, Michael wrote: aCC does not exit with non-zero, it just prints a warning. OK, I installed the attached patch to try to fix this problem with 'configure'. Please give it a try. We may need some more patches to fix the prob

bug#35650: [PATCH] Improving HP-UX support

2019-05-14 Thread Paul Eggert
On 5/14/19 6:52 AM, Osipov, Michael wrote: > > aCC does not exit with non-zero, it just prints a warning. OK, I installed the attached patch to try to fix this problem with 'configure'. Please give it a try. We may need some more patches to fix the problems you evidently observed with #include_nex

bug#35650: [PATCH] Improving HP-UX support

2019-05-14 Thread Osipov, Michael
Hi Paul, Am 2019-05-11 um 23:14 schrieb Paul Eggert: Thanks for the bug report. I installed the attached patches to coreutils on savannah to fix some (but not all) of the bugs, and some other C99-related bugs I noticed, and have some further comments and questions. * system.h: use __attribute

bug#35650: [PATCH] Improving HP-UX support

2019-05-14 Thread Osipov, Michael
Am 2019-05-10 um 11:49 schrieb Pádraig Brady: On 09/05/19 03:50, Osipov, Michael wrote: diff -ur src/system.h src/system.h --- src/system.h2019-01-05 11:36:22 + +++ src/system.h2019-05-08 15:19:29 + @@ -422,6 +422,10 @@ # endif #endif +#ifndef __GNUC__ +#define __

bug#35650: [PATCH] Improving HP-UX support

2019-05-11 Thread Paul Eggert
On 5/10/19 4:49 AM, Pádraig Brady wrote: this file comes from blake2 upstream source on github, so you might want to broach the change there. I'll cc: this email to cont...@blake2.net to let them know about the problem (if you're just catching up you can see the thread at

bug#35650: [PATCH] Improving HP-UX support

2019-05-11 Thread Paul Eggert
Thanks for the bug report. I installed the attached patches to coreutils on savannah to fix some (but not all) of the bugs, and some other C99-related bugs I noticed, and have some further comments and questions. On 5/9/19 5:50 AM, Osipov, Michael wrote: * basenc.c: HP aCC does not allow anon

bug#35650: [PATCH] Improving HP-UX support

2019-05-10 Thread Pádraig Brady
On 09/05/19 03:50, Osipov, Michael wrote: > Hi folks, > > please find a patch attached to properly compile and link GNU coreutils > 8.31 on HP-UX IA64. As of now, it does not compile out of the box. > > The patch includes these changes: > > * basenc.c: HP aCC does not allow anonymous unions ins

bug#35650: [PATCH] Improving HP-UX support

2019-05-09 Thread Osipov, Michael
Hi folks, please find a patch attached to properly compile and link GNU coreutils 8.31 on HP-UX IA64. As of now, it does not compile out of the box. The patch includes these changes: * basenc.c: HP aCC does not allow anonymous unions inside structs, I have named it otherwise the compilation