Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] crossdev ERROR: cross-i686-pc-mingw32/gcc qt failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
neioo
n00b
n00b


Joined: 02 Jul 2007
Posts: 9

PostPosted: Wed Mar 18, 2015 5:33 pm    Post subject: [solved] crossdev ERROR: cross-i686-pc-mingw32/gcc qt failed Reply with quote

Hello folks,

I have developed a demo application using golang and go-qml. And now I would like to generate binary files for other architectures and operating systems, so I'm following http://wiki.gentoo.org/wiki/Mingw to prepare my environment.

But after execute this command:

Code:
crossdev -t i686-pc-mingw32


I get the following error:
Quote:
...
Makefile:856: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: cross-i686-pc-mingw32/gcc-4.9.2::qt failed (compile phase):
* emake failed
...


you can view my "emerge --info '=cross-i686-pc-mingw32/gcc-4.9.2::qt'": http://pastebin.com/1LQ3p2xR
and my "/var/log/portage/cross-i686-pc-mingw32-info.log" here: http://pastebin.com/SkMRhFvq

About qt I must say that I'm using qt5 from qt overlay (and I have installed qt4 libraries too).

Is it possible that I get this error because the version of gcc differs? I compiled everything with gcc-4.8.3, but crossdev is using gcc.4.9.2. Sincerely, I have never used any cross compiler tools and this error is blocking my way.

Thanks in advance.


Last edited by neioo on Thu Mar 19, 2015 11:44 am; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Wed Mar 18, 2015 7:22 pm    Post subject: Reply with quote

Hello,

Can we have more output of the error, especially what happened before "recipe failed".

Try to disable the sanitize USE flag for mingw-gcc.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
neioo
n00b
n00b


Joined: 02 Jul 2007
Posts: 9

PostPosted: Thu Mar 19, 2015 11:43 am    Post subject: Reply with quote

Hello,

Disabling "sanitize" USE flag solved the problem.

Thank you very much ^^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum