Bug 32539
Summary: | glibc 2.2.2-7 will not build on sparc64 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jason Duerstock <jason> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | fweimer |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-03-22 19:10:29 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
Jason Duerstock
2001-03-21 16:45:00 UTC
It builds just fine (just tried it), but: you either want to build a 32bit glibc, then do: sparc32 rpm -ba -v glibc.spec or (32bit glibc which will run on UltraSPARC only): sparc32 rpm -ba -v --target=sparcv9-linux glibc.spec or you want to build 64bit glibc, but then you should make sure you have 64bit toolchain ready - rpm -ba -v glibc.spec will build a 64bit glibc. From the above messages it looks like you don't have 64bit toolchain in place, or have wrong kernel headers (/usr/include/asm must be a directory with little headers which either include asm-sparc/xy.h or asm-sparc64/xy.h depending on preprocessor macros). The command used to assemble this file was: as -Av9a -Qy -s -Av9a -64 -no-undeclared-regs -relax - o /usr/src/redhat/BUILD/glibc-2.2.2/build-sparc64- linux/string/strcat.o /tmp/cc68c0rr.s Is this not enough to produce sparc64 binaries? glibc will now build using rpm --target=sparc64 -ba SPECS/glibc.spec |