[dmd-beta] Time for beta - 2.066?

Daniel Murphy yebblies at gmail.com
Fri Jan 17 10:04:14 PST 2014


I hit the same errors when building dmd using vcbuild\builddmd.bat  I
assume I broke it when refactoring the makefile to build libs.  Until we
get an msvc auto-tester for win64 it's not really an officially supported
build.

I suggest building with dmd_msc.vcxproj instead for now.




On Sat, Jan 18, 2014 at 4:39 AM, Andrew Edwards <edwards.ac at gmail.com>wrote:

>  I'm having problems building on win7x64. Anyone ever encountered this
> issue and know a fix?
>
>     https://gist.github.com/AndrewEdwards/84777566
>
> Observing the dmd/src, druntime, and phobos directories I noticed that
> dmd/src does not contain an win64.mak file but the others do. This
> shouldn't matter though, I thought, because when building dmd I specify
> MODEL=64. I don't think it made a difference.
>
> I took a look at win32.mak and noticed a reference to PVS-Studio. I didn't
> have it installed but all attempts to compile dmd prior succeeded. Just out
> curiosity I went ahead and installed it but now I can't compile dmd. I get
> the following:
>
>     LINK : warning LNK4004: unrecognized option '/p512'; ignored
>     LINK : warning LNK4004: unrecognized option '/c'; ignored
>     LINK : fatal error LNK1104: cannot open file 'frontend.lib'
>
>     --- errorlevel 1104
>
> I'm at a lost at the moment. I guest a better question to ask is does
> anyone working on Win64 regularly build and use dmd from source? If so, can
> you provide the steps to properly configure my system?
>
> Thanks,
> Andrew
>
> On 1/16/2014 3:08 PM, Walter Bright wrote:
>
> This error can happen if one attempts to link together files compiled with
> different memory models - but that shouldn't be happening. I don't know
> what is going wrong here.
>
> What snn.lib are you linking with? Also, can you post your message to the
> beta list, perhaps someone else has seen this issue too?
>
> On 1/16/2014 3:56 AM, Andrew Edwards wrote:
>
> Walter,
>
> I've made some progress with building the betas. I've successfully built
> dmd and created the required zips for each platform with the exception of
> Win32. I need to be able to build from head in order to get this release
> built.
>
> I followed instructions at wiki.dlang.org/Building_DMD but, while
> everything seems to work, I get errors about a missing linker when building
> the unittest or any other d program. Trying to pull link.exe from a
> different release and staging it doesn't work... I get a slew of errors in
> the form:
>
>    ..\druntime\lib\druntime.lib(thread)
>     Error 35: Cannot Reach TARGET from FRAME at Relative 00041H from
> Segment _TEXT
>     Segment _TEXT
>     FRAME  = Frame of Group FLAT 000000H
>     TARGET = External Symbol
> _D4core6thread6Thread7sm_thisC4Core6thread6Thread 93D24H
>     FIXUP Type = Unknown Type
> --- errorlevel 1342
>
> This is my last major roadblock. I've merged the 2.065 branch back to
> master and created a new "release" branch. Last thing left to do is this
> combine the zips and stage them so I can make the installers.
>
> Any suggestions on what needs to be modified in
> wiki.dlang.org/Building_DMD to set up a working dmd environment?
>
> Regards,
> Andrew
>
>
>
>
>
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20140118/da9c3711/attachment-0001.html>


More information about the dmd-beta mailing list