Quantcast

LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

R Kent James
Using versions of c-c and m-c from about the last week, I am getting
this error message:

msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'X86'
conflicts with target machine type 'x64'

LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

while linking what looks like a bunch of rust modules. (and later
"recipe for target 'force-cargo-library-build' failed)

Does anyone know what changed, and how I might fix that? clobbering and
mach bootstrap does not seem to help.

:rkent
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

Richard Marti
On 3/30/17 6:11 AM, R Kent James wrote:
> while linking what looks like a bunch of rust modules. (and later
> "recipe for target 'force-cargo-library-build' failed)
>
> Does anyone know what changed, and how I might fix that? clobbering and
> mach bootstrap does not seem to help.

Adding 'ac_add_options --disable-webrender' solved for me this problem.

You could also try to install the rust toolchain for x86 with: 'rustup
toolchain install stable-i686-pc-windows-msvc'.

Richard
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

ISHIKAWA,chiaki
On 2017年03月30日 13:59, Richard Marti wrote:

> On 3/30/17 6:11 AM, R Kent James wrote:
>> while linking what looks like a bunch of rust modules. (and later
>> "recipe for target 'force-cargo-library-build' failed)
>>
>> Does anyone know what changed, and how I might fix that? clobbering and
>> mach bootstrap does not seem to help.
>
> Adding 'ac_add_options --disable-webrender' solved for me this problem.
>
> You could also try to install the rust toolchain for x86 with: 'rustup
> toolchain install stable-i686-pc-windows-msvc'.
>
> Richard
>

Maybe the dependency on libGL which I reported in another post could be
avoided with
--disable-webrender, too!

TIA
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

Jörg Knobloch
In reply to this post by R Kent James
On 30/03/2017 06:11, R Kent James wrote:
> msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type
> 'X86' conflicts with target machine type 'x64'
>
> LNK1112: module machine type 'X86' conflicts with target machine type
> 'x64'

I've not seen this, I do x64 builds:

ac_add_options --enable-application=mail
ac_add_options --enable-calendar
ac_add_options --enable-debug
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --enable-extensions="inspector"
ac_add_options --enable-warnings-as-errors

Did you solve the issue?

Jörg.
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

Richard Marti
In reply to this post by R Kent James
On 3/30/17 6:13 PM, Jörg Knobloch wrote:
> On 30/03/2017 06:11, R Kent James wrote:
>> msvcrt.lib(chkstk.obj) : fatal error LNK1112: module machine type
>> 'X86' conflicts with target machine type 'x64'
>>
>> LNK1112: module machine type 'X86' conflicts with target machine type
>> 'x64'
>
> I've not seen this, I do x64 builds

I have this only on 32Bit builds. With x64 it works without
--disable-webrender.

Richard
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

R Kent James
In reply to this post by Richard Marti
On 3/29/2017 9:59 PM, Richard Marti wrote:

> On 3/30/17 6:11 AM, R Kent James wrote:
>> while linking what looks like a bunch of rust modules. (and later
>> "recipe for target 'force-cargo-library-build' failed)
>>
>> Does anyone know what changed, and how I might fix that? clobbering and
>> mach bootstrap does not seem to help.
>
> Adding 'ac_add_options --disable-webrender' solved for me this problem.
>
> You could also try to install the rust toolchain for x86 with: 'rustup
> toolchain install stable-i686-pc-windows-msvc'.
>
> Richard
>


I tried 'rustup toolchain install stable-i686-pc-windows-msvc'\ and that
did not help. ac_add_options --disable-webrender did make it work.

I suppose we are hoping that this hack will not be needed eventually.
Over the years I have temporarily done all kinds of disables to solve
problems.

Thanks!
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Loading...