Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with crossdev building mingw32 [SOLVED]
View unanswered posts
View posts from last 24 hours

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


Joined: 04 Mar 2006
Posts: 70

PostPosted: Sat Apr 21, 2007 3:03 am    Post subject: Problem with crossdev building mingw32 [SOLVED] Reply with quote

Ok I wanted to make some cross builds and here is the result of
crossdev i586-mingw32:

Code:
crossdev i586-mingw32
--------------------------------------------------------------------------------------------------------------
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   x86
 * Target System:         i586-mingw32
 * Stage:                 4 (C/C++ compiler)

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * headers:               w32api-[latest]
 * libc:                  mingw-runtime-[latest]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PKGDIR:                /usr/portage/packages/cross/i586-mingw32
 * PORTAGE_TMPDIR:        /var/tmp/cross/i586-mingw32
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -
 * Forcing the latest versions of binutils-config/gcc-config ...                                        [ ok ]
 * Log: /var/log/portage/cross-i586-mingw32-binutils.log
 * Emerging cross-binutils ...                                                                          [ ok ]
 * Log: /var/log/portage/cross-i586-mingw32-w32api-quick.log
 * Emerging cross-w32api-quick ...                                                                      [ ok ]
 * Log: /var/log/portage/cross-i586-mingw32-mingw-runtime-headers.log
 * Emerging cross-mingw-runtime-headers ...                                                             [ ok ]
 * Log: /var/log/portage/cross-i586-mingw32-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...

 * gcc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-i586-mingw32-info.log
 * /var/log/portage/cross-i586-mingw32-gcc-stage1.log



And here is the end section with error of the result of mentioned /var/log/portage/cross-i586-mingw32-gcc-stage1.log:

Code:

checking for library containing strerror... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libiberty] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/cross/i586-mingw32/portage/cross-i586-mingw32/gcc-4.1.2/work/build'
make: *** [all] Błąd 2

!!! ERROR: cross-i586-mingw32/gcc-4.1.2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1304:   Called toolchain_src_compile
  toolchain.eclass, line 26:   Called gcc_src_compile
  toolchain.eclass, line 1550:   Called gcc_do_make
  toolchain.eclass, line 1424:   Called die

!!! emake failed with all
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/cross/i586-mingw32/portage/cross-i586-mingw32/gcc-4.1.2/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/local/portage'



Any clues ??
GCC 4.1 (tried with GCC 3.4.6 but also fails).


Last edited by ShadowWizzard on Sat Apr 21, 2007 3:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
ShadowWizzard
n00b
n00b


Joined: 04 Mar 2006
Posts: 70

PostPosted: Sat Apr 21, 2007 3:53 pm    Post subject: Reply with quote

Ok - Finnally SOLVED after many many tries.
The problem is that crossdev is not filtering out the d language support.
I have it enabled in my make.conf. After disabling it temprorary it works like a charm.
Back to top
View user's profile Send private message
eddy89
Apprentice
Apprentice


Joined: 01 Feb 2006
Posts: 153
Location: /world/Italy/Torino

PostPosted: Tue Jul 24, 2007 2:21 am    Post subject: Reply with quote

Sorry, I have a similar problem, but what do you mean with "d language support." ??

Thanks for help.
_________________
Guarda come gira il mio server Powered by Gentoo!!
Portage, the power of 3!! :lol:
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 - 5 Hours
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