GithubHelp home page GithubHelp logo

Comments (5)

baryluk avatar baryluk commented on May 18, 2024 1

Filled GDC bug upstream with minimal reproducer - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113125

from hipremeengine.

MrcSnm avatar MrcSnm commented on May 18, 2024 1

I want to use system compiler. If it breaks, or does not work, it is my problem.

Currently, you may specify "ldcPath" and trick the "ldcVersion" the same one which is the default here.

After some thought, I've concluded that I'm going to do a mini refactor onto the dependency section of build_selector.
I'll introduce some kind of featureset required for each task available.
I don't know how fast it will be, but it has already started since it was already in my plans to do that in future, but with this issue, I may increase the priority on it.

prerelease version of ldc

The way I'm doing this is by always updating to preleases of LDC, which means it is always using bleeding edge versions of the LDC compiler since I need to keep the D Runtime up to date, so this should not be a problem.

what if I want to compile it on not-yet-officially supported architecture like riscv, etc. etc.

This would need a new target input creation inside build_selector. Maybe having a way to define a custom target would be nice. But of course it won't be very portable, but I don't see myself working on that right now.

What if want stable release, and haver control over what is used.

On the featureset descriptor I'm doing, it may be a little more relaxed and may skip some checks based on that.

from hipremeengine.

MrcSnm avatar MrcSnm commented on May 18, 2024

gdc

Keep in mind that I've never used, not even once GDC for programming anything. I declare it completely unstable support for it. DMD and LDC are the recommended compilers.

Ok. Fair enough, requires some version probably and stuff (this objc probably should not even be a dependency on Liunx).

I agree that it should not be a dependency. Unfortunately, the only way to do that is by specifying other configuration, because this bug: dlang/dub#2752, though it should be only on macOS, there are some advantages on testing side for the meta generation stuff. I may choose to tackle this by adding some special versions for it.

Is there a way to not do that, and use system ldc by default?

No. If you look at the changelog history of the D Runtime, it keeps changing every release and I do not have time to keep it compatible with older releases specially because I've yet to see a disadvantage in not updating it by now. If somebody is willing to help me maintain my WASM/PSVita runtime, okay, we can talk, but this is a lot of work.

Additionally pressing N, causes terminal to be in-non-echo mode forever (until reset). Please do not touch echo mode. Require Y+Enter instead.

That means it won't do anything after pressing simply Y? I may need to check one of the libraries I'm using

from hipremeengine.

MrcSnm avatar MrcSnm commented on May 18, 2024

I've tested and I think it may be fixed now the non-echo problem. On the system compiler, this is not really the recommended way to solve this.
The bug fix on terminal must is on version 1.0.14

from hipremeengine.

baryluk avatar baryluk commented on May 18, 2024

Thanks for the answers.

Keep in mind that I've never used, not even once GDC for programming anything. I declare it completely unstable support for it.

I only use GDC (for many reasons). I have been using GDC for more than 10 years. I am perfectly happy with it. It is fine for it to not be officially supported (including compilation issues from time to time, either due to outdated phobos or D frontend, or bugs in Hipreme itself that did not handle it correctly).

The import issue of objc, looks like a possible bug in the compiler. I will follow on this with gdc folks.

Initially I read that it says "cannot import", but actually reading error message shows that it is an internal compiler error. Sorry about that.

No. If you look at the changelog history of the D Runtime, it keeps changing every release and I do not have time to keep it compatible with older releases specially because I've yet to see a disadvantage in not updating it by now

I want to use system compiler. If it breaks, or does not work, it is my problem.

For some usages (and possibly be a default) it is fine to use a bundled compiler and runtime, but there should be a way to specify system toolchain. What if I want to debug and fix gdc issues, what if I want to test a prerelease version of ldc, what if I want to compile it on not-yet-officially supported architecture like riscv, etc. etc. What if want stable release, and haver control over what is used.

I've tested and I think it may be fixed now the non-echo problem.

I am not so sure about this. If I kill it (kill -9), it will still leave the terminal in wrong mode.

That means it won't do anything after pressing simply Y?

Yes.

from hipremeengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.