nspr ARM patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Elio,

We are currently building up armv7hl packages to enable support for the
"hard float" ABI change we are making on ARM systems and simultaneous
update to ARM v7 (you may have seen the Fedora Activity Days).

NSPR contains some broken assumptions that all ARM v7 systems also
always build with Thumb2 instructions (think of this as similar to a
second alternative instructions set supported by modern ARM CPUs). This
is not true, and we are generally not building in this way. Upstream are
going to fix this, but in the interim, can you take the following
trivial spec-file change into the F15 nspr package? At some point, we'll
want to remove this when they fix the upstream build scripts not to make
those wrong assumptions, but it is harmless, and ok for the moment.

Thanks,

Jon.

diff -urNp nspr_orig/nspr.spec nspr/nspr.spec
--- nspr_orig/nspr.spec	2011-07-05 22:04:42.990208085 -0400
+++ nspr/nspr.spec	2011-07-05 22:04:18.657150836 -0400
@@ -56,6 +56,9 @@ cp %{SOURCE2} ./mozilla/nsprpub/config/
 %ifarch x86_64 ppc64 ia64 s390x sparc64
                  --enable-64bit \
 %endif
+%ifarch armv7l armv7hl armv7nhl
+                 --enable-thumb2 \
+%endif
                  --enable-optimize="$RPM_OPT_FLAGS" \
                  --disable-debug
 
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM (Vger)]     [Linux ARM]     [ARM Kernel]     [Fedora User Discussion]     [Older Fedora Users Discussion]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

Powered by Linux