bug-make
[Top][All Lists]
Advanced

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

[bug #63373] make 4.4: build failure using AIX XLC 16.1


From: djm
Subject: [bug #63373] make 4.4: build failure using AIX XLC 16.1
Date: Wed, 16 Nov 2022 06:28:02 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63373>

                 Summary: make 4.4: build failure using AIX XLC 16.1
                 Project: make
               Submitter: mccannd
               Submitted: Wed 16 Nov 2022 11:28:00 AM UTC
                Severity: 3 - Normal
              Item Group: Build/Install
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.4
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 16 Nov 2022 11:28:00 AM UTC By: djm <mccannd>
When using the AIX XLC V16.1 compiler to build GNU make 4.4, the following
error is observed:

        source='make-4.4/src/main.c' object='src/main.o' libtool=no  
DEPDIR=.deps
depmode=xlc /bin/sh make-4.4/build-aux/depcomp  /opt/IBM/xlc/16.1.0/bin/xlc_r
-DHAVE_CONFIG_H   -Isrc -Imake-4.4/src -Ilib -Imake-4.4/lib 
-DLIBDIR=\"/opt/tools/gnumake/4.4/lib\"
-DLOCALEDIR=\"/opt/tools/gnumake/4.4/share/locale\" 
-DINCLUDEDIR=\"/opt/tools/gnumake/4.4/include\"     -g -c -o src/main.o
make-4.4/src/main.c
"make-4.4/src/main.c", line 1508.78: 1506-041 (E) The invocation of macro
memcmp contains fewer arguments than are required by the macro definition.
"make-4.4/src/main.c", line 1508.26: 1506-046 (S) Syntax error.
"make-4.4/src/main.c", line 1508.26: 1506-182 (S) Arguments missing for
built-in function __memcmp.

Given that the following comment exists with STRING_SIZE_TUPLE, surely
STRING_SIZE_TUPLE should not be used with memcmp?

/* Only usable when NOT calling a macro: only use it for local functions.  */
#define STRING_SIZE_TUPLE(_s) (_s), CSTRLEN(_s)







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63373>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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