Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732506 - dev-lang/icon: apply upstream patches for fixing undefined behavior with MinLong
Summary: dev-lang/icon: apply upstream patches for fixing undefined behavior with MinLong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cheyenne Wills
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 915000
  Show dependency tree
 
Reported: 2020-07-13 23:05 UTC by Cheyenne Wills
Modified: 2023-10-01 06:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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