Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289642 - sys-libs/glibc: patches for alpha
Summary: sys-libs/glibc: patches for alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 264336 (view as bug list)
Depends on:
Blocks: 291287
  Show dependency tree
 
Reported: 2009-10-18 21:05 UTC by Matt Turner
Modified: 2009-10-31 12:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix warnings with gcc-4 (local-gcc4.1.diff,1.81 KB, patch)
2009-10-18 21:15 UTC, Matt Turner
Details | Diff
patch to add dl-procinfo support (submitted-dl-procinfo.diff,5.13 KB, patch)
2009-10-18 21:19 UTC, Matt Turner
Details | Diff
patch to add fdatasync support (submitted-fdatasync.diff,3.77 KB, patch)
2009-10-19 00:55 UTC, Matt Turner
Details | Diff
patch to add getsysstats support (submitted-getsysstats.diff,1.28 KB, patch)
2009-10-19 00:58 UTC, Matt Turner
Details | Diff
patch to fix includes (submitted-includes.diff,3.58 KB, patch)
2009-10-19 01:00 UTC, Matt Turner
Details | Diff
patch to add futex defines (submitted-lowlevellock.diff,843 bytes, patch)
2009-10-19 01:01 UTC, Matt Turner
Details | Diff
patch to fix elf declarations (submitted-procfs_h.diff,1.05 KB, patch)
2009-10-19 01:03 UTC, Matt Turner
Details | Diff
patch to fix rtld fPIC (submitted-rtld-fPIC.diff,611 bytes, patch)
2009-10-19 01:06 UTC, Matt Turner
Details | Diff
patch to fix flaw in memchr (submitted-asm-memchr.diff,3.12 KB, patch)
2009-10-19 01:11 UTC, Matt Turner
Details | Diff
patch to fix SOCK_NONBLOCK (submitted-sock_nonblock.diff,13.96 KB, patch)
2009-10-19 01:14 UTC, Matt Turner
Details | Diff
alpha patches, renamed (alpha-patches.tar.bz2,10.03 KB, application/octet-stream)
2009-10-28 20:52 UTC, Matt Turner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2009-10-18 21:05:28 UTC
I'm going to follow up this bug report with a collection of patches from eglibc to fix long standing glibc bugs.
Comment 1 Matt Turner gentoo-dev 2009-10-18 21:06:11 UTC
*** Bug 264336 has been marked as a duplicate of this bug. ***
Comment 2 Matt Turner gentoo-dev 2009-10-18 21:15:44 UTC
Created attachment 207510 [details, diff]
patch to fix warnings with gcc-4

Patch by Falk Hueffner <falk@debian.org>

http://patch-tracker.debian.org/patch/series/view/eglibc/2.10.1-0exp2/alpha/local-gcc4.1.diff
Comment 5 Matt Turner gentoo-dev 2009-10-19 00:58:42 UTC
Created attachment 207517 [details, diff]
patch to add getsysstats support

Patch by Patch by Aurelien Jarno <aurelien@aurel32.net>

http://patch-tracker.debian.org/patch/series/view/eglibc/2.10.1-0exp2/alpha/submitted-getsysstats.diff
Comment 7 Matt Turner gentoo-dev 2009-10-19 01:01:43 UTC
Created attachment 207520 [details, diff]
patch to add futex defines

Patch by Patch by Aurelien Jarno <aurelien@aurel32.net>

http://patch-tracker.debian.org/patch/series/view/eglibc/2.10.1-0exp2/alpha/submitted-lowlevellock.diff
Comment 8 Matt Turner gentoo-dev 2009-10-19 01:03:27 UTC
Created attachment 207522 [details, diff]
patch to fix elf declarations

Patch by Patch by Aurelien Jarno <aurelien@aurel32.net>

http://patch-tracker.debian.org/patch/series/view/eglibc/2.10.1-0exp2/alpha/submitted-procfs_h.diff
Comment 9 Matt Turner gentoo-dev 2009-10-19 01:06:39 UTC
Created attachment 207524 [details, diff]
patch to fix rtld fPIC

Patch by Patch by Aurelien Jarno <aurelien@aurel32.net>

http://patch-tracker.debian.org/patch/series/view/eglibc/2.10.1-0exp2/alpha/submitted-rtld-fPIC.diff
Comment 12 Matt Turner gentoo-dev 2009-10-19 01:18:57 UTC
OK, that should be it. All but submitted-includes.diff should be applied to both 2.9 and 2.10 I think. submitted-includes.diff is only applicable to 2.10.

Any questions, I'm mattst88 in #gentoo-alpha.
Comment 13 SpanKY gentoo-dev 2009-10-19 20:15:09 UTC
those all look fine to me.  if you look at our patchsets, you'll see we use a certain naming schema, and specifically for alpha, they all start with 60##.

so if you could rename them accordingly, i'll toss them in:
60##_<all|alpha>_alpha-<some desc>.patch

for the ones that only apply to alpha-specific files, it's fine to use _all_, but for fdatasync ones, let's use _alpha_.

also, just make a tarball of the files and attach that so i can easily unpack & and add to the current tree
Comment 14 Matt Turner gentoo-dev 2009-10-28 20:52:09 UTC
Created attachment 208573 [details]
alpha patches, renamed

The patch to fix elf declarations is actually already in portage, so ignore it (it's not included in the tarball)

Patches 6024 and 6025 included in the tarball don't apply to 2.9_p20081201-r3, only to 2.10.1.

I don't know how you guys handle this, but since there's the added ports/ directory in 2.10, all the patches minus 6024 and 6025 apply `patch -p1` from the ports/ directory in 2.10, but from the root folder in 2.9.

Anything else I can do, let me know.
Comment 15 SpanKY gentoo-dev 2009-10-30 04:56:36 UTC
the patch has to be able to apply from the top level, not from inside the ports/ dir.  whether it's -p1+ beyond that point doesnt matter as it's handled automatically.

as such i had to fix some of the patches which were created -p1 from inside the ports/ subdir.  they're part of glibc-2.10.1 now.