Summary: | sys-devel/binutils-2.20.1 patches for Loongson | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Longland (RETIRED) <redhatter> |
Component: | [OLD] Core system | Assignee: | MIPS Porters <mips> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | toolchain, yuanyelele |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://dev.lemote.com/code/linux-loongson-community/#Local-Compile%E6%9C%AC%E5%9C%B0%E7%BC%96%E8%AF%91 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 282265 | ||
Attachments: |
Loongson 2F Fixups Patch for binutils-2.20
MIPS TLS patch for binutils-2.20 |
Description
Stuart Longland (RETIRED)
![]() Created attachment 248415 [details, diff]
Loongson 2F Fixups Patch for binutils-2.20
This is the main patch that fixes a couple of errata issues with the Loongson 2F, and is helpful on Loongson 2E.
Created attachment 248417 [details, diff]
MIPS TLS patch for binutils-2.20
Also from loongson-overlay, this appears to fix a TLS issue. Not much is known about the origins of this patch or what it fixes. It'd be worth tracking down some more information on this particular patch before it gets rolled in.
A heads up... I've successfully built O32 stages for little-endian MIPS-I/III/IV, as well as big-endian MIPS-I/III (MIPS-IV is coming... just battling some sysvinit and -lcrypt grief).
I believe Zhang Le has been using these on N32 little-endian MIPS-III for some time as they were taken from the Loongson overlay.
Given they don't seem to have broken anything, I believe they should be safe enough to merge into the tree.
Zhang Le: Do you happen to know anything about attachment 248417 [details, diff] (10_all_binutils-2.20-mips-tls.patch)? From the content, it seems to be "TLS" related (hence my calling it "mips-tls") but that is a guess.
toolchain: How do we proceed from here? Do I reassign the bug to you to get the patches added, or do I do that myself? Are there any steps needed to be done before I do this?
(In reply to comment #3) > I believe Zhang Le has been using these on N32 little-endian MIPS-III for some > time as they were taken from the Loongson overlay. Yes. > > Given they don't seem to have broken anything, I believe they should be safe > enough to merge into the tree. Yes, please. Actually the patch is already in upstream. > > Zhang Le: Do you happen to know anything about attachment 248417 [details, diff] > (10_all_binutils-2.20-mips-tls.patch)? From the content, it seems to be "TLS" > related (hence my calling it "mips-tls") but that is a guess. This is an unverified patch. I need to have it reviewed by upstream before we can incorporate it. if the patches are in upstream cvs, please post links to their commits there is a git mirror too: http://sourceware.org/git/?p=binutils.git;a=summary This looks an awful lot like the first one. http://sourceware.org/ml/binutils-cvs/2010-02/msg00178.html http://sourceware.org/git/?p=binutils.git;a=commit;h=43ec71bb4c761538a3c8813856654de756661cce Even if we only get that one in, that would suffice for most of the users who may wish to run Gentoo on Lemote hardware. The other patch can join in after it has been verified. A heads up... binutils-2.21 will probably be released soon, which should include this, and many other MIPS-related fixes. I'm downloading today's CVS snapshot to see what goodies they've got in store. Hopefully one will fix this little gem: https://bugs.webkit.org/show_bug.cgi?id=48222 2.21 is in the tree now and should contain the fixes |