Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If you can't understand it, it is intuitively obvious.


computers / comp.os.vms / Re: VMS x86-64 compilers

SubjectAuthor
* VMS x86-64 compilersArne Vajhøj
+- Re: VMS x86-64 compilersSingle Stage to Orbit
+* Re: VMS x86-64 compilersMark Daniel
|+* Re: VMS x86-64 compilersCraig A. Berry
||+* Re: VMS x86-64 compilersJan-Erik Söderholm
|||`- Re: VMS x86-64 compilersMark Daniel
||`- Re: VMS x86-64 compilersMark Daniel
|`* Re: VMS x86-64 compilersDan Cross
| `* Re: VMS x86-64 compilersMark Daniel
|  +* Re: VMS x86-64 compilersDan Cross
|  |`* Re: VMS x86-64 compilersMark Daniel
|  | `* Re: VMS x86-64 compilersDan Cross
|  |  `* Re: VMS x86-64 compilersMark Daniel
|  |   `* Re: VMS x86-64 compilersDan Cross
|  |    +- Re: VMS x86-64 compilersCraig A. Berry
|  |    `* Re: VMS x86-64 compilersMark Daniel
|  |     `- Re: VMS x86-64 compilersDan Cross
|  `* Re: VMS x86-64 compilersMark Daniel
|   `* Re: VMS x86-64 compilersCraig A. Berry
|    `* Re: VMS x86-64 compilersCraig A. Berry
|     `* Re: VMS x86-64 compilersMartin Vorländer
|      +- Re: VMS x86-64 compilersJohn Reagan
|      `* Re: VMS x86-64 compilersCraig A. Berry
|       `- Re: VMS x86-64 compilersJohn Reagan
`* Re: VMS x86-64 compilersArne Vajhøj
 +- Re: VMS x86-64 compilersRobert A. Brooks
 `* Re: VMS x86-64 compilersChris Townley
  `* Re: VMS x86-64 compilersArne Vajhøj
   +- Re: VMS x86-64 compilersArne Vajhøj
   `* Re: VMS x86-64 compilersSimon Clubley
    `- Re: VMS x86-64 compilersSimon Clubley

Pages:12
VMS x86-64 compilers

<uj51hk$28ne7$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31212&group=comp.os.vms#31212

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 07:22:14 -0500
Organization: A noiseless patient Spider
Lines: 3
Message-ID: <uj51hk$28ne7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Nov 2023 12:22:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b0c6e79c08c1482fd3469ba7a546acf1";
logging-data="2383303"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+87EFLDS1PJPd6GAxmn74C3MqI8XQCryA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JMzs05bAN0kcDU7KKv8Bmae2Gq8=
Content-Language: en-US
 by: Arne Vajhøj - Thu, 16 Nov 2023 12:22 UTC

Looks like new versions of C, Pascal and Fortran has just been released.

Arne

Re: VMS x86-64 compilers

<e9e54e37a41e57ac0c84667b44c3a139496ad6af.camel@munted.eu>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31219&group=comp.os.vms#31219

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: alex.bu...@munted.eu (Single Stage to Orbit)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 13:44:16 +0000
Organization: One very high maintenance cat
Lines: 8
Message-ID: <e9e54e37a41e57ac0c84667b44c3a139496ad6af.camel@munted.eu>
References: <uj51hk$28ne7$1@dont-email.me>
Reply-To: alex.buell@munted.eu
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="f5bd42a04513a0efdc606b8f175211b1";
logging-data="2413878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BTZitXUyaFNn4e/5egwZAn/h1Gi1AbGA="
User-Agent: Evolution 3.48.4
Cancel-Lock: sha1:EHjmuUjtEblc5BVv4pwcpMxU4K0=
In-Reply-To: <uj51hk$28ne7$1@dont-email.me>
 by: Single Stage to Orbi - Thu, 16 Nov 2023 13:44 UTC

On Thu, 2023-11-16 at 07:22 -0500, Arne Vajhøj wrote:
> Looks like new versions of C, Pascal and Fortran has just been
> released.

Nice, thanks!
--
Tactical Nuclear Kittens

Re: VMS x86-64 compilers

<qdt5N.129064$ydda.38102@fx13.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31234&group=comp.os.vms#31234

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx13.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me>
Content-Language: en-US
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <uj51hk$28ne7$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 19
Message-ID: <qdt5N.129064$ydda.38102@fx13.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 18:30:46 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 05:00:45 +1030
X-Received-Bytes: 1524
 by: Mark Daniel - Thu, 16 Nov 2023 18:30 UTC

On 16/11/2023 22:52, Arne Vajhøj wrote:
> Looks like new versions of C, Pascal and Fortran has just been released.
>
> Arne

$ X86VMS$ cc/version
VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
$ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
/NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
/DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
/OBJ=[.obj_X86_64]Error Error.c
LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction

https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<uj5p3u$2ctgq$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31235&group=comp.os.vms#31235

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 13:04:30 -0600
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <uj5p3u$2ctgq$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 16 Nov 2023 19:04:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cd608f0feae6f5a0657591fdd7a7703d";
logging-data="2520602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wN8pq8Ia1szWkegLO/hMA4L8qYZPQ4gc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:CTafRUyo3uKhNUkfGzSEc5Rh7EY=
In-Reply-To: <qdt5N.129064$ydda.38102@fx13.ams4>
Content-Language: en-US
 by: Craig A. Berry - Thu, 16 Nov 2023 19:04 UTC

On 11/16/23 12:30 PM, Mark Daniel wrote:
> On 16/11/2023 22:52, Arne Vajhøj wrote:
>> Looks like new versions of C, Pascal and Fortran has just been released.
>>
>> Arne
>
> $ X86VMS$ cc/version
> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
> /OBJ=[.obj_X86_64]Error    Error.c
> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>
> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>

The error is strange, but shouldn't

/DEFINE(WASD_VMS...

be

/DEFINE=(WASD_VMS...

?

Re: VMS x86-64 compilers

<uj5pgf$2d0cv$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31237&group=comp.os.vms#31237

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 20:11:11 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <uj5pgf$2d0cv$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5p3u$2ctgq$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 16 Nov 2023 19:11:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d880c316db43ab6a2d143cfdbe860956";
logging-data="2523551"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gvzTxfb0sNiAcKmEHgnqh"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:2JsEQmXhhLhFAlPFzttVrEu5jr4=
Content-Language: sv
In-Reply-To: <uj5p3u$2ctgq$1@dont-email.me>
 by: Jan-Erik Söderholm - Thu, 16 Nov 2023 19:11 UTC

Den 2023-11-16 kl. 20:04, skrev Craig A. Berry:
> On 11/16/23 12:30 PM, Mark Daniel wrote:
>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>> Looks like new versions of C, Pascal and Fortran has just been released.
>>>
>>> Arne
>>
>> $ X86VMS$ cc/version
>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>> /OBJ=[.obj_X86_64]Error    Error.c
>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>
>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>
>
> The error is strange, but shouldn't
>
> /DEFINE(WASD_VMS...
>
> be
>
> /DEFINE=(WASD_VMS...
>
> ?

It is, in the example on the forum post linked to above.

Re: VMS x86-64 compilers

<4Vt5N.26275$55nf.18431@fx08.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31238&group=comp.os.vms#31238

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx08.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Content-Language: en-US
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5p3u$2ctgq$1@dont-email.me>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <uj5p3u$2ctgq$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 38
Message-ID: <4Vt5N.26275$55nf.18431@fx08.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 19:17:20 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 05:47:17 +1030
X-Received-Bytes: 1987
 by: Mark Daniel - Thu, 16 Nov 2023 19:17 UTC

On 17/11/2023 05:34, Craig A. Berry wrote:
> On 11/16/23 12:30 PM, Mark Daniel wrote:
>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>> Looks like new versions of C, Pascal and Fortran has just been released.
>>>
>>> Arne
>>
>> $ X86VMS$ cc/version
>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>> /OBJ=[.obj_X86_64]Error    Error.c
>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>
>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>
>
> The error is strange, but shouldn't

Search engine didn't reveal much of relevance.

> /DEFINE(WASD_VMS...
>
> be
>
> /DEFINE=(WASD_VMS...
>
> ?

And indeed it is. Laxity in cut-n-paste-n-realign from an 80 column
terminal. My regrets.

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<qXt5N.26276$55nf.381@fx08.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31240&group=comp.os.vms#31240

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx08.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Content-Language: en-US
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5p3u$2ctgq$1@dont-email.me> <uj5pgf$2d0cv$1@dont-email.me>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <uj5pgf$2d0cv$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 39
Message-ID: <qXt5N.26276$55nf.381@fx08.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 19:19:50 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 05:49:50 +1030
X-Received-Bytes: 2079
 by: Mark Daniel - Thu, 16 Nov 2023 19:19 UTC

On 17/11/2023 05:41, Jan-Erik Söderholm wrote:
> Den 2023-11-16 kl. 20:04, skrev Craig A. Berry:
>> On 11/16/23 12:30 PM, Mark Daniel wrote:
>>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>>> Looks like new versions of C, Pascal and Fortran has just been
>>>> released.
>>>>
>>>> Arne
>>>
>>> $ X86VMS$ cc/version
>>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>>> /OBJ=[.obj_X86_64]Error    Error.c
>>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>>
>>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>>
>>
>> The error is strange, but shouldn't
>>
>> /DEFINE(WASD_VMS...
>>
>> be
>>
>> /DEFINE=(WASD_VMS...
>>
>> ?
>
> It is, in the example on the forum post linked to above.

Apparently also a laxity in consistency :-) Thanks J-E.

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<uj5q2j$2q8$2@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31241&group=comp.os.vms#31241

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 19:20:51 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uj5q2j$2q8$2@reader2.panix.com>
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
Injection-Date: Thu, 16 Nov 2023 19:20:51 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="2888"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 16 Nov 2023 19:20 UTC

In article <qdt5N.129064$ydda.38102@fx13.ams4>,
Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>On 16/11/2023 22:52, Arne Vajhøj wrote:
>> Looks like new versions of C, Pascal and Fortran has just been released.
>>
>> Arne
>
>$ X86VMS$ cc/version
>VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>$ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>/NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>/DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>/OBJ=[.obj_X86_64]Error Error.c
>LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>
>https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900

What's in `Error.c`? It's neither here nor on the VSI forum.

- Dan C.

Re: VMS x86-64 compilers

<m6u5N.135963$96D1.86705@fx04.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31242&group=comp.os.vms#31242

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx04.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Content-Language: en-US
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5q2j$2q8$2@reader2.panix.com>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <uj5q2j$2q8$2@reader2.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 35
Message-ID: <m6u5N.135963$96D1.86705@fx04.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 19:31:30 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 06:01:29 +1030
X-Received-Bytes: 2123
 by: Mark Daniel - Thu, 16 Nov 2023 19:31 UTC

On 17/11/2023 05:50, Dan Cross wrote:
> In article <qdt5N.129064$ydda.38102@fx13.ams4>,
> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>> Looks like new versions of C, Pascal and Fortran has just been released.
>>>
>>> Arne
>>
>> $ X86VMS$ cc/version
>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>> /OBJ=[.obj_X86_64]Error Error.c
>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>
>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>
> What's in `Error.c`? It's neither here nor on the VSI forum.
>
> - Dan C.

I have not bothered to isolate a simple reproducer in anticipation of a
Reagan-esque, "oh that means...", or "I'll add that to the list". :-)

https://wasd.vsm.com.au/wasd_root/src/httpd/error.c

The error is reported across multiple modules and so relates to a common
header file construct or repeated code construct used individually.

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<uj5qqg$btc$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31243&group=comp.os.vms#31243

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 19:33:36 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uj5qqg$btc$1@reader2.panix.com>
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4> <uj5q2j$2q8$2@reader2.panix.com> <m6u5N.135963$96D1.86705@fx04.ams4>
Injection-Date: Thu, 16 Nov 2023 19:33:36 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="12204"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 16 Nov 2023 19:33 UTC

In article <m6u5N.135963$96D1.86705@fx04.ams4>,
Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>On 17/11/2023 05:50, Dan Cross wrote:
>> In article <qdt5N.129064$ydda.38102@fx13.ams4>,
>> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>>> Looks like new versions of C, Pascal and Fortran has just been released.
>>>>
>>>> Arne
>>>
>>> $ X86VMS$ cc/version
>>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>>> /OBJ=[.obj_X86_64]Error Error.c
>>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>>
>>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>
>> What's in `Error.c`? It's neither here nor on the VSI forum.
>
>I have not bothered to isolate a simple reproducer in anticipation of a
>Reagan-esque, "oh that means...", or "I'll add that to the list". :-)
>
>https://wasd.vsm.com.au/wasd_root/src/httpd/error.c
>
>The error is reported across multiple modules and so relates to a common
>header file construct or repeated code construct used individually.

I see. That program is, of course, somewhat long for a simple
reproduction. Out of curiousity, do you get a similar error
with something very simple, like "Hello, World?"

- Dan C.

Re: VMS x86-64 compilers

<Hcu5N.206704$OPFb.159654@fx15.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31244&group=comp.os.vms#31244

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx15.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Content-Language: en-US
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5q2j$2q8$2@reader2.panix.com> <m6u5N.135963$96D1.86705@fx04.ams4>
<uj5qqg$btc$1@reader2.panix.com>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <uj5qqg$btc$1@reader2.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 45
Message-ID: <Hcu5N.206704$OPFb.159654@fx15.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 19:38:15 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 06:08:14 +1030
X-Received-Bytes: 2683
 by: Mark Daniel - Thu, 16 Nov 2023 19:38 UTC

On 17/11/2023 06:03, Dan Cross wrote:
> In article <m6u5N.135963$96D1.86705@fx04.ams4>,
> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>> On 17/11/2023 05:50, Dan Cross wrote:
>>> In article <qdt5N.129064$ydda.38102@fx13.ams4>,
>>> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>>>> Looks like new versions of C, Pascal and Fortran has just been released.
>>>>>
>>>>> Arne
>>>>
>>>> $ X86VMS$ cc/version
>>>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>>>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>>>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>>>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>>>> /OBJ=[.obj_X86_64]Error Error.c
>>>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>>>
>>>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>>
>>> What's in `Error.c`? It's neither here nor on the VSI forum.
>>
>> I have not bothered to isolate a simple reproducer in anticipation of a
>> Reagan-esque, "oh that means...", or "I'll add that to the list". :-)
>>
>> https://wasd.vsm.com.au/wasd_root/src/httpd/error.c
>>
>> The error is reported across multiple modules and so relates to a common
>> header file construct or repeated code construct used individually.
>
> I see. That program is, of course, somewhat long for a simple
> reproduction. Out of curiousity, do you get a similar error
> with something very simple, like "Hello, World?"
>
> - Dan C.

No. And surely the product validation team would have the equivalent
test case in its suite ;-)

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<uj5rqj$1um$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31245&group=comp.os.vms#31245

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 19:50:43 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uj5rqj$1um$1@reader2.panix.com>
References: <uj51hk$28ne7$1@dont-email.me> <m6u5N.135963$96D1.86705@fx04.ams4> <uj5qqg$btc$1@reader2.panix.com> <Hcu5N.206704$OPFb.159654@fx15.ams4>
Injection-Date: Thu, 16 Nov 2023 19:50:43 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="2006"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 16 Nov 2023 19:50 UTC

In article <Hcu5N.206704$OPFb.159654@fx15.ams4>,
Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>On 17/11/2023 06:03, Dan Cross wrote:
>> In article <m6u5N.135963$96D1.86705@fx04.ams4>,
>> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>> On 17/11/2023 05:50, Dan Cross wrote:
>>>> In article <qdt5N.129064$ydda.38102@fx13.ams4>,
>>>> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>>>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>>>>> Looks like new versions of C, Pascal and Fortran has just been released.
>>>>>>
>>>>>> Arne
>>>>>
>>>>> $ X86VMS$ cc/version
>>>>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>>>>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>>>>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>>>>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>>>>> /OBJ=[.obj_X86_64]Error Error.c
>>>>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>>>>
>>>>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>>>
>>>> What's in `Error.c`? It's neither here nor on the VSI forum.
>>>
>>> I have not bothered to isolate a simple reproducer in anticipation of a
>>> Reagan-esque, "oh that means...", or "I'll add that to the list". :-)
>>>
>>> https://wasd.vsm.com.au/wasd_root/src/httpd/error.c
>>>
>>> The error is reported across multiple modules and so relates to a common
>>> header file construct or repeated code construct used individually.
>>
>> I see. That program is, of course, somewhat long for a simple
>> reproduction. Out of curiousity, do you get a similar error
>> with something very simple, like "Hello, World?"
>
>No. And surely the product validation team would have the equivalent
>test case in its suite ;-)

Well that's good, at least! The error message means that the
program is trying to store to one of the "high" "byte" registers
(AH, BH, CH, DH) with a REX-prefixed instruction; I don't know,
but this is almost certainly a MOV that requires a REX prefix
for access to the source operand: `movb (%r8), %ah` or something
like that. This is architecturally forbidden.

Why is it doing that? I'd imagine inline assembler would be the
most likely culprit, but I'm guessing there. I wonder if you
can get the compiler to emit an assembler listing?

- Dan C.

Re: VMS x86-64 compilers

<tDu5N.98763$YBDd.93660@fx09.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31247&group=comp.os.vms#31247

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx09.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Content-Language: en-US
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me> <m6u5N.135963$96D1.86705@fx04.ams4>
<uj5qqg$btc$1@reader2.panix.com> <Hcu5N.206704$OPFb.159654@fx15.ams4>
<uj5rqj$1um$1@reader2.panix.com>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <uj5rqj$1um$1@reader2.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 67
Message-ID: <tDu5N.98763$YBDd.93660@fx09.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 20:06:49 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 06:36:47 +1030
X-Received-Bytes: 3920
 by: Mark Daniel - Thu, 16 Nov 2023 20:06 UTC

On 17/11/2023 06:20, Dan Cross wrote:
> In article <Hcu5N.206704$OPFb.159654@fx15.ams4>,
> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>> On 17/11/2023 06:03, Dan Cross wrote:
>>> In article <m6u5N.135963$96D1.86705@fx04.ams4>,
>>> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>>> On 17/11/2023 05:50, Dan Cross wrote:
>>>>> In article <qdt5N.129064$ydda.38102@fx13.ams4>,
>>>>> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>>>>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>>>>>> Looks like new versions of C, Pascal and Fortran has just been released.
>>>>>>>
>>>>>>> Arne
>>>>>>
>>>>>> $ X86VMS$ cc/version
>>>>>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>>>>>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>>>>>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>>>>>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>>>>>> /OBJ=[.obj_X86_64]Error Error.c
>>>>>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>>>>>
>>>>>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>>>>
>>>>> What's in `Error.c`? It's neither here nor on the VSI forum.
>>>>
>>>> I have not bothered to isolate a simple reproducer in anticipation of a
>>>> Reagan-esque, "oh that means...", or "I'll add that to the list". :-)
>>>>
>>>> https://wasd.vsm.com.au/wasd_root/src/httpd/error.c
>>>>
>>>> The error is reported across multiple modules and so relates to a common
>>>> header file construct or repeated code construct used individually.
>>>
>>> I see. That program is, of course, somewhat long for a simple
>>> reproduction. Out of curiousity, do you get a similar error
>>> with something very simple, like "Hello, World?"
>>
>> No. And surely the product validation team would have the equivalent
>> test case in its suite ;-)
>
> Well that's good, at least! The error message means that the
> program is trying to store to one of the "high" "byte" registers
> (AH, BH, CH, DH) with a REX-prefixed instruction; I don't know,
> but this is almost certainly a MOV that requires a REX prefix
> for access to the source operand: `movb (%r8), %ah` or something
> like that. This is architecturally forbidden.

Yes. I had that gist from early search engine hits.

> Why is it doing that? I'd imagine inline assembler would be the
> most likely culprit, but I'm guessing there. I wonder if you
> can get the compiler to emit an assembler listing?

Excellent suggestion but unfortunately no. The compile must quit very
early. The object file has zero content precluding
ANA/OBJECT/DISASSEMBLE and while CC/LIST/MACHINE seems to be working
with this release the .LIS is similarly empty.

> - Dan C.
>

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<uj5tvs$o8v$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31250&group=comp.os.vms#31250

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 20:27:40 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uj5tvs$o8v$1@reader2.panix.com>
References: <uj51hk$28ne7$1@dont-email.me> <Hcu5N.206704$OPFb.159654@fx15.ams4> <uj5rqj$1um$1@reader2.panix.com> <tDu5N.98763$YBDd.93660@fx09.ams4>
Injection-Date: Thu, 16 Nov 2023 20:27:40 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="24863"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 16 Nov 2023 20:27 UTC

In article <tDu5N.98763$YBDd.93660@fx09.ams4>,
Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>On 17/11/2023 06:20, Dan Cross wrote:
>[snip]
>> Why is it doing that? I'd imagine inline assembler would be the
>> most likely culprit, but I'm guessing there. I wonder if you
>> can get the compiler to emit an assembler listing?
>
>Excellent suggestion but unfortunately no. The compile must quit very
>early. The object file has zero content precluding
>ANA/OBJECT/DISASSEMBLE and while CC/LIST/MACHINE seems to be working
>with this release the .LIS is similarly empty.

I'm mildly surprised by this: I'd imagine a compiler invocation
equivalent to `clang -S` on a Unix-y system would quite before
object generation; here, you just want to see what instructions
the compiler would generate without it actually trying to create
object code. I wonder if `CC/LIST/MACHINE/NOOBJECT` will do it?

You definitely ought to be able to get it to generate LLVM byte
code (which happens well before target instruction selection,
let alone object code generation) which may give some clues as
to what's going on.

- Dan C.

Re: VMS x86-64 compilers

<uj5vm5$2dv9v$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31252&group=comp.os.vms#31252

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 14:56:37 -0600
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <uj5vm5$2dv9v$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me>
<Hcu5N.206704$OPFb.159654@fx15.ams4> <uj5rqj$1um$1@reader2.panix.com>
<tDu5N.98763$YBDd.93660@fx09.ams4> <uj5tvs$o8v$1@reader2.panix.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Nov 2023 20:56:37 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cd608f0feae6f5a0657591fdd7a7703d";
logging-data="2555199"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+uCzE1sVW/My+lIJekgnM64l2hnHI+7g="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:UEDG7o9oCwV3ycdaDlppHqI+/mg=
In-Reply-To: <uj5tvs$o8v$1@reader2.panix.com>
Content-Language: en-US
 by: Craig A. Berry - Thu, 16 Nov 2023 20:56 UTC

On 11/16/23 2:27 PM, Dan Cross wrote:
> In article <tDu5N.98763$YBDd.93660@fx09.ams4>,
> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>> On 17/11/2023 06:20, Dan Cross wrote:
>> [snip]
>>> Why is it doing that? I'd imagine inline assembler would be the
>>> most likely culprit, but I'm guessing there. I wonder if you
>>> can get the compiler to emit an assembler listing?
>>
>> Excellent suggestion but unfortunately no. The compile must quit very
>> early. The object file has zero content precluding
>> ANA/OBJECT/DISASSEMBLE and while CC/LIST/MACHINE seems to be working
>> with this release the .LIS is similarly empty.
>
> I'm mildly surprised by this: I'd imagine a compiler invocation
> equivalent to `clang -S` on a Unix-y system would quite before
> object generation; here, you just want to see what instructions
> the compiler would generate without it actually trying to create
> object code. I wonder if `CC/LIST/MACHINE/NOOBJECT` will do it?
>
> You definitely ought to be able to get it to generate LLVM byte
> code (which happens well before target instruction selection,
> let alone object code generation) which may give some clues as
> to what's going on.

According to the known restrictions section in the release notes for the
field test compiler:

"The /MACHINE_CODE qualifier currently is ignored. As a
temporary workaround, you can use the
ANALYZE/OBJECT/DISASSEMBLE command."

Of course if you can't get an object file, that workaround ain't gonna work.

Re: VMS x86-64 compilers

<Tsv5N.93490$rdid.19724@fx12.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31253&group=comp.os.vms#31253

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx12.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Content-Language: en-US
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me>
<Hcu5N.206704$OPFb.159654@fx15.ams4> <uj5rqj$1um$1@reader2.panix.com>
<tDu5N.98763$YBDd.93660@fx09.ams4> <uj5tvs$o8v$1@reader2.panix.com>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <uj5tvs$o8v$1@reader2.panix.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 43
Message-ID: <Tsv5N.93490$rdid.19724@fx12.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 21:03:47 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 07:33:47 +1030
X-Received-Bytes: 2673
 by: Mark Daniel - Thu, 16 Nov 2023 21:03 UTC

On 17/11/2023 06:57, Dan Cross wrote:
> In article <tDu5N.98763$YBDd.93660@fx09.ams4>,
> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>> On 17/11/2023 06:20, Dan Cross wrote:
>> [snip]
>>> Why is it doing that? I'd imagine inline assembler would be the
>>> most likely culprit, but I'm guessing there. I wonder if you
>>> can get the compiler to emit an assembler listing?
>>
>> Excellent suggestion but unfortunately no. The compile must quit very
>> early. The object file has zero content precluding
>> ANA/OBJECT/DISASSEMBLE and while CC/LIST/MACHINE seems to be working
>> with this release the .LIS is similarly empty.
>
> I'm mildly surprised by this: I'd imagine a compiler invocation
> equivalent to `clang -S` on a Unix-y system would quite before
> object generation; here, you just want to see what instructions
> the compiler would generate without it actually trying to create
> object code. I wonder if `CC/LIST/MACHINE/NOOBJECT` will do it?

As noted by Craig the notes state /MACHINE still unsupported (does
generate a very nicely presented source listing though :-) And no
object file.

> You definitely ought to be able to get it to generate LLVM byte
> code (which happens well before target instruction selection,
> let alone object code generation) which may give some clues as
> to what's going on.

A little LLVM in the HELP CC and nothing in SYS$HELP:CC.RELEASE_NOTES

CC /ARCHITECTURE
options to pass along to the LLVM code generator to select
CC /OPTIMIZE
options to pass along to the LLVM code generator to select

> - Dan C.

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<uj62kl$ema$2@reader2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31258&group=comp.os.vms#31258

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cro...@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 21:47:01 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uj62kl$ema$2@reader2.panix.com>
References: <uj51hk$28ne7$1@dont-email.me> <tDu5N.98763$YBDd.93660@fx09.ams4> <uj5tvs$o8v$1@reader2.panix.com> <Tsv5N.93490$rdid.19724@fx12.ams4>
Injection-Date: Thu, 16 Nov 2023 21:47:01 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="15050"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
 by: Dan Cross - Thu, 16 Nov 2023 21:47 UTC

In article <Tsv5N.93490$rdid.19724@fx12.ams4>,
Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>On 17/11/2023 06:57, Dan Cross wrote:
>> In article <tDu5N.98763$YBDd.93660@fx09.ams4>,
>> Mark Daniel <mark.daniel@wasd.vsm.com.au> wrote:
>>> On 17/11/2023 06:20, Dan Cross wrote:
>>> [snip]
>>>> Why is it doing that? I'd imagine inline assembler would be the
>>>> most likely culprit, but I'm guessing there. I wonder if you
>>>> can get the compiler to emit an assembler listing?
>>>
>>> Excellent suggestion but unfortunately no. The compile must quit very
>>> early. The object file has zero content precluding
>>> ANA/OBJECT/DISASSEMBLE and while CC/LIST/MACHINE seems to be working
>>> with this release the .LIS is similarly empty.
>>
>> I'm mildly surprised by this: I'd imagine a compiler invocation
>> equivalent to `clang -S` on a Unix-y system would quite before
>> object generation; here, you just want to see what instructions
>> the compiler would generate without it actually trying to create
>> object code. I wonder if `CC/LIST/MACHINE/NOOBJECT` will do it?
>
>As noted by Craig the notes state /MACHINE still unsupported (does
>generate a very nicely presented source listing though :-) And no
>object file.

Aww shucks; that's a bummer.

>> You definitely ought to be able to get it to generate LLVM byte
>> code (which happens well before target instruction selection,
>> let alone object code generation) which may give some clues as
>> to what's going on.
>
>A little LLVM in the HELP CC and nothing in SYS$HELP:CC.RELEASE_NOTES
>
>CC /ARCHITECTURE
>options to pass along to the LLVM code generator to select
>CC /OPTIMIZE
>options to pass along to the LLVM code generator to select

:-/ That's too bad.

- Dan C.

Re: VMS x86-64 compilers

<oxw5N.89254$QCp6.37234@fx11.ams4>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31259&group=comp.os.vms#31259

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!fx11.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: VMS x86-64 compilers
Content-Language: en-US
Newsgroups: comp.os.vms
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5q2j$2q8$2@reader2.panix.com> <m6u5N.135963$96D1.86705@fx04.ams4>
From: mark.dan...@wasd.vsm.com.au (Mark Daniel)
In-Reply-To: <m6u5N.135963$96D1.86705@fx04.ams4>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 45
Message-ID: <oxw5N.89254$QCp6.37234@fx11.ams4>
X-Complaints-To: abuse@eweka.nl
NNTP-Posting-Date: Thu, 16 Nov 2023 22:16:52 UTC
Organization: Eweka Internet Services
Date: Fri, 17 Nov 2023 08:46:51 +1030
X-Received-Bytes: 2446
 by: Mark Daniel - Thu, 16 Nov 2023 22:16 UTC

On 17/11/2023 06:01, Mark Daniel wrote:
> On 17/11/2023 05:50, Dan Cross wrote:
>> In article <qdt5N.129064$ydda.38102@fx13.ams4>,
>> Mark Daniel  <mark.daniel@wasd.vsm.com.au> wrote:
>>> On 16/11/2023 22:52, Arne Vajhøj wrote:
>>>> Looks like new versions of C, Pascal and Fortran has just been
>>>> released.
>>>>
>>>> Arne
>>>
>>> $ X86VMS$ cc/version
>>> VSI C x86-64 X7.4-843 (GEM 50XB9) on OpenVMS x86_64 V9.2-1
>>> $ CC /DECC /STAND=RELAXED_ANSI /PREFIX=ALL /NAMES=AS_IS /OPTIMIZE
>>> /NODEBUG /WARNING=(NOINFORM,DISABLE=(PREOPTW)) /FLOAT=IEEE /IEEE=DENORM
>>> /DEFINE(WASD_VMS_V7,SESOLA,WATCH_CAT=1,WATCH_MOD=0,WASD_ACME=1,WASD_GETSPI=1)
>>> /OBJ=[.obj_X86_64]Error    Error.c
>>> LLVM ERROR: Cannot encode high byte register in REX-prefixed instruction
>>>
>>> https://forum.vmssoftware.com/viewtopic.php?f=12&t=8900
>>
>> What's in `Error.c`?  It's neither here nor on the VSI forum.
>>
>>     - Dan C.
>
> I have not bothered to isolate a simple reproducer in anticipation of a
> Reagan-esque, "oh that means...", or "I'll add that to the list".  :-)

Boom-boom. Just posted in the VSI Forum:

"yeah, we saw it just a few days ago. Already fixed in our sources.
Can you try /NOOPT? It should avoid the bug."

It did and it does.

> https://wasd.vsm.com.au/wasd_root/src/httpd/error.c
>
> The error is reported across multiple modules and so relates to a common
> header file construct or repeated code construct used individually.
>

--
Anyone, who using social-media, forms an opinion regarding anything
other than the relative cuteness of this or that puppy-dog, needs
seriously to examine their critical thinking.

Re: VMS x86-64 compilers

<uj6j8o$2gmmh$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31264&group=comp.os.vms#31264

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 20:30:44 -0600
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uj6j8o$2gmmh$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5q2j$2q8$2@reader2.panix.com> <m6u5N.135963$96D1.86705@fx04.ams4>
<oxw5N.89254$QCp6.37234@fx11.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 17 Nov 2023 02:30:48 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="be65e6df073ac5a6220eee7f56a68364";
logging-data="2644689"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Dy1v7DvtbTig1g1unwGpKZ7zVDKqOE4g="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tL0F5IzJdhGPl98rWusc3Z1bnrw=
Content-Language: en-US
In-Reply-To: <oxw5N.89254$QCp6.37234@fx11.ams4>
 by: Craig A. Berry - Fri, 17 Nov 2023 02:30 UTC

I took the new C compiler for a spin and built Perl with it. I didn't
see any of the compiler errors Mark saw, but I got several undefined
symbols when linking that I did not previously get:

%ILINK-W-NUDFSYMS, 6 undefined symbols:
%ILINK-I-UDFSYM, C$_QSORT2BIG
%ILINK-I-UDFSYM, DECC$$GL___CRTL_VER_BUILD
%ILINK-I-UDFSYM, IN6ADDR_ANY
%ILINK-I-UDFSYM, IN6ADDR_LOOPBACK
%ILINK-I-UDFSYM, _NS_FLAGDATA
%ILINK-I-UDFSYM, _RES

C$_QSORT2BIG is declared in errnodef.h, DECC$$GL___CRTL_VER_BUILD in
unixlib.h, in6addr_any and in6addr_loopback in in6.h, _ns_flagdata in
nameser.h, and _res is in resolv.h.

So there is some kind of gear slippage among the compiler, the headers,
and the library. As far as I can see, the only thing new this week is
the compiler.

Re: VMS x86-64 compilers

<uj6lnl$2kpvg$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31265&group=comp.os.vms#31265

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Thu, 16 Nov 2023 21:12:52 -0600
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <uj6lnl$2kpvg$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5q2j$2q8$2@reader2.panix.com> <m6u5N.135963$96D1.86705@fx04.ams4>
<oxw5N.89254$QCp6.37234@fx11.ams4> <uj6j8o$2gmmh$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Nov 2023 03:12:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="be65e6df073ac5a6220eee7f56a68364";
logging-data="2779120"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18S9quCv25AhJi/nW6BSNWzLdzAbeyoNSo="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/vqlJJ19Pun1corH4NvNNZ35RJI=
Content-Language: en-US
In-Reply-To: <uj6j8o$2gmmh$1@dont-email.me>
 by: Craig A. Berry - Fri, 17 Nov 2023 03:12 UTC

On 11/16/23 8:30 PM, Craig A. Berry wrote:
>
> I took the new C compiler for a spin and built Perl with it.  I didn't
> see any of the compiler errors Mark saw, but I  got several undefined
> symbols when linking that I did not previously get:
>
> %ILINK-W-NUDFSYMS, 6 undefined symbols:
> %ILINK-I-UDFSYM,        C$_QSORT2BIG
> %ILINK-I-UDFSYM,        DECC$$GL___CRTL_VER_BUILD
> %ILINK-I-UDFSYM,        IN6ADDR_ANY
> %ILINK-I-UDFSYM,        IN6ADDR_LOOPBACK
> %ILINK-I-UDFSYM,        _NS_FLAGDATA
> %ILINK-I-UDFSYM,        _RES
>
> C$_QSORT2BIG is declared in errnodef.h, DECC$$GL___CRTL_VER_BUILD in
> unixlib.h, in6addr_any and in6addr_loopback in in6.h, _ns_flagdata in
> nameser.h, and _res is in resolv.h.
>
> So there is some kind of gear slippage among the compiler, the headers,
> and the library.  As far as I can see, the only thing new this week is
> the compiler.

Upgrading from TCPIP X6.0-22 to TCPIP V6.0-23 did not make any
difference. I thought it might since some of the missing symbols are
TCP/IP-related.

Re: VMS x86-64 compilers

<krodbfF2tg0U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31267&group=comp.os.vms#31267

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: martin.v...@t-online.de (Martin Vorländer)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: 17 Nov 2023 05:51:43 GMT
Lines: 32
Message-ID: <krodbfF2tg0U1@mid.individual.net>
References: <uj51hk$28ne7$1@dont-email.me>
<qdt5N.129064$ydda.38102@fx13.ams4> <uj5q2j$2q8$2@reader2.panix.com>
<m6u5N.135963$96D1.86705@fx04.ams4> <oxw5N.89254$QCp6.37234@fx11.ams4>
<uj6j8o$2gmmh$1@dont-email.me> <uj6lnl$2kpvg$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 96qygygzkHJQHwE1YplHjA6JwTMWNsD4kltUREOHqPbpcAktg=
Cancel-Lock: sha1:QLd/wwCDoNJL5L+kdKu0xGj/uhA= sha256:QRZ0hLk/BYIgD7rZ0AmeBoRISFircy3sf0wcKl1omY8=
User-Agent: slrn/1.0.3 (Darwin)
 by: Martin Vorländer - Fri, 17 Nov 2023 05:51 UTC

Craig A. Berry <craigberry@nospam.mac.com> wrote:
> On 11/16/23 8:30 PM, Craig A. Berry wrote:
>> I took the new C compiler for a spin and built Perl with it.  I didn't
>> see any of the compiler errors Mark saw, but I  got several undefined
>> symbols when linking that I did not previously get:
>>
>> %ILINK-W-NUDFSYMS, 6 undefined symbols:
>> %ILINK-I-UDFSYM,        C$_QSORT2BIG
>> %ILINK-I-UDFSYM,        DECC$$GL___CRTL_VER_BUILD
>> %ILINK-I-UDFSYM,        IN6ADDR_ANY
>> %ILINK-I-UDFSYM,        IN6ADDR_LOOPBACK
>> %ILINK-I-UDFSYM,        _NS_FLAGDATA
>> %ILINK-I-UDFSYM,        _RES
>>
>> C$_QSORT2BIG is declared in errnodef.h, DECC$$GL___CRTL_VER_BUILD in
>> unixlib.h, in6addr_any and in6addr_loopback in in6.h, _ns_flagdata in
>> nameser.h, and _res is in resolv.h.
>>
>> So there is some kind of gear slippage among the compiler, the headers,
>> and the library.  As far as I can see, the only thing new this week is
>> the compiler.
>
> Upgrading from TCPIP X6.0-22 to TCPIP V6.0-23 did not make any
> difference. I thought it might since some of the missing symbols are
> TCP/IP-related.

I also saw she missing IN6ADDR_ANY when building ZeroMQ.

The TCP/IP shareables lack it, but it is exported from the TCP/IP libraries.

cu,
Martin

Re: VMS x86-64 compilers

<c4b64fc7-6ead-41e6-805e-c41ca5d9d522n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31283&group=comp.os.vms#31283

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:907:b0:774:c7a:1364 with SMTP id v7-20020a05620a090700b007740c7a1364mr246117qkv.8.1700238818682;
Fri, 17 Nov 2023 08:33:38 -0800 (PST)
X-Received: by 2002:ac8:45cd:0:b0:40f:e0dd:8050 with SMTP id
e13-20020ac845cd000000b0040fe0dd8050mr127672qto.5.1700238818427; Fri, 17 Nov
2023 08:33:38 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 17 Nov 2023 08:33:38 -0800 (PST)
In-Reply-To: <krodbfF2tg0U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=73.60.222.222; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 73.60.222.222
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5q2j$2q8$2@reader2.panix.com> <m6u5N.135963$96D1.86705@fx04.ams4>
<oxw5N.89254$QCp6.37234@fx11.ams4> <uj6j8o$2gmmh$1@dont-email.me>
<uj6lnl$2kpvg$1@dont-email.me> <krodbfF2tg0U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c4b64fc7-6ead-41e6-805e-c41ca5d9d522n@googlegroups.com>
Subject: Re: VMS x86-64 compilers
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Fri, 17 Nov 2023 16:33:38 +0000
Content-Type: text/plain; charset="UTF-8"
 by: John Reagan - Fri, 17 Nov 2023 16:33 UTC

Let's see if I can help with all the questions.

- The "REX" issue is new due to the fact that we enabled a few more optimizations.
We have to capture the OpenVMS arg-count from the AH register (2nd byte of the
AX/EAX/RAX register). You cannot talk about AH in the same instruction with a
reference to the r8-r15 registers. We where trying to generate code that essentially
does

movb %ah, %al
movzbl %al, %r14d

The %r14d is a register picked by LLVM. We just ask for a "virtual register" (an
LLVM concept of a compiler temp). The sequence above is perfectly fine.
However, LLVM seemed to think it could "propagate" the first register usage into
the 2nd instruction and did

movb %ah, %al
movzbl %ah, %r14d

[it was then going to remove the movb instruction] That LLVM transformation is
based on information that we (the OpenVMS-specific changes to get the argcount)
provided. I think the LLVM transformation is broken but we also didn't provide the
correct information. Turn off optimization (or even /OPT=LEVEL=2) avoids it.

We just fixed the code to avoid that transformation.

- The "error.c" in the message is just the source module in LLVM that contained the
assert(). It has nothing to do with the user's source code, headers, etc.

- Those new undefined symbols are from additional debug information. If you look
future at the MAP, the unresolved reference isn't from generated code but from
DWARF in the .debug_info section. We shouldn't have generated the DWARF
for those declared, but uncalled/undefined external routines.

- /MACHINE_CODE is still not there since the "traditional" GEM machine code listing
contains more than just code. It also contains static data definitions AND has lots
of symbolic names. Most of that has been shuffled around inside of LLVM by the
point were we would like to grab it and stuff it into the LIS file. And some of the names
are long gone other than buried in DWARF (if available).

- As mentioned ANALYZE/OBJECT/DISASSEMBLE can dump the code along with
line numbers from the PC-line table. I've seen some issues with it printing "******"
in places for line numbers. We might spend more time on ANALYZE to improve the
output in the future.

- Right now, we have no extra qualifier to pass along any LLVM options other than
what we map from the traditional DCL qualifiers.

- There are a couple of undocumented qualifiers you might be curious about

/SWITCH=ASSEMBLY is the equivalent of -S on Linux. You get an .s file instead
of the .obj file. Much more than what ANAL/OBJ/DISA gives you.

/SWITCH=BITCODE is the equivalent of -emit-llvm on Linux. You get the .bc file
(bitcode file) instead of the .obj file. However, since bc files are LLVM version
specific, you'll need the llvm-dis from LLVM 10 to turn this into the human readable
..ll file. While we have all the LLVM tools in our build tree, we haven't yet decided how
(or if) to package them all up to provide to users. However, if you build LLVM 10 on
some Linux box, the llvm-dis toold should be able to convert the OpenVMS generated
..bc files.

Re: VMS x86-64 compilers

<uj8df2$2tpv8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31288&group=comp.os.vms#31288

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Fri, 17 Nov 2023 13:04:01 -0600
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <uj8df2$2tpv8$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me> <qdt5N.129064$ydda.38102@fx13.ams4>
<uj5q2j$2q8$2@reader2.panix.com> <m6u5N.135963$96D1.86705@fx04.ams4>
<oxw5N.89254$QCp6.37234@fx11.ams4> <uj6j8o$2gmmh$1@dont-email.me>
<uj6lnl$2kpvg$1@dont-email.me> <krodbfF2tg0U1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Nov 2023 19:04:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="be65e6df073ac5a6220eee7f56a68364";
logging-data="3074024"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+E0E96UCdjoCgl+c8q4ctN8s6G4X7S8v4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:LNF+ihIeRH0x77aQhxz7s3ptWk0=
In-Reply-To: <krodbfF2tg0U1@mid.individual.net>
Content-Language: en-US
 by: Craig A. Berry - Fri, 17 Nov 2023 19:04 UTC

On 11/16/23 11:51 PM, Martin Vorländer wrote:
> Craig A. Berry <craigberry@nospam.mac.com> wrote:
>> On 11/16/23 8:30 PM, Craig A. Berry wrote:
>>> I took the new C compiler for a spin and built Perl with it.  I didn't
>>> see any of the compiler errors Mark saw, but I  got several undefined
>>> symbols when linking that I did not previously get:
>>>
>>> %ILINK-W-NUDFSYMS, 6 undefined symbols:
>>> %ILINK-I-UDFSYM,        C$_QSORT2BIG
>>> %ILINK-I-UDFSYM,        DECC$$GL___CRTL_VER_BUILD
>>> %ILINK-I-UDFSYM,        IN6ADDR_ANY
>>> %ILINK-I-UDFSYM,        IN6ADDR_LOOPBACK
>>> %ILINK-I-UDFSYM,        _NS_FLAGDATA
>>> %ILINK-I-UDFSYM,        _RES
>>>
>>> C$_QSORT2BIG is declared in errnodef.h, DECC$$GL___CRTL_VER_BUILD in
>>> unixlib.h, in6addr_any and in6addr_loopback in in6.h, _ns_flagdata in
>>> nameser.h, and _res is in resolv.h.
>>>
>>> So there is some kind of gear slippage among the compiler, the headers,
>>> and the library.  As far as I can see, the only thing new this week is
>>> the compiler.
>>
>> Upgrading from TCPIP X6.0-22 to TCPIP V6.0-23 did not make any
>> difference. I thought it might since some of the missing symbols are
>> TCP/IP-related.
>
> I also saw she missing IN6ADDR_ANY when building ZeroMQ.
>
> The TCP/IP shareables lack it, but it is exported from the TCP/IP libraries.

As I mentioned in the forum thread here:

https://forum.vmssoftware.com/viewtopic.php?f=16&t=8898&p=19964#p19964

compiling /NOOPT makes the undefined symbol warnings go away. Which is
an unfortunate workaround but it's where we are until the next release I
guess.

Re: VMS x86-64 compilers

<uj8esa$2u4s4$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31289&group=comp.os.vms#31289

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Fri, 17 Nov 2023 14:28:11 -0500
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <uj8esa$2u4s4$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Nov 2023 19:28:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="083283005436d73565ed29c888a92173";
logging-data="3085188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ri/dadZGrPa7VBEjJyDitiMuAiFWHRCE="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:V+P2kiFSxOPEXZ/94pN1ztrlPg8=
Content-Language: en-US
In-Reply-To: <uj51hk$28ne7$1@dont-email.me>
 by: Arne Vajhøj - Fri, 17 Nov 2023 19:28 UTC

On 11/16/2023 7:22 AM, Arne Vajhøj wrote:
> Looks like new versions of C, Pascal and Fortran has just been released.

And they just released Bliss!!

Arne

Re: VMS x86-64 compilers

<uj8ic6$2uos6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=31290&group=comp.os.vms#31290

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: FIRST.L...@vmssoftware.com (Robert A. Brooks)
Newsgroups: comp.os.vms
Subject: Re: VMS x86-64 compilers
Date: Fri, 17 Nov 2023 15:27:49 -0500
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <uj8ic6$2uos6$1@dont-email.me>
References: <uj51hk$28ne7$1@dont-email.me> <uj8esa$2u4s4$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 17 Nov 2023 20:27:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="62277273ec4b55c83a7c0f109547c0d0";
logging-data="3105670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/0Cz2BOKI/+iLKVv/k0x/Cu18O6/qlq4mYJPKsQ0LSNg=="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:OWOhDNZ2vrSnzmwwSedi+Isttus=
X-Antivirus-Status: Clean
Content-Language: en-US
In-Reply-To: <uj8esa$2u4s4$1@dont-email.me>
X-Antivirus: Avast (VPS 231116-12, 11/16/2023), Outbound message
 by: Robert A. Brooks - Fri, 17 Nov 2023 20:27 UTC

On 11/17/2023 2:28 PM, Arne Vajhøj wrote:
> On 11/16/2023 7:22 AM, Arne Vajhøj wrote:
>> Looks like new versions of C, Pascal and Fortran has just been released.
>
> And they just released Bliss!!

John and the compiler team have been working quite hard to get stuff out.

--

--- Rob


computers / comp.os.vms / Re: VMS x86-64 compilers

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor