Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262857 - dev-lang/icon enhancement: rswitch for AMD64 Linux
Summary: dev-lang/icon enhancement: rswitch for AMD64 Linux
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-17 23:18 UTC by Barry Schwartz
Modified: 2016-01-30 15:07 UTC (History)
0 users

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


Attachments
Patch for custom context switching on Linux, including AMD64. (linux-rswitch-patch-2009.03.17.17.30.29.diff,2.01 KB, patch)
2009-03-17 23:19 UTC, Barry Schwartz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Schwartz 2009-03-17 23:18:00 UTC
I'm going to attach a patch for Icon 9.4.3 that fixes custom rswitch selection for Gentoo Linux (at least if you use coreutils 7.1) and adds the rswitch.s that I wrote for AMD64 a few years ago. This rswitch is already included in Unicon.

Presumably because of the way custom context switching works in Icon, this patch will cause an executable-stacks QA notice and won't work with hardened gcc. How these issues are to be dealt with in an ebuild, or if the patch should be used at all, I leave for package maintainers to figure out.

(I did also write an rswitch.c that worked with hardened gcc 3 but I wouldn't recommend it for ebuilds, because it depended upon the C optimizer's behavior and so could fail depending on the version of gcc.)
Comment 1 Barry Schwartz 2009-03-17 23:19:29 UTC
Created attachment 185355 [details, diff]
Patch for custom context switching on Linux, including AMD64.
Comment 2 Cheyenne Wills 2010-04-13 03:22:00 UTC
Just a comment... the assembler version of rswitch has been phased out in the upstream source for icon 9.5.0
Comment 3 Barry Schwartz 2010-04-13 04:35:26 UTC
(In reply to comment #2)
> Just a comment... the assembler version of rswitch has been phased out in the
> upstream source for icon 9.5.0

That's probably just as well, since it causes more trouble at build time than it is worth.
Comment 4 Cheyenne Wills 2011-02-04 15:41:30 UTC
I would suggest that this bug be closed since the support for this request is no longer available in the current upstream release


(In reply to comment #3)
> (In reply to comment #2)
> > Just a comment... the assembler version of rswitch has been phased out in the
> > upstream source for icon 9.5.0
> 
> That's probably just as well, since it causes more trouble at build time than
> it is worth.
>