| Summary: | config.site breaks cross compilattion | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stefan Sørensen <stefan.sorensen> | ||||||
| Component: | autoconf | Assignee: | Pavel Raiskup <praiskup> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 20 | CC: | phracek, praiskup, stefan.sorensen | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | autoconf-2.69-14.fc20 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-12-22 05:38:14 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Thanks for the report! I'll try to find better solution. In the meantime please use `CONFIG_SITE=NONE ./configure ...` command. Created attachment 836933 [details]
Take host variable into account when munging libdir
This patch makes things work for me.
Created attachment 837214 [details]
Skip config.site when cross-compiling
Thanks for your patch. I would rather skip the config.site completely when
cross-compiling for different host. Re-using the $host triplet would be imo
unnecessarily work-expensive.
Stefan, are you OK with the change from comment #3? It will not change libdir if host is set to x86_64-*, but that might be ok? Otherwise looks fine to me, cross compiling is working as expected. (In reply to Stefan Sørensen from comment #5) > It will not change libdir if host is set to x86_64-*, but that might be ok? I would say yes. In that case we can not expect the host will be Fedora or other /lib64 using distribution. > Otherwise looks fine to me, cross compiling is working as expected. Thanks for looking at it! I'll push probably tomorrow if there will be no further complaints. autoconf-2.69-14.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/autoconf-2.69-14.fc20 Package autoconf-2.69-14.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing autoconf-2.69-14.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23553/autoconf-2.69-14.fc20 then log in and leave karma (feedback). autoconf-2.69-14.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: The config.site script uses the build platform, not the host platform for deciding if libdir should be changed to /usr/lib64. This breaks crosscompiling 64b<->32b. Version-Release number of selected component (if applicable): 2.69-13.fc20 How reproducible: Allways Steps to Reproduce: 1. ./configure --host arm-redhat-linux-gnu --prefix=/usr 2. grep libdir config.status Actual results: s,@libdir@,|#_!!_#|${exec_prefix}/lib64,g Expected results: s,@libdir@,|#_!!_#|${exec_prefix}/lib,g Additional info: