Bug 91850 - AIX: p11-kit 0.23.1 compile error
Summary: AIX: p11-kit 0.23.1 compile error
Status: NEW
Alias: None
Product: p11-glue
Classification: Unclassified
Component: p11-kit (show other bugs)
Version: unspecified
Hardware: PowerPC AIX
: medium normal
Assignee: Stef Walter
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 12:32 UTC by chris
Modified: 2015-10-19 10:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description chris 2015-09-02 12:32:25 UTC
compiler: IBM XLC 13.0.1


p11-kit/virtual.c", line 2703.32: 1506-280 (W) Function argument assignment between types "void*" and "void(*)(struct {...}*,unsigned long*,void**,struct {...}*)" is not allowed.
  CC       common/argv.lo
  CC       common/attrs.lo
  CC       common/array.lo
  CC       common/buffer.lo
  CC       common/compat.lo
"common/compat.c", line 117.10: 1506-205 (S) #error No way to retrieve short program name
Makefile:2718: recipe for target 'common/compat.lo' failed
gmake[2]: *** [common/compat.lo] Error 1
gmake[2]: Leaving directory '/usr/local/src/gnutoolchain/p11-kit-0.23.1'
Makefile:3679: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/local/src/gnutoolchain/p11-kit-0.23.1'
Makefile:1657: recipe for target 'all' failed
gmake: *** [all] Error 2

the aix support generally looks not very tempting. not the whole world is gcc und gnu.

gmake[2]: Entering directory '/usr/local/src/gnutoolchain/p11-kit-0.23.1'
  CC       p11-kit/libp11_kit_la-util.lo
  CC       p11-kit/libp11_kit_la-conf.lo
"p11-kit/conf.c", line 109.9: 1506-045 (S) Undeclared identifier __PRETTY_FUNCTION__.
"p11-kit/conf.c", line 232.17: 1506-045 (S) Undeclared identifier __PRETTY_FUNCTION__.
"p11-kit/conf.c", line 390.9: 1506-045 (S) Undeclared identifier __PRETTY_FUNCTION__.

replaced this wonky PRETTY_FUNCTION with the standard FUNCTION, which at least fixes this one.
Comment 1 Stef Walter 2015-10-19 10:00:06 UTC
I don't have access to an AIX machine with an IBM XLC 13.0.1 compiler. Please send a patch. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.