View previous topic :: View next topic |
Author |
Message |
neioo n00b
Joined: 02 Jul 2007 Posts: 9
|
Posted: Wed Mar 18, 2015 5:33 pm Post subject: [solved] crossdev ERROR: cross-i686-pc-mingw32/gcc qt failed |
|
|
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 |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Mar 18, 2015 7:22 pm Post subject: |
|
|
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 |
|
|
neioo n00b
Joined: 02 Jul 2007 Posts: 9
|
Posted: Thu Mar 19, 2015 11:43 am Post subject: |
|
|
Hello,
Disabling "sanitize" USE flag solved the problem.
Thank you very much ^^ |
|
Back to top |
|
|
|