Created attachment 759755 [details] aarch64 support for redhat-lsb Description of problem: Cannot build redhat-lsb for aarch64. INTERNAL_SYSCALL needs to be defined for aarch64. Also, aarch64 kernel does not have __NR_symlink syscall. New architectures only have _NR_symlinkat. Patch attached. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thanks for suggestion. Actually, I see redhat-lsb spec doesn't respect arm and aarch64 too much - a lot of defines was missing. I added some guesses, please check them in https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130610/1037979.html and propose adjustments, if needed. Built in Rawhide and F19, as it doesn't affect the primary arches, closing Rawhide (I don't need to do bodhi update for this).
Thanks for the quick turnaround. The other changes look fine except that the ldso name is ld-linux-aarch64.so.1 for aarch64.
Ok, I changed that and pushed it to the Fedora master/f19 git ... no build, no release bump - it will get fixed by the next build.
Ondrej, We got mixed up somewhere and the redhat-lsb-aarch64.patch is a patch of the patchfile, not the actual patch we need. If you get my meaning. :) When %prep applies it, it just creates the patch file we actually want to apply. So build is still broken on aarch64.
Oops, fixed the patch so it patches the file and not that it creates new patch for patching the file. If you know what I mean :). ( https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130812/1091650.html ) - closing RAWHIDE again.