Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 262857

Summary: dev-lang/icon enhancement: rswitch for AMD64 Linux
Product: Gentoo Linux Reporter: Barry Schwartz <chemoelectric>
Component: [OLD] DevelopmentAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: enhancement    
Priority: High    
Version: 2008.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for custom context switching on Linux, including AMD64.

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.
>