Bug 567847
Summary: | Cross-compilation of Crypto++ with i686-pc-mingw32-g++ fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Cullinan <ian.cullinan> |
Component: | mingw32-gcc | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | berrange, fedora-mingw, kalevlember, rjones |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-02-24 14:04:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ian Cullinan
2010-02-24 04:55:28 UTC
Retesting with mingw32-gcc-c++-4.4.2-2.fc13 from Koji ... -rw-rw-r--. 1 rjones rjones 6287 2009-03-15 02:48 regtest.cpp -rw-rw-r--. 1 rjones rjones 8907290 2010-02-24 14:00 regtest.o This works with the latest mingw32-gcc-c++. Since Fedora 11 is nearly out of support, I suggest the reporter updates just the mingw32-* packages with ones from Fedora 12 or Koji to fix the problem. Create a file /etc/yum.repos.d/koji.repo containing: ---------- [koji] name=Koji baseurl=http://koji.fedoraproject.org/static-repos/dist-f13-build-current/$basearch/ enabled=0 gpgcheck=0 keepcache=0 [koji-i686] name=Koji baseurl=http://koji.fedoraproject.org/static-repos/dist-f13-build-current/i386/ enabled=0 gpgcheck=0 keepcache=0 ---------- Then do: yum --enablerepo=koji install mingw32-gcc-c++ (but _carefully_ check what packages yum is going to upgrade before proceeding, to avoid upgrading your whole system to Rawhide by accident). When I try that, I get: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package mingw32-gcc-c++.x86_64 0:4.4.2-2.fc13 set to be updated --> Processing Dependency: mingw32-gcc = 4.4.2-2.fc13 for package: mingw32-gcc-c++-4.4.2-2.fc13.x86_64 --> Processing Dependency: libc.so.6(GLIBC_2.11)(64bit) for package: mingw32-gcc-c++-4.4.2-2.fc13.x86_64 --> Running transaction check ---> Package glibc.x86_64 0:2.11.90-12 set to be updated --> Processing Dependency: glibc-common = 2.11.90-12 for package: glibc-2.11.90-12.x86_64 ---> Package mingw32-gcc.x86_64 0:4.4.2-2.fc13 set to be updated --> Processing Dependency: mingw32-binutils >= 2.19.51.0.14 for package: mingw32-gcc-4.4.2-2.fc13.x86_64 --> Running transaction check --> Processing Dependency: glibc-common = 2.10.2-1 for package: glibc-2.10.2-1.i686 ---> Package glibc-common.x86_64 0:2.11.90-12 set to be updated ---> Package mingw32-binutils.x86_64 0:2.19.51.0.14-1.fc12 set to be updated --> Finished Dependency Resolution glibc-2.10.2-1.i686 from installed has depsolving problems --> Missing Dependency: glibc-common = 2.10.2-1 is needed by package glibc-2.10.2-1.i686 (installed) Error: Missing Dependency: glibc-common = 2.10.2-1 is needed by package glibc-2.10.2-1.i686 (installed) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigest Looks like the newer mingw32 packages want a newer libc, which I can't install without updating essentially everything. I don't see why mingw32-gcc can't be updated in F11, the current version even lags behind the native gcc in F11 updates, which is at 4.4.1. |