Thread overview
64-bit build: Librarian Error
Jul 24, 2014
Mike
Jul 24, 2014
Mike
Jul 24, 2014
Mike
Jul 25, 2014
Jacob Carlborg
Jul 25, 2014
Mike
July 24, 2014
I started modifying the source for 64-bit, and trying to build base.

However, I'm getting this error:

Building dwt-base
workdir=>C:\Users\Mike\Desktop\GitHub\dwt\base\src
dmd.exe @C:\Users\Mike\Desktop\GitHub\dwt\rsp
lib.exe @C:\Users\Mike\Desktop\GitHub\dwt\rsp > C:\Users\Mike\Desktop\GitHub\dwt\olog.txt
object.Exception@build.d(173): librarian error
----------------
0x00403F88
0x00404D84
0x004059D1
0x00403C76
0x00414CE0
0x00414CB3
0x00414BCC
0x0040EDFF
0x7685919F in BaseThreadInitThunk
0x7750A8CB in RtlInitializeExceptionChain
0x7750A8A1 in RtlInitializeExceptionChain

olog.txt:
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: Corrupt file 'C:\Users\Mike\Desktop\GitHub\dwt\obj\java-beans-BeanDescriptor.obj', Typ=x34, Len=x616a

Any idea what this means?

Thanks,
Mike
July 24, 2014
On Thursday, 24 July 2014 at 12:52:49 UTC, Mike wrote:
> Error: Corrupt file 'C:\Users\Mike\Desktop\GitHub\dwt\obj\java-beans-BeanDescriptor.obj', Typ=x34, Len=x616a
>
> Any idea what this means?
>
> Thanks,
> Mike

Stupid mistake on my part.  I didn't change -m32 to -m64 for rsp. 
 But now I'm getting this error:

olog.txt:
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: Corrupt file 'C:\Users\Mike\Desktop\GitHub\dwt\obj\java-beans-BeanDescriptor.obj', Typ=x65, Len=x7463

I'm building on Windows 8 64-bit.  Please advise.

Thanks,
Mike
July 24, 2014
On Thursday, 24 July 2014 at 13:00:01 UTC, Mike wrote:

> olog.txt:
> Digital Mars Librarian Version 8.02n
> Copyright (C) Digital Mars 2000-2007 All Rights Reserved
> http://www.digitalmars.com/ctg/lib.html
>
> Error: Corrupt file 'C:\Users\Mike\Desktop\GitHub\dwt\obj\java-beans-BeanDescriptor.obj', Typ=x65, Len=x7463
>
> I'm building on Windows 8 64-bit.  Please advise.
>
> Thanks,
> Mike

Compiles fine on Linux 64-bit, though.  Could this be a bug in DMD's lib.exe on Windows?
July 25, 2014
On 24/07/14 20:24, Mike wrote:

> Compiles fine on Linux 64-bit, though.  Could this be a bug in DMD's
> lib.exe on Windows?

As far as I know, you shouldn't be using the DMD tool chain at all when building 64bit on Windows. Except for the D compiler.

-- 
/Jacob Carlborg
July 25, 2014
On Friday, 25 July 2014 at 06:22:26 UTC, Jacob Carlborg wrote:

> As far as I know, you shouldn't be using the DMD tool chain at all when building 64bit on Windows. Except for the D compiler.

http://www.gurl.com/wp-content/uploads/2013/10/george-costanza-frustrated1.gif