Author Topic: Alternatives to compiling Rust in Firefox port OS/2  (Read 45407 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #60 on: June 05, 2022, 01:51:26 pm »
Resurrecting this thread, as it seems more  relevant than starting a new one...

I started looking at llvm this weekend - if successful, this would give us  a port of clang, which is the first building block needed to even attempt to build rust...

If there is interest, I'll  post updates here. Given the seeming lack of interest in other compiler/tool news (ie GCC 12) I'm not sure that anyone will  care.

Hi Paul

I know that feedback is very hard to get, but an attempt to build rust is very welcome. I guess that since the community has more users than developers, people does not sees the values of llvm, clang or rust until they have an application that they use running over it.

Please give it a try porting the software, create a new thread here and we will try out best to test the software and give some feedback. Just remember how people loved your UniAud updates, llvm and clang may be not as hot as a driver for the moment, but let's give it a try.

Regards
« Last Edit: June 05, 2022, 02:41:02 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Neil Waldhauer

  • Hero Member
  • *****
  • Posts: 1024
  • Karma: +24/-0
    • View Profile
    • Blonde Guy
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #61 on: June 05, 2022, 03:12:57 pm »
Given the seeming lack of interest in other compiler/tool news (ie GCC 12) I'm not sure that anyone will  care.

I'm now working with a Blonde Guy customer to implement GFORTRAN for his operations, which could not have happened without you.

Thanks!
Expert consulting for ArcaOS, OS/2 and eComStation
http://www.blondeguy.com

TeLLie

  • Full Member
  • ***
  • Posts: 226
  • Karma: +11/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #62 on: June 05, 2022, 08:57:02 pm »
Hi Paul,

I still test software with you're newer gcc builds.
So i still watching :)

Gregg Young

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #63 on: June 05, 2022, 10:05:18 pm »
Hi Paul

I use your newer GCC builds also. Thanks for all your efforts.

Gregg

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #64 on: June 06, 2022, 10:53:57 am »
Hey Gregg,
I use your newer GCC builds also. Thanks for all your efforts.
Thanks for confirming, presumably they are working ok for your needs?

Cheers,

Paul

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #65 on: June 06, 2022, 10:55:03 am »
Hey Neil,

Given the seeming lack of interest in other compiler/tool news (ie GCC 12) I'm not sure that anyone will  care.
I'm now working with a Blonde Guy customer to implement GFORTRAN for his operations, which could not have happened without you.
Glad to hear the gfortran was of use, bear in mind it's had very little testing, so bugs are expected :)

Cheers,

Paul

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #66 on: June 06, 2022, 10:55:57 am »
Hey TeLLie,

Long time no talk :)

I still test software with you're newer gcc builds.
So i still watching :)

Great to hear! Seems I was too pessimistic :)

Cheers,

Paul

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #67 on: June 06, 2022, 11:01:31 am »
Hi Martin,

Resurrecting this thread, as it seems more  relevant than starting a new one...

I started looking at llvm this weekend - if successful, this would give us  a port of clang, which is the first building block needed to even attempt to build rust...

If there is interest, I'll  post updates here. Given the seeming lack of interest in other compiler/tool news (ie GCC 12) I'm not sure that anyone will  care.

I know that feedback is very hard to get, but an attempt to build rust is very welcome. I guess that since the community has more users than developers, people does not sees the values of llvm, clang or rust until they have an application that they use running over it.

Please give it a try porting the software, create a new thread here and we will try out best to test the software and give some feedback. Just remember how people loved your UniAud updates, llvm and clang may be not as hot as a driver for the moment, but let's give it a try.

Well llvm is currently at 96% built. Of course, built doesn't necessarily mean working!

I tried to disable the building of DLLs, but it decided it knew better and that caused me some issues.

We'll see what happens once/if the build completes.

Cheers,

Paul

PS I didn't necessarily say I'd look at rust, just that llvm/clang are a pre-requisite if someone wanted to look at Rust...

Gregg Young

  • Jr. Member
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #68 on: June 06, 2022, 12:30:14 pm »
Hey Gregg,
I use your newer GCC builds also. Thanks for all your efforts.
Thanks for confirming, presumably they are working ok for your needs?

Cheers,

Paul

Hi Paul

Yes. I have not encountered any issues. If I do I will let you know. Thanks

Gregg

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #69 on: June 06, 2022, 02:27:32 pm »
Hi Paul

Do you use any public repository for your source code? Like github or any other? It can be interesting for other people to look at it and maybe give you more feedback.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #70 on: June 07, 2022, 01:45:05 am »
Hey Martin,

Do you use any public repository for your source code? Like github or any other? It can be interesting for other people to look at it and maybe give you more feedback.

I've started uploading stuff to github. https://github.com/psmedley At the moment, it's mainly gcc, apache2 and php which are there.

If llvm proves useful, I'll upload the source there.

Cheers,

Paul.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #71 on: June 08, 2022, 11:05:18 am »
Hey Martin,

Do you use any public repository for your source code? Like github or any other? It can be interesting for other people to look at it and maybe give you more feedback.

I've started uploading stuff to github. https://github.com/psmedley At the moment, it's mainly gcc, apache2 and php which are there.

If llvm proves useful, I'll upload the source there.

Cheers,

Paul.

ok, llvm built - now I realise I didn't download the clang source, so I've done that now and have configured clang - trying to build it now.

Jochen Schäfer

  • Sr. Member
  • ****
  • Posts: 306
  • Karma: +27/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #72 on: June 08, 2022, 03:48:24 pm »
[..]
ok, llvm built - now I realise I didn't download the clang source, so I've done that now and have configured clang - trying to build it now.
That are great news.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #73 on: June 08, 2022, 11:22:22 pm »
Build died last night:
[ 81%] Linking CXX shared module ../../../SampleAn.dll
emxomf: Too many dictionary blocks
emxomfld: a.out to omf conversion failed for '../../../clangSema.a'.
make[2]: *** [lib/SampleAn.dll] Error 1
make[1]: *** [lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/all] Error 2

That 'Too many dictionary blocks' error is a new one for mee. I'll see if I can disable the sample analyser :)

Edit: i was building debug - and clangsema.a was ~100mb - reconfigured with Release code vs Debug and will see what happens.
« Last Edit: June 08, 2022, 11:25:57 pm by Paul Smedley »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2092
  • Karma: +159/-0
    • View Profile
Re: Alternatives to compiling Rust in Firefox port OS/2
« Reply #74 on: June 10, 2022, 11:35:39 am »
I have good news and bad news.

Firstly -  the good news is that clang is 95% built, and I have a clang.exe and a bunch of other executables

The bad  news is,  that clang.exe immediately traps, and other executables show issues with determining  relative/absolutes paths (no surprises there).

I'll continue working on this as time and motivation permits.

Cheers,

Paul