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

Bug 732506

Summary: dev-lang/icon: apply upstream patches for fixing undefined behavior with MinLong
Product: Gentoo Linux Reporter: Cheyenne Wills <cwills>
Component: Current packagesAssignee: Cheyenne Wills <cwills>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16690
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 915000    

Description Cheyenne Wills 2020-07-13 23:05:05 UTC
A bug was reported to upstream dealing with large numbers (the test lgint fails)

a := 2 ^63
b := -a
write(b)

Displays garbage output.

The problem was due with gcc 9 (and later) optimizations.

Reproducible: Always

Steps to Reproduce:
Known upstream bug with GCC 9.x and later.




Upstream has the patch
Comment 1 Cheyenne Wills 2020-07-13 23:06:48 UTC
I'm the proxied maintainer for this package, so you can assign the ticket to me.

I already have the patches for this from upstream.
Comment 2 Cheyenne Wills 2020-08-28 14:32:37 UTC
Fixed in icon-9.5.20h which is now in portage