Giter Site home page Giter Site logo

Comments (10)

jacob-carlborg avatar jacob-carlborg commented on July 2, 2024

Any thoughts ?

No, not really. Looks like another regression in DMD. Would nice if you could report it in bugzilla.

from dstep.

Laeeth avatar Laeeth commented on July 2, 2024

The current version builds for you on regular dmd? I am pretty sure it does not do so for me, but it was a few weeks ago that I checked. What is your build environment?

from dstep.

jacob-carlborg avatar jacob-carlborg commented on July 2, 2024

Yes, it builds with DMD 2.066.1, which is the latest version. I'm using OS X. It should build on Linux as well, since I fairly recently got a pull request jacob-carlborg/mambo#3 to fix that 😉

Make sure you're using v0.1.1 and run dub build --force just to make sure everything is properly rebuilt.

from dstep.

jacob-carlborg avatar jacob-carlborg commented on July 2, 2024

I tried DMD 2.067.0-b1 and it doesn't compile. I filed a bug report: https://issues.dlang.org/show_bug.cgi?id=13934

from dstep.

mihails-strasuns avatar mihails-strasuns commented on July 2, 2024

It does not make much sense to put in effort into 2.067 beta as it has been abandoned ages ago and will likely be restarted from more recent master again once someone starts taking care of it again.

from dstep.

Laeeth avatar Laeeth commented on July 2, 2024

Thanks for coming back.

I downgraded my dmd as Dicebot suggested and am using a different machine now in case problem of local origin. Trouble with clang build (error here, Andersbakken/rtags#204 but the fix didn't work for me) so I used the Fedora 21 distributed clang.

I now have a problem at link stage with tango.

Target tango 1.0.0+2.066 is up to date. Use --force to rebuild.
Target mambo 0.0.3 is up to date. Use --force to rebuild.
Target dstack 0.0.2 is up to date. Use --force to rebuild.
Building dstep 0.1.1 configuration "application", build type debug.
Compiling using dmd...
Linking...
../../../root/.dub/packages/dstack-0.0.2/libdstack.a(Application_1_474.o): In function _D5tango4text7convert6Layout13__T6LayoutTaZ6Layout6sprintMFAaAxaYAa': /opt/git/dstep/../../../root/.dub/packages/tango-1.0.0_2.066/tango/text/convert/Layout.d:128: undefined reference to_D4core4stdc6stdarg6va_endFNbPS4core4stdc6stdarg13__va_list_tagZv'
../../../root/.dub/packages/tango-1.0.0_2.066/libtango.a(Format_224_6b9.o): In function _D5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput6formatMFxAaYC5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput': /opt/git/dstep/../../../root/.dub/packages/tango-1.0.0_2.066/tango/io/stream/Format.d:157: undefined reference to_D4core4stdc6stdarg6va_endFNbPS4core4stdc6stdarg13__va_list_tagZv'
../../../root/.dub/packages/tango-1.0.0_2.066/libtango.a(Format_224_6b9.o): In function _D5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput8formatlnMFxAaYC5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput': /opt/git/dstep/../../../root/.dub/packages/tango-1.0.0_2.066/tango/io/stream/Format.d:181: undefined reference to_D4core4stdc6stdarg6va_endFNbPS4core4stdc6stdarg13__va_list_tagZv'
../../../root/.dub/packages/tango-1.0.0_2.066/libtango.a(Format_224_6b9.o): In function _D5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput5printMFYC5tango2io6stream6Format20__T12FormatOutputTaZ12FormatOutput': /opt/git/dstep/../../../root/.dub/packages/tango-1.0.0_2.066/tango/io/stream/Format.d:217: undefined reference to_D4core4stdc6stdarg6va_endFNbPS4core4stdc6stdarg13__va_list_tagZv'
../../../root/.dub/packages/tango-1.0.0_2.066/libtango.a(Format_224_6b9.o): In function _D5tango4text7convert6Layout13__T6LayoutTaZ6Layout6sprintMFAaAxaYAa': /opt/git/dstep/../../../root/.dub/packages/tango-1.0.0_2.066/tango/text/convert/Layout.d:128: undefined reference to_D4core4stdc6stdarg6va_endFNbPS4core4stdc6stdarg13__va_list_tagZv'
../../../root/.dub/packages/tango-1.0.0_2.066/libtango.a(Format_224_6b9.o):/opt/git/dstep/../../../root/.dub/packages/tango-1.0.0_2.066/tango/text/convert/Layout.d:203: more undefined references to `_D4core4stdc6stdarg6va_endFNbPS4core4stdc6stdarg13__va_list_tagZv' follow
collect2: error: ld returned 1 exit status
--- errorlevel 1
FAIL .dub/build/application-debug-linux.posix-x86_64-dmd_2066-0E8A57E2F49ABF92B2E545BD241FBEE4/ dstep executable
Error executing command build: dmd failed with exit code 1.

from dstep.

jacob-carlborg avatar jacob-carlborg commented on July 2, 2024

Hmm, I don't know. It seems to be some problem with a symbol in core.stdc.stdarg. BTW, can you use the pre-compiled binaries?

from dstep.

jacob-carlborg avatar jacob-carlborg commented on July 2, 2024

@Laeeth BTW, it looks like you didin't use --force when building. It's always a good idea to use that flag when switching between different versions of the compiler. DMD does not have a stable ABI.

from dstep.

Laeeth avatar Laeeth commented on July 2, 2024

Hi. I had tried using --force. I am afraid I hadn't seen there were binaries available - my oversight. Works fine for me, and I don't need to build from source now. So I very much appreciate both your building this very useful tool, and your help recently. Laeeth.

from dstep.

jacob-carlborg avatar jacob-carlborg commented on July 2, 2024

Good, no worries 😃

from dstep.

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.