bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Osipov, Michael
Subject: bug#35650: [PATCH] Improving HP-UX support
Date: Tue, 14 May 2019 23:15:55 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

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 problems you evidently observed with #include_next, getacl, aclsort,
and sys/bitypes.h.


So:
checking whether C compiler handles -Werror... no
checking whether C compiler handles -errwarn... no
checking whether this system supports stdbuf... yes

in detail:
configure:68484: checking whether C compiler handles -Werror
configure:68503: /opt/aCC/bin/aCC -AC99 -o conftest -g  -Werror 
-I/opt/ports/coreutils/include -D_INCLUDE_STDC__SOURCE_199901 
-L/opt/ports/coreutils/lib/hpux32 conftest.c  >&5
aCC: error 1914: bad form for `-W' option
configure:68503: $? = 1 > configure:68513: result: no> configure:68522: checking whether C
compiler handles -errwarn
configure:68541: /opt/aCC/bin/aCC -AC99 -o conftest -g  -errwarn 
-I/opt/ports/coreutils/include -D_INCLUDE_STDC__SOURCE_199901 
-L/opt/ports/coreutils/lib/hpux32 conftest.c  >&5
ld: Entry symbol "rrwarn" not found
Fatal error.
configure:68541: $? = 1
configure:68551: result: no
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
configure:68586: $? = 0
configure:68591: result: yes

I do not really understand the purpose of the patch as it does not really test for PIC/shared. This [1] is a viable approach I have taken to make it work for linker style on HP-UX. I guess one could steal that and reuse for -fPIC/+z.

[1] https://github.com/git/git/pull/608/files

WDYT?

Michael





reply via email to

[Prev in Thread] Current Thread [Next in Thread]