|
From: | Paul Eggert |
Subject: | Re: [platform-testers] new snapshot available: grep-3.4-almost.19-ff30 |
Date: | Thu, 17 Sep 2020 14:31:19 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On Hipster OpenIndiana, I get this compilation failure with CC=/opt/solarisstudio12.4/bin/cc: CC malloca.o "malloca.h", line 113: non-constant enumerator value "malloca.h", line 114: non-constant enumerator value "malloca.h", line 115: non-constant enumerator value "malloca.h", line 116: non-constant enumerator value cc: acomp failed for malloca.c
I am not seeing this problem with Oracle Solaris Studio 12.4 on Solaris 10 sparc. What compiler flags are being used on your platform? (Use "make V=1" to see.)Can you reproduce the problem with the attached file cc-test.c, compiling with plain 'cc -S cc-test.c'?
If so, can you send the file generated by 'cc -E cc-test.c >cc-test.i'? For reference, the output I get with Oracle Solaris Studio 12.4 is attached as cc-test.i. The only difference I see between 12.4 and 12.6 (the current stable release of Solaris Studio) is in the last line, where the attached cc-test.i says this with 12.4:
#ident "acomp: Sun C 5.13 SunOS_sparc 2014/10/20" whereas with 12.6 it says this: #ident "acomp: Studio 12.6 Sun C 5.15 SunOS_sparc 2017/05/30"
cc-test.c
Description: Text Data
cc-test.i
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |