| Summary: | Enable sysroot support | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marcin Juszkiewicz <mjuszkie> | ||||
| Component: | cross-binutils | Assignee: | David Howells <dhowells> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | dan, dhowells | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | cross-binutils-2.24-2 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-06-17 13:28:27 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: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1011415 | ||||||
| Attachments: |
|
||||||
Created attachment 802100 [details]
spec patch
This should be dealt with in cross-binutils-2.24-2, which should be hitting updates-testing shortly. Note that the default sysroot is /usr/<arch>/sys-root/ rather than / as the latter causes problems when compiling libgcc. |
Description of problem: I am aware that cross-{binutils,gcc} are limited to be useful only for bootloader/kernel compilation as there is no userspace support in packages. But they can also be used for userspace compilation when sysroot with libraries/headers is created. Version-Release number of selected component (if applicable): 2.23.88.0.1-2 How reproducible: always Steps to Reproduce: 1. grab aarch64 system image 2. populate it with glibc-devel 3. mount at /mnt 4. aarch64-linux-gnu-gcc helloworld.c --sysroot /mnt -o hello-aarch64 Actual results: "linker is not configured for sysroots" Expected results: links and gives proper binary Additional info: Same is needed for cross-gcc and will be reported.