Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A transistor protected by a fast-acting fuse will protect the fuse by blowing first.


computers / comp.os.vms / Re: Bug in Clang when DECC$FILE_SHARING enabled

SubjectAuthor
* Bug in Clang when DECC$FILE_SHARING enabledJake Hamby (Solid State Jake)
`- Re: Bug in Clang when DECC$FILE_SHARING enabledJohn Reagan

1
Bug in Clang when DECC$FILE_SHARING enabled

<3fe9839a-e48a-4770-b164-66cbc14173e2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1816:b0:417:981f:d56 with SMTP id t22-20020a05622a181600b00417981f0d56mr279300qtc.1.1696967615195;
Tue, 10 Oct 2023 12:53:35 -0700 (PDT)
X-Received: by 2002:a05:6808:20a7:b0:3a7:8c2c:8c8e with SMTP id
s39-20020a05680820a700b003a78c2c8c8emr10438981oiw.11.1696967615049; Tue, 10
Oct 2023 12:53:35 -0700 (PDT)
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!peer02.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 10 Oct 2023 12:53:34 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:46b0:abc0:31aa:2f79:3e99:1405;
posting-account=OGFVHQoAAAASiNAamRQec8BtkuXxYFnQ
NNTP-Posting-Host: 2600:1700:46b0:abc0:31aa:2f79:3e99:1405
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3fe9839a-e48a-4770-b164-66cbc14173e2n@googlegroups.com>
Subject: Bug in Clang when DECC$FILE_SHARING enabled
From: jake.ha...@gmail.com (Jake Hamby (Solid State Jake))
Injection-Date: Tue, 10 Oct 2023 19:53:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2800
 by: Jake Hamby (Solid St - Tue, 10 Oct 2023 19:53 UTC

While I was working on performance testing, I tried enabling all of the UNIX-related DECC$ logicals that I knew were relatively safe:

$ define/job DECC$UNIX_LEVEL 100
$ define/job DECC$EFS_CASE_SPECIAL DISABLE
$ define/job DECC$DETACHED_CHILD_PROCESS DISABLE
$ define/job DECC$POSIX_STYLE_UID DISABLE
$ define/job DECC$DISABLE_POSIX_ROOT DISABLE
$ define/job DECC$ENABLE_GETENV_CACHE ENABLE
$ define/job DECC$EXIT_AFTER_FAILED_EXEC ENABLE
$ define/job DECC$MAILBOX_CTX_STM ENABLE
$ define/job DECC$POPEN_NO_CRLF_REC_ATTR ENABLE
$ define/job DECC$ACL_ACCESS_CHECK ENABLE
$ define/job DECC$ALLOW_REMOVE_OPEN_FILES ENABLE
$ define/job DECC$STREAM_PIPE ENABLE
$ define/job DECC$UNIX_PATH_BEFORE_LOGNAME ENABLE
$ define/job DECC$POSIX_COMPLIANT_PATHNAMES ENABLE
$ define/job DECC$EXEC_FILEATTR_INHERITANCE 2
$ define/job DECC$PIPE_BUFFER_SIZE 65535
$ define/job DECC$PIPE_BUFFER_QUOTA 65536

After defining those, I discovered that Clang fails to generate the .obj file and leaves an empty ".obj.tmp" file in the directory as well:

$ clang -O3 -march=native -c ctype.cpp
CLANG: error: unable to make temporary file: unspecified generic_category error
error: unable to open output file 'ctype.obj': 'unspecified generic_category err
or'
1 error generated.

Some testing revealed that setting DECC$UNIX_LEVEL to 20 worked, but setting it to 30 fails, which led me to the culprit: DECC$FILE_SHARING. If I enable it, I get the file error, and if I set DECC$UNIX_LEVEL to 100 and then disable DECC$FILE_SHARING, I don't get the error.

Regards,
Jake Hamby

Re: Bug in Clang when DECC$FILE_SHARING enabled

<832dd4db-f650-4407-9a3c-94ebab51f9b1n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1744:b0:418:fed:c02 with SMTP id l4-20020a05622a174400b004180fed0c02mr304841qtk.8.1697003435809;
Tue, 10 Oct 2023 22:50:35 -0700 (PDT)
X-Received: by 2002:a05:6871:6a8a:b0:1bf:a06f:ce6f with SMTP id
zf10-20020a0568716a8a00b001bfa06fce6fmr7921962oab.9.1697003435542; Tue, 10
Oct 2023 22:50:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 10 Oct 2023 22:50:35 -0700 (PDT)
In-Reply-To: <3fe9839a-e48a-4770-b164-66cbc14173e2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=12.199.206.21; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 12.199.206.21
References: <3fe9839a-e48a-4770-b164-66cbc14173e2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <832dd4db-f650-4407-9a3c-94ebab51f9b1n@googlegroups.com>
Subject: Re: Bug in Clang when DECC$FILE_SHARING enabled
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Wed, 11 Oct 2023 05:50:35 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3067
 by: John Reagan - Wed, 11 Oct 2023 05:50 UTC

On Tuesday, October 10, 2023 at 12:53:36 PM UTC-7, Jake Hamby (Solid State Jake) wrote:
> While I was working on performance testing, I tried enabling all of the UNIX-related DECC$ logicals that I knew were relatively safe:
>
> $ define/job DECC$UNIX_LEVEL 100
> $ define/job DECC$EFS_CASE_SPECIAL DISABLE
> $ define/job DECC$DETACHED_CHILD_PROCESS DISABLE
> $ define/job DECC$POSIX_STYLE_UID DISABLE
> $ define/job DECC$DISABLE_POSIX_ROOT DISABLE
> $ define/job DECC$ENABLE_GETENV_CACHE ENABLE
> $ define/job DECC$EXIT_AFTER_FAILED_EXEC ENABLE
> $ define/job DECC$MAILBOX_CTX_STM ENABLE
> $ define/job DECC$POPEN_NO_CRLF_REC_ATTR ENABLE
> $ define/job DECC$ACL_ACCESS_CHECK ENABLE
> $ define/job DECC$ALLOW_REMOVE_OPEN_FILES ENABLE
> $ define/job DECC$STREAM_PIPE ENABLE
> $ define/job DECC$UNIX_PATH_BEFORE_LOGNAME ENABLE
> $ define/job DECC$POSIX_COMPLIANT_PATHNAMES ENABLE
> $ define/job DECC$EXEC_FILEATTR_INHERITANCE 2
> $ define/job DECC$PIPE_BUFFER_SIZE 65535
> $ define/job DECC$PIPE_BUFFER_QUOTA 65536
>
> After defining those, I discovered that Clang fails to generate the .obj file and leaves an empty ".obj.tmp" file in the directory as well:
>
> $ clang -O3 -march=native -c ctype.cpp
> CLANG: error: unable to make temporary file: unspecified generic_category error
> error: unable to open output file 'ctype.obj': 'unspecified generic_category err
> or'
> 1 error generated.
>
> Some testing revealed that setting DECC$UNIX_LEVEL to 20 worked, but setting it to 30 fails, which led me to the culprit: DECC$FILE_SHARING. If I enable it, I get the file error, and if I set DECC$UNIX_LEVEL to 100 and then disable DECC$FILE_SHARING, I don't get the error.
>
> Regards,
> Jake Hamby
I've passed this along to the team

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor