GNU bug report logs - #35650
[PATCH] Improving HP-UX support

Previous Next

Package: coreutils;

Reported by: "Osipov, Michael" <michael.osipov <at> siemens.com>

Date: Thu, 9 May 2019 14:34:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: "Osipov, Michael" <michael.osipov <at> siemens.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Pádraig Brady <P <at> draigBrady.com>, 35650 <at> debbugs.gnu.org
Subject: bug#35650: [PATCH] Improving HP-UX support
Date: Thu, 16 May 2019 10:42:31 +0200
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 option was used only to attempt to keep b2sum.c identical
> with upstream, but we've already given up on that for other reasons, so
> I installed the attached patches to fix this (the first patch drops
> -include, the second patch lessens changes from upstream)

Patches applied, autoreconf -fi run, ran configure w/o override and this 
is what I get now:
> + /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", line 627: error #2035: #error directive: "Please include
>           config.h first."
>    #error "Please include config.h first."
>     ^
> 
> "./lib/unistd.h", line 629: error #2077-D: this declaration has no storage
>           class or type specifier
>   _GL_INLINE_HEADER_BEGIN
>   ^
> 
> "./lib/unistd.h", line 741: error #2065: expected a ";"
>   _GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1)));
>   ^
> 
> "./lib/unistd.h", line 2147: error #2077-D: this declaration has no storage
>           class or type specifier
>   _GL_INLINE_HEADER_END
>   ^
> 
> "./lib/stdlib.h", line 665: error #2065: expected a ";"
>   _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size));
>   ^
> 
> 5 errors detected in the compilation of "src/blake2/blake2b-ref.c".

Michael




This bug report was last modified 6 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.