Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Anybody seen compile errors with mingw64 for wine-vanilla?

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
devsk
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Oct 24, 2003 1:16 am
Location: Bay Area, CA

Anybody seen compile errors with mingw64 for wine-vanilla?

  • Quote

Post by devsk » Sat Oct 15, 2022 2:15 pm

These are happening since the use mingw got enabled for wine-vanilla.

Code: Select all

make[4]: Entering directory '/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc_stage3-build/x86_64-w64-mingw32/libatomic'
Makefile:875: warning: overriding recipe for target 'all-multi'
Makefile:866: warning: ignoring old recipe for target 'all-multi'
/bin/sh ./libtool  --tag=CC   --mode=compile /var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc_stage3-build/./gcc/xgcc -B/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc_stage3-build/./gcc/ -L/usr/lib/mingw64-toolchain/x86_64-w64-mingw32/lib -L/usr/lib/mingw64-toolchain/mingw/lib -isystem /usr/lib/mingw64-toolchain/x86_64-w64-mingw32/include -isystem /usr/lib/mingw64-toolchain/mingw/include -B/usr/lib/mingw64-toolchain/x86_64-w64-mingw32/bin/ -B/usr/lib/mingw64-toolchain/x86_64-w64-mingw32/lib/ -isystem /usr/lib/mingw64-toolchain/x86_64-w64-mingw32/include -isystem /usr/lib/mingw64-toolchain/x86_64-w64-mingw32/sys-include --sysroot=/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/temp/root/usr/lib/mingw64-toolchain   -DHAVE_CONFIG_H -I/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc/libatomic/config/x86 -I/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc/libatomic/config/posix -I/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc/libatomic -I.    -Wall   -pthread -g -O2 -MT gload.lo -MD -MP -MF .deps/gload.Tpo -c -o gload.lo /var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc/libatomic/gload.c
libtool: compile: not configured to build any kind of library
libtool: compile: See the libtool documentation for more information.
libtool: compile: Fatal configuration error.
make[4]: *** [Makefile:588: gload.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc_stage3-build/x86_64-w64-mingw32/libatomic'
make[3]: *** [Makefile:610: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc_stage3-build/x86_64-w64-mingw32/libatomic'
make[2]: *** [Makefile:450: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc_stage3-build/x86_64-w64-mingw32/libatomic'
make[1]: *** [Makefile:15223: all-target-libatomic] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/gcc_stage3-build'
make: *** [Makefile:1028: all] Error 2
 * ERROR: dev-util/mingw64-toolchain-10.0.0_p1-r1::gentoo failed (compile phase):
 *   emake failed

Code: Select all

# emerge -pv1 mingw64-toolchain wine-vanilla

These are the packages that would be merged, in order:

Calculating dependencies  ....... done!
[ebuild  N     ] dev-util/mingw64-toolchain-10.0.0_p1-r1::gentoo  USE="-custom-cflags -debug" ABI_X86="32 (64)" 0 KiB
[ebuild  NS    ] app-emulation/wine-vanilla-7.18:7.18::gentoo [7.16:7.16::gentoo] USE="X alsa cups fontconfig gecko gphoto2 kerberos ldap mingw* mono opencl opengl osmesa perl pulseaudio samba sdl ssl truetype udev udisks unwind usb v4l vulkan xcomposite xinerama -capi -crossdev-mingw -custom-cflags -debug% -dos -gstreamer -llvm-libunwind% -netapi -nls -odbc -openal -pcap -scanner (-selinux) (-mp3%*) (-oss%) (-realtime%*) (-run-exes%*) (-test%) (-threads%*)" ABI_X86="32 64 (-x32%)" 0 KiB
Top
Ionen
Developer
Developer
User avatar
Posts: 3013
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sat Oct 15, 2022 9:06 pm

I just rebuilt it in case it's something new (on up to date ~amd64) and it looks fine on this end, I tested it on stable amd64 and x86 not that long ago too and no bug reports.

You're not setting something like EXTRA_ECONF="--disable-static", right? Only explanation I can come up with right now. Wine is not wired to use .dll from mingw, so it disables shared and builds static libraries instead (for windows) -- and if static is disabled, then there's nothing to build which would explain libtool complaining.

If not that, probably will need a bug report with full build.log and emerge --info to debug further.
Top
devsk
Advocate
Advocate
User avatar
Posts: 3039
Joined: Fri Oct 24, 2003 1:16 am
Location: Bay Area, CA

  • Quote

Post by devsk » Sat Oct 15, 2022 9:33 pm

Ionen wrote:I just rebuilt it in case it's something new (on up to date ~amd64) and it looks fine on this end, I tested it on stable amd64 and x86 not that long ago too and no bug reports.

You're not setting something like EXTRA_ECONF="--disable-static", right? Only explanation I can come up with right now. Wine is not wired to use .dll from mingw, so it disables shared and builds static libraries instead (for windows) -- and if static is disabled, then there's nothing to build which would explain libtool complaining.

If not that, probably will need a bug report with full build.log and emerge --info to debug further.
THANK YOU!

You nailed it! I always remember to whitelist a package wrt --disable-static whenever I run into these kinds of compile issues. This time, its just been too long and I forgot!
Top
Post Reply

3 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic