Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The moon is made of green cheese. -- John Heywood


computers / comp.sys.tandem / Re: Can you give me tips for porting open source projects to NonStop system?

SubjectAuthor
* Can you give me tips for porting open source projects to NonStop system?Keith Dick
`* Re: Can you give me tips for porting open source projects to NonStop system?Randall
 +* Re: Can you give me tips for porting open source projects to NonStopred floyd
 |`- Re: Can you give me tips for porting open source projects to NonStop system?Keith Dick
 `* Re: Can you give me tips for porting open source projects to NonStop system?Keith Dick
  `* Re: Can you give me tips for porting open source projects to NonStopred floyd
   `* Re: Can you give me tips for porting open source projects to NonStop system?Randall
    `* Re: Can you give me tips for porting open source projects to NonStop system?Keith Dick
     `- Re: Can you give me tips for porting open source projects to NonStop system?Randall

1
Can you give me tips for porting open source projects to NonStop system?

<a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=486&group=comp.sys.tandem#486

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:600c:3510:b0:3a0:f957:116e with SMTP id h16-20020a05600c351000b003a0f957116emr11358763wmq.179.1656615805055;
Thu, 30 Jun 2022 12:03:25 -0700 (PDT)
X-Received: by 2002:a05:6902:4d:b0:66c:9e74:b9fb with SMTP id
m13-20020a056902004d00b0066c9e74b9fbmr11091506ybh.47.1656615804424; Thu, 30
Jun 2022 12:03:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Thu, 30 Jun 2022 12:03:24 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
Subject: Can you give me tips for porting open source projects to NonStop system?
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Thu, 30 Jun 2022 19:03:25 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Keith Dick - Thu, 30 Jun 2022 19:03 UTC

The place I work uses Google Protocol Buffers for formatting messages that get sent between systems of different architectures. In the case of interest to me, that is between a big Java program running on Linux systems and the code I maintain on J-series and L-series NonStop systems.

Many years ago, I ported the then-current version of Google Protocol Buffers to the NonStop system, and it took me a LOT of time to do so. I don't recall exactly how long, but it was at least several weeks, and might have been over a month;. I have used that old version ever since then because of the large effort I expected it would take to port newer versions. But my managers want to move up to the current version of Google Protocol Buffers, so I'll need to dive in and port the current version.

What I'm hoping to get in response to this post is advice about how to go about doing a port of an open source package to the NonStop environment, both J-series and L-series. I recall the general approach of running the configure step, the make step, and the install step that most open source packages use. Google Protocol Buffers did use that approach (I assume the current version still follows that approach). I don't recall the details of the problems I had in the prior port, but I recall having many, many errors in both the configure step and the make step that took a lot of effort to find ways to get around.

What are things that might not be obvious to someone not very experienced in porting stuff to the NonStop system? Don't assume anything is so obvious that it doesn't need to be mentioned. I would much rather have you tell me things I already know than not to learn about something I don't know. Also, what things are there that people sometimes do when trying to port software that might seem like the normal thing to do, but actually should be avoided because they lead to problems?

Re: Can you give me tips for porting open source projects to NonStop system?

<bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=487&group=comp.sys.tandem#487

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a5d:644e:0:b0:21b:9439:bae5 with SMTP id d14-20020a5d644e000000b0021b9439bae5mr9894578wrw.507.1656630321953;
Thu, 30 Jun 2022 16:05:21 -0700 (PDT)
X-Received: by 2002:a25:37c4:0:b0:669:b013:8264 with SMTP id
e187-20020a2537c4000000b00669b0138264mr12321792yba.40.1656630321445; Thu, 30
Jun 2022 16:05:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Thu, 30 Jun 2022 16:05:21 -0700 (PDT)
In-Reply-To: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:3fa0:4b9:c592:5dd6:2d1b:2138;
posting-account=6VebZwoAAAAgrpUtsowyjrKRLNlqxnXo
NNTP-Posting-Host: 2607:fea8:3fa0:4b9:c592:5dd6:2d1b:2138
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com>
Subject: Re: Can you give me tips for porting open source projects to NonStop system?
From: rsbec...@nexbridge.com (Randall)
Injection-Date: Thu, 30 Jun 2022 23:05:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Randall - Thu, 30 Jun 2022 23:05 UTC

On Thursday, June 30, 2022 at 3:03:26 p.m. UTC-4, rkd...@gmail.com wrote:
> The place I work uses Google Protocol Buffers for formatting messages that get sent between systems of different architectures. In the case of interest to me, that is between a big Java program running on Linux systems and the code I maintain on J-series and L-series NonStop systems.
>
> Many years ago, I ported the then-current version of Google Protocol Buffers to the NonStop system, and it took me a LOT of time to do so. I don't recall exactly how long, but it was at least several weeks, and might have been over a month;. I have used that old version ever since then because of the large effort I expected it would take to port newer versions. But my managers want to move up to the current version of Google Protocol Buffers, so I'll need to dive in and port the current version.
>
> What I'm hoping to get in response to this post is advice about how to go about doing a port of an open source package to the NonStop environment, both J-series and L-series. I recall the general approach of running the configure step, the make step, and the install step that most open source packages use. Google Protocol Buffers did use that approach (I assume the current version still follows that approach). I don't recall the details of the problems I had in the prior port, but I recall having many, many errors in both the configure step and the make step that took a lot of effort to find ways to get around.
>
> What are things that might not be obvious to someone not very experienced in porting stuff to the NonStop system? Don't assume anything is so obvious that it doesn't need to be mentioned. I would much rather have you tell me things I already know than not to learn about something I don't know. Also, what things are there that people sometimes do when trying to port software that might seem like the normal thing to do, but actually should be avoided because they lead to problems?

What language is the package? There are different issues with different languages. With C, you will need to understand the dependencies. If the project absolutely depends on gcc, which many do, you are not going to be able to port it without significant effort. Understanding what compilers are involved is really important. It also depends on whether you are going a "light" vs. "deep" port. If you are just trying to get it to run, that is one thing, but run efficiently is another.

Good luck,
Randall

Re: Can you give me tips for porting open source projects to NonStop system?

<t9lgsi$228c8$1@redfloyd.dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=489&group=comp.sys.tandem#489

  copy link   Newsgroups: comp.sys.tandem
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!redfloyd.dont-email.me!.POSTED!not-for-mail
From: no.spam....@its.invalid (red floyd)
Newsgroups: comp.sys.tandem
Subject: Re: Can you give me tips for porting open source projects to NonStop
system?
Date: Thu, 30 Jun 2022 17:58:58 -0700
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <t9lgsi$228c8$1@redfloyd.dont-email.me>
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
<bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Jul 2022 00:58:58 -0000 (UTC)
Injection-Info: redfloyd.dont-email.me; posting-host="7731b6267170c667dd70e816c66d7cfd";
logging-data="2171272"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VklL3s/JKixIjn8d+xXVyWTc6I+1ns1w="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Cancel-Lock: sha1:sjg5kxzpPZKNDrva5fBrz5ojPms=
In-Reply-To: <bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com>
Content-Language: en-US
 by: red floyd - Fri, 1 Jul 2022 00:58 UTC

On 6/30/2022 4:05 PM, Randall wrote:
> On Thursday, June 30, 2022 at 3:03:26 p.m. UTC-4, rkd...@gmail.com wrote:
>> The place I work uses Google Protocol Buffers for formatting messages that get sent between systems of different architectures. In the case of interest to me, that is between a big Java program running on Linux systems and the code I maintain on J-series and L-series NonStop systems.
>>
>> Many years ago, I ported the then-current version of Google Protocol Buffers to the NonStop system, and it took me a LOT of time to do so. I don't recall exactly how long, but it was at least several weeks, and might have been over a month;. I have used that old version ever since then because of the large effort I expected it would take to port newer versions. But my managers want to move up to the current version of Google Protocol Buffers, so I'll need to dive in and port the current version.
>>
>> What I'm hoping to get in response to this post is advice about how to go about doing a port of an open source package to the NonStop environment, both J-series and L-series. I recall the general approach of running the configure step, the make step, and the install step that most open source packages use. Google Protocol Buffers did use that approach (I assume the current version still follows that approach). I don't recall the details of the problems I had in the prior port, but I recall having many, many errors in both the configure step and the make step that took a lot of effort to find ways to get around.
>>
>> What are things that might not be obvious to someone not very experienced in porting stuff to the NonStop system? Don't assume anything is so obvious that it doesn't need to be mentioned. I would much rather have you tell me things I already know than not to learn about something I don't know. Also, what things are there that people sometimes do when trying to port software that might seem like the normal thing to do, but actually should be avoided because they lead to problems?
>
> What language is the package? There are different issues with different languages. With C, you will need to understand the dependencies. If the project absolutely depends on gcc, which many do, you are not going to be able to port it without significant effort. Understanding what compilers are involved is really important. It also depends on whether you are going a "light" vs. "deep" port. If you are just trying to get it to run, that is one thing, but run efficiently is another.
>
> Good luck,
> Randall

In addition to what Randall said, HPE does have an OSS porting guide
available on the documentation site.

Re: Can you give me tips for porting open source projects to NonStop system?

<8053d46b-47e0-4bf5-ae69-e7448e90308an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=490&group=comp.sys.tandem#490

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:adf:ec02:0:b0:21b:931c:cf78 with SMTP id x2-20020adfec02000000b0021b931ccf78mr11423319wrn.188.1656659484260;
Fri, 01 Jul 2022 00:11:24 -0700 (PDT)
X-Received: by 2002:a25:37c4:0:b0:669:b013:8264 with SMTP id
e187-20020a2537c4000000b00669b0138264mr13887631yba.40.1656659483770; Fri, 01
Jul 2022 00:11:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 1 Jul 2022 00:11:23 -0700 (PDT)
In-Reply-To: <bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com> <bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8053d46b-47e0-4bf5-ae69-e7448e90308an@googlegroups.com>
Subject: Re: Can you give me tips for porting open source projects to NonStop system?
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Fri, 01 Jul 2022 07:11:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Keith Dick - Fri, 1 Jul 2022 07:11 UTC

On Thursday, June 30, 2022 at 4:05:23 PM UTC-7, Randall wrote:
> On Thursday, June 30, 2022 at 3:03:26 p.m. UTC-4, rkd...@gmail.com wrote:
> > The place I work uses Google Protocol Buffers for formatting messages that get sent between systems of different architectures. In the case of interest to me, that is between a big Java program running on Linux systems and the code I maintain on J-series and L-series NonStop systems.
> >
> > Many years ago, I ported the then-current version of Google Protocol Buffers to the NonStop system, and it took me a LOT of time to do so. I don't recall exactly how long, but it was at least several weeks, and might have been over a month;. I have used that old version ever since then because of the large effort I expected it would take to port newer versions. But my managers want to move up to the current version of Google Protocol Buffers, so I'll need to dive in and port the current version.
> >
> > What I'm hoping to get in response to this post is advice about how to go about doing a port of an open source package to the NonStop environment, both J-series and L-series. I recall the general approach of running the configure step, the make step, and the install step that most open source packages use. Google Protocol Buffers did use that approach (I assume the current version still follows that approach). I don't recall the details of the problems I had in the prior port, but I recall having many, many errors in both the configure step and the make step that took a lot of effort to find ways to get around.
> >
> > What are things that might not be obvious to someone not very experienced in porting stuff to the NonStop system? Don't assume anything is so obvious that it doesn't need to be mentioned. I would much rather have you tell me things I already know than not to learn about something I don't know. Also, what things are there that people sometimes do when trying to port software that might seem like the normal thing to do, but actually should be avoided because they lead to problems?
> What language is the package? There are different issues with different languages. With C, you will need to understand the dependencies. If the project absolutely depends on gcc, which many do, you are not going to be able to port it without significant effort. Understanding what compilers are involved is really important. It also depends on whether you are going a "light" vs. "deep" port. If you are just trying to get it to run, that is one thing, but run efficiently is another.
>
> Good luck,
> Randall

Thanks for your reply, Randall.

The Google Protocol Buffers package (GPB) is entirely C++. Unless my memory is playing tricks on me, GPB does not depend on any other open source libraries to run, but it does use a number of open source programs in the course of building GPB.

Here is a very brief description of what GPB does, in case it helps understand what is needed to do the port.

GPB has two main parts. One part is a compiler that takes in a description of the messages and the fields that go into them that GPB is going to be responsible for creating and interpreting.

This compiler produces a number of classes which must be compiled and linked to the application program, which uses them to construct or parse messages. Among the methods for a message is one to turn the data in the classes that represents the message into a message buffer that can be sent to another program that will use GPB to parse and use the contents of the message. Also among the methods for a message is one to parse the contents of a message buffer and put its contents into the data of the classes that represents the message.

The other main part of GPB is a bunch of classes that the classes generated by the compiler use in the course of composing, parsing, and otherwise manipulating the message buffers. GPB works entirely in memory -- it does not send or receive the messages it composes or parses.

The main purpose of GPB is to hide the differences in architecture when programs running on different systems exchange messages.

You ask whether GPB depends on gcc. I imagine you want to know whether GPB depends on any extensions to the C++ standard gcc implements, but that are not generally included in other C++ compilers. I believe that was one type of problem I encountered those many years ago when I ported version 2.4.1 of GPB to the NonStop system. I don't remember any problem in particular, but I believe that was one type of problem I had (over and over and over).

Since GPB claims to be intended to support message exchange among systems with a wide range of architectures, I would expect part of their requirements would be not to depend on features unique to gcc, but that seems not to have been the case back then. I'm hoping that Google has removed dependencies on features unique to gcc in the more recent versions, but I do not know whether they have done so. Maybe they mean GPB is to support message exchange among systems with a wide range of architectures that all support gcc. I don't know.

One file on the github project for GPB says these tools are needed to build GPB:

autoconf
automake
libtool
curl
make (for HP Tru64 and AIX gmake is needed instead of make)
g++
unzip

Except for g++, I see all of those are available in the Ituglib open source area, so I can get them,. I did that when I did the port of 2.4.1, and I got it to use c89 for the compiler. My memory of that time is that I had seemingly endless errors from the configure step, where it couldn't figure out how to do things it needed to do, and seemingly endless compiler errors after I beat the configure step. Once I fixed all the compiler errors, I believe it passed all of its tests, and I never had any problem compiling the classes it generated from our message declarations.

Maybe I shouldn't be asking for help before I try building the current version of GPB. I can ask for help if I run into problems I can't fix. I'm just trying to get some specific suggestions that others have found make porting go easier.

Re: Can you give me tips for porting open source projects to NonStop system?

<96c97dda-75aa-4b8b-bf42-d1a7b5a687f2n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=491&group=comp.sys.tandem#491

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:adf:f147:0:b0:21b:9ff4:9e08 with SMTP id y7-20020adff147000000b0021b9ff49e08mr11982795wro.608.1656659913418;
Fri, 01 Jul 2022 00:18:33 -0700 (PDT)
X-Received: by 2002:a25:d101:0:b0:66c:cc11:17c2 with SMTP id
i1-20020a25d101000000b0066ccc1117c2mr13294481ybg.594.1656659912959; Fri, 01
Jul 2022 00:18:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.tandem
Date: Fri, 1 Jul 2022 00:18:32 -0700 (PDT)
In-Reply-To: <t9lgsi$228c8$1@redfloyd.dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
<bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com> <t9lgsi$228c8$1@redfloyd.dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <96c97dda-75aa-4b8b-bf42-d1a7b5a687f2n@googlegroups.com>
Subject: Re: Can you give me tips for porting open source projects to NonStop system?
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Fri, 01 Jul 2022 07:18:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Keith Dick - Fri, 1 Jul 2022 07:18 UTC

On Thursday, June 30, 2022 at 5:59:00 PM UTC-7, red floyd wrote:
> On 6/30/2022 4:05 PM, Randall wrote:
> > On Thursday, June 30, 2022 at 3:03:26 p.m. UTC-4, rkd...@gmail.com wrote:
> >> The place I work uses Google Protocol Buffers for formatting messages that get sent between systems of different architectures. In the case of interest to me, that is between a big Java program running on Linux systems and the code I maintain on J-series and L-series NonStop systems.
> >>
> >> Many years ago, I ported the then-current version of Google Protocol Buffers to the NonStop system, and it took me a LOT of time to do so. I don't recall exactly how long, but it was at least several weeks, and might have been over a month;. I have used that old version ever since then because of the large effort I expected it would take to port newer versions. But my managers want to move up to the current version of Google Protocol Buffers, so I'll need to dive in and port the current version.
> >>
> >> What I'm hoping to get in response to this post is advice about how to go about doing a port of an open source package to the NonStop environment, both J-series and L-series. I recall the general approach of running the configure step, the make step, and the install step that most open source packages use. Google Protocol Buffers did use that approach (I assume the current version still follows that approach). I don't recall the details of the problems I had in the prior port, but I recall having many, many errors in both the configure step and the make step that took a lot of effort to find ways to get around.
> >>
> >> What are things that might not be obvious to someone not very experienced in porting stuff to the NonStop system? Don't assume anything is so obvious that it doesn't need to be mentioned. I would much rather have you tell me things I already know than not to learn about something I don't know. Also, what things are there that people sometimes do when trying to port software that might seem like the normal thing to do, but actually should be avoided because they lead to problems?
> >
> > What language is the package? There are different issues with different languages. With C, you will need to understand the dependencies. If the project absolutely depends on gcc, which many do, you are not going to be able to port it without significant effort. Understanding what compilers are involved is really important. It also depends on whether you are going a "light" vs. "deep" port. If you are just trying to get it to run, that is one thing, but run efficiently is another.
> >
> > Good luck,
> > Randall
> In addition to what Randall said, HPE does have an OSS porting guide
> available on the documentation site.

Thanks for the pointer to that manual, Red Floyd.

I took a look at it. It might provide some help, but seems mostly to be advice about how to program the NonStop system, and advice about how to change a program you control so it will port to OSS easier. I don't exactly have control of the open source package I want to port, but I may find those suggestions helpful when making local modifications to the package in order to get it to compile.

Re: Can you give me tips for porting open source projects to NonStop system?

<t9n4jq$29vm0$1@redfloyd.dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=492&group=comp.sys.tandem#492

  copy link   Newsgroups: comp.sys.tandem
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!redfloyd.dont-email.me!.POSTED!not-for-mail
From: no.spam....@its.invalid (red floyd)
Newsgroups: comp.sys.tandem
Subject: Re: Can you give me tips for porting open source projects to NonStop
system?
Date: Fri, 1 Jul 2022 08:41:46 -0700
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <t9n4jq$29vm0$1@redfloyd.dont-email.me>
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
<bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com>
<8053d46b-47e0-4bf5-ae69-e7448e90308an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 1 Jul 2022 15:41:46 -0000 (UTC)
Injection-Info: redfloyd.dont-email.me; posting-host="2869ea85ebe89f7f9dd6e7b0cfe0646b";
logging-data="2424512"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/QYdfuYgPFeGAhj17VQUGs49n4J74MhOU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.0
Cancel-Lock: sha1:oS1sgnV7238+d6F4fvXLHYz9vbc=
In-Reply-To: <8053d46b-47e0-4bf5-ae69-e7448e90308an@googlegroups.com>
Content-Language: en-US
 by: red floyd - Fri, 1 Jul 2022 15:41 UTC

On 7/1/2022 12:11 AM, Keith Dick wrote:

> The Google Protocol Buffers package (GPB) is entirely C++. Unless my memory is playing tricks on me, GPB does not depend on any other open source libraries to run, but it does use a number of open source programs in the course of building GPB.
>

One note... If it's C++11, you can only build for an L-RVU, not for J.
If it's C++14 or later, you're completely out of luck.

Re: Can you give me tips for porting open source projects to NonStop system?

<a62ccbf4-360c-461d-b633-f334b5e4c85dn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=493&group=comp.sys.tandem#493

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:6214:62e:b0:470:4608:1801 with SMTP id a14-20020a056214062e00b0047046081801mr17958458qvx.54.1656704019932;
Fri, 01 Jul 2022 12:33:39 -0700 (PDT)
X-Received: by 2002:a81:524d:0:b0:317:9f17:15bd with SMTP id
g74-20020a81524d000000b003179f1715bdmr18800863ywb.156.1656704019700; Fri, 01
Jul 2022 12:33:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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.sys.tandem
Date: Fri, 1 Jul 2022 12:33:39 -0700 (PDT)
In-Reply-To: <t9n4jq$29vm0$1@redfloyd.dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:3fa0:4b9:71ed:b5f9:a819:3c0e;
posting-account=6VebZwoAAAAgrpUtsowyjrKRLNlqxnXo
NNTP-Posting-Host: 2607:fea8:3fa0:4b9:71ed:b5f9:a819:3c0e
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
<bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com> <8053d46b-47e0-4bf5-ae69-e7448e90308an@googlegroups.com>
<t9n4jq$29vm0$1@redfloyd.dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a62ccbf4-360c-461d-b633-f334b5e4c85dn@googlegroups.com>
Subject: Re: Can you give me tips for porting open source projects to NonStop system?
From: rsbec...@nexbridge.com (Randall)
Injection-Date: Fri, 01 Jul 2022 19:33:39 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2020
 by: Randall - Fri, 1 Jul 2022 19:33 UTC

On Friday, July 1, 2022 at 11:41:49 a.m. UTC-4, red floyd wrote:
> On 7/1/2022 12:11 AM, Keith Dick wrote:
>
> > The Google Protocol Buffers package (GPB) is entirely C++. Unless my memory is playing tricks on me, GPB does not depend on any other open source libraries to run, but it does use a number of open source programs in the course of building GPB.
> >
> One note... If it's C++11, you can only build for an L-RVU, not for J.
> If it's C++14 or later, you're completely out of luck.

Big caution that if g++ is required, you are going to have to make a lot of changes. g++ is based on gcc, which cannot be ported to L-series (or J-series).

Re: Can you give me tips for porting open source projects to NonStop system?

<dd6e80e1-e775-4117-8554-09debe4cafecn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=494&group=comp.sys.tandem#494

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:a05:622a:1391:b0:304:eb9f:aee6 with SMTP id o17-20020a05622a139100b00304eb9faee6mr14641190qtk.365.1656708389597;
Fri, 01 Jul 2022 13:46:29 -0700 (PDT)
X-Received: by 2002:a25:1f44:0:b0:66c:8185:7c2e with SMTP id
f65-20020a251f44000000b0066c81857c2emr16822131ybf.629.1656708389382; Fri, 01
Jul 2022 13:46:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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.sys.tandem
Date: Fri, 1 Jul 2022 13:46:29 -0700 (PDT)
In-Reply-To: <a62ccbf4-360c-461d-b633-f334b5e4c85dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=98.42.228.104; posting-account=Lua_ZwoAAADivbVXQF8uKE7dZSUNm9vj
NNTP-Posting-Host: 98.42.228.104
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
<bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com> <8053d46b-47e0-4bf5-ae69-e7448e90308an@googlegroups.com>
<t9n4jq$29vm0$1@redfloyd.dont-email.me> <a62ccbf4-360c-461d-b633-f334b5e4c85dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dd6e80e1-e775-4117-8554-09debe4cafecn@googlegroups.com>
Subject: Re: Can you give me tips for porting open source projects to NonStop system?
From: rkd...@gmail.com (Keith Dick)
Injection-Date: Fri, 01 Jul 2022 20:46:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4481
 by: Keith Dick - Fri, 1 Jul 2022 20:46 UTC

On Friday, July 1, 2022 at 12:33:40 PM UTC-7, Randall wrote:
> On Friday, July 1, 2022 at 11:41:49 a.m. UTC-4, red floyd wrote:
> > On 7/1/2022 12:11 AM, Keith Dick wrote:
> >
> > > The Google Protocol Buffers package (GPB) is entirely C++. Unless my memory is playing tricks on me, GPB does not depend on any other open source libraries to run, but it does use a number of open source programs in the course of building GPB.
> > >
> > One note... If it's C++11, you can only build for an L-RVU, not for J.
> > If it's C++14 or later, you're completely out of luck.
> Big caution that if g++ is required, you are going to have to make a lot of changes. g++ is based on gcc, which cannot be ported to L-series (or J-series).

Well, those last two posts are a bit discouraging. Thanks for not holding back on bad news!

Is there some fairly simple way to tell whether the C++ source code is C++11, C++14, or some other version? The instructions for building GPB I have found so far do not say anything about what version of C++ it needs. Maybe it will be stated somewhere I have not yet seen.

What is it about those versions of C++ that prevents them from being compiled on J-series or L-series? Is that only true if certain features of the language are used in the source code, or are those versions of C++ so fundamentally different from what c89 or c99 can compile that there truly is zero hope?

I was under the impression that g++ was just the name given to the gcc executable when it was to expect C++ syntax in the source files it was given to compile. Is that impression wrong in some way?

I have to say that these warnings do seem to confirm my experience from almost 10 years ago when porting GPB version 2.4.1. I had to make a LOT of changes to the C++ source files, though I don't remember any details of what those changes were. I do have the original source files and the modified source files that I finally was able to get to compile. I could use diff to see what all the changes were, but I figured that would not be very helpful, given that I believe 3.x was a rewrite.

I see a very large number of open source packages in the ITUGLIB open source library. Do none of those packages use gcc or g++? I thought that gcc was the most common compiler in the open source world. If a large number of the ITUGLIB contents did use gcc or g++ in their original environment, how were you able to get them compiled for the NonStop system?

How about the other packages listed as being required to build GPB? Especially autoconf, automake, and libtool. Are there known difficulties in using them on NonStop systems when building other open source packages, or do they work well on NonStop systems? Any tips or tricks needed to help get them to work on NonStop systems? I recall whatever tools were used in the configure step of building GPB 2.4.1 gave me a huge number of problems 10 years ago.

Re: Can you give me tips for porting open source projects to NonStop system?

<d9d0bf19-8e77-4833-9390-42411a5d9698n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=495&group=comp.sys.tandem#495

  copy link   Newsgroups: comp.sys.tandem
X-Received: by 2002:ac8:5709:0:b0:31d:365d:1621 with SMTP id 9-20020ac85709000000b0031d365d1621mr7804843qtw.94.1656768356373;
Sat, 02 Jul 2022 06:25:56 -0700 (PDT)
X-Received: by 2002:a81:1c4b:0:b0:31c:5f22:6bd3 with SMTP id
c72-20020a811c4b000000b0031c5f226bd3mr8709825ywc.47.1656768356135; Sat, 02
Jul 2022 06:25:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.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.sys.tandem
Date: Sat, 2 Jul 2022 06:25:55 -0700 (PDT)
In-Reply-To: <dd6e80e1-e775-4117-8554-09debe4cafecn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2607:fea8:3fa0:4b9:71ed:b5f9:a819:3c0e;
posting-account=6VebZwoAAAAgrpUtsowyjrKRLNlqxnXo
NNTP-Posting-Host: 2607:fea8:3fa0:4b9:71ed:b5f9:a819:3c0e
References: <a91a4cf9-9ce3-4510-9cbe-47f7a117a203n@googlegroups.com>
<bc6ba4ed-8a41-4f97-bdbd-8c584499027en@googlegroups.com> <8053d46b-47e0-4bf5-ae69-e7448e90308an@googlegroups.com>
<t9n4jq$29vm0$1@redfloyd.dont-email.me> <a62ccbf4-360c-461d-b633-f334b5e4c85dn@googlegroups.com>
<dd6e80e1-e775-4117-8554-09debe4cafecn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d9d0bf19-8e77-4833-9390-42411a5d9698n@googlegroups.com>
Subject: Re: Can you give me tips for porting open source projects to NonStop system?
From: rsbec...@nexbridge.com (Randall)
Injection-Date: Sat, 02 Jul 2022 13:25:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6159
 by: Randall - Sat, 2 Jul 2022 13:25 UTC

On Friday, July 1, 2022 at 4:46:30 p.m. UTC-4, rkd...@gmail.com wrote:
> On Friday, July 1, 2022 at 12:33:40 PM UTC-7, Randall wrote:
> > On Friday, July 1, 2022 at 11:41:49 a.m. UTC-4, red floyd wrote:
> > > On 7/1/2022 12:11 AM, Keith Dick wrote:
> > >
> > > > The Google Protocol Buffers package (GPB) is entirely C++. Unless my memory is playing tricks on me, GPB does not depend on any other open source libraries to run, but it does use a number of open source programs in the course of building GPB.
> > > >
> > > One note... If it's C++11, you can only build for an L-RVU, not for J..
> > > If it's C++14 or later, you're completely out of luck.
> > Big caution that if g++ is required, you are going to have to make a lot of changes. g++ is based on gcc, which cannot be ported to L-series (or J-series).
> Well, those last two posts are a bit discouraging. Thanks for not holding back on bad news!
>
> Is there some fairly simple way to tell whether the C++ source code is C++11, C++14, or some other version? The instructions for building GPB I have found so far do not say anything about what version of C++ it needs. Maybe it will be stated somewhere I have not yet seen.
>
> What is it about those versions of C++ that prevents them from being compiled on J-series or L-series? Is that only true if certain features of the language are used in the source code, or are those versions of C++ so fundamentally different from what c89 or c99 can compile that there truly is zero hope?
>
> I was under the impression that g++ was just the name given to the gcc executable when it was to expect C++ syntax in the source files it was given to compile. Is that impression wrong in some way?
>
> I have to say that these warnings do seem to confirm my experience from almost 10 years ago when porting GPB version 2.4.1. I had to make a LOT of changes to the C++ source files, though I don't remember any details of what those changes were. I do have the original source files and the modified source files that I finally was able to get to compile. I could use diff to see what all the changes were, but I figured that would not be very helpful, given that I believe 3.x was a rewrite.
>
> I see a very large number of open source packages in the ITUGLIB open source library. Do none of those packages use gcc or g++? I thought that gcc was the most common compiler in the open source world. If a large number of the ITUGLIB contents did use gcc or g++ in their original environment, how were you able to get them compiled for the NonStop system?
>
> How about the other packages listed as being required to build GPB? Especially autoconf, automake, and libtool. Are there known difficulties in using them on NonStop systems when building other open source packages, or do they work well on NonStop systems? Any tips or tricks needed to help get them to work on NonStop systems? I recall whatever tools were used in the configure step of building GPB 2.4.1 gave me a huge number of problems 10 years ago.

There is no easy way to tell, other than looking in Makefile.am or Makefile..in and find the compiler references. If you can read configure.ac, that would provide some info. Running after running autoconf you should be able to run conf_script_floss_cc and look at the output. That should report what is missing and whether gcc is required.

The C++ differences are numerous. The syntax has evolved over time. C++11 is only available on L-series. Much relates to initialization, which does create big problems for older compilers.

Any of the ITUGLIB packages that had hard dependencies would have been rewritten - we have not done a gcc port in at least 8 years, maybe 15. I can only speak as far back as about 2010. The autoconf versions in coreutils are one version back and that can cause problems for newer products, so you might get stuck there.

You might want to use git as a comparison tool on GPB to see what changed over time on a file by file basis. If you have a port, starting a new branch with that port off the base version might be helpful, and then merging in the newer changes on top of your port might make things easier.

If you get this to work, you might want to consider submitting it to ITUGLIB for long-term posterity. We do try to keep packages up to date, particularly if the core team is willing to take on NonStop port adaptations.

Regards,
Randall

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor