Bug 913852
| Summary: | matreshka: FTBFS in rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dennis Gilmore <dennis> |
| Component: | matreshka | Assignee: | Pavel Zhukov <pzhukov> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | nobody, pzhukov, reznikmm, vgodunko |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-14 17:22:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 914630 | ||
| Bug Blocks: | 913825 | ||
|
Description
Dennis Gilmore
2013-02-22 09:05:03 UTC
Failed to build with GCC-4.8. This is regression in GCC 4.8. GNAT computes size of the object to be allocated incorrectly: $ gdb .objs/string_hash_test (gdb) break __gnat_malloc (gdb) run Breakpoint 2, <__gnat_malloc> (size=18446744073709551615) at s-memory.adb:75 75 if Size = size_t'Last then I'm unable to extract small reproducer unfortunately. Smaller reproducer:
with Ada.Streams;
package Pkg is
use type Ada.Streams.Stream_Element_Offset;
type Vector (Size : Ada.Streams.Stream_Element_Offset) is record
Value : Ada.Streams.Stream_Element_Array (0 .. Size);
end record;
Empty_Vector : Vector (-1);
end Pkg;
with Pkg;
procedure Bbb is
begin
null;
end Bbb;
$ gnatmake bbb
gcc -c bbb.adb
gcc -c pkg.ads
pkg.ads:10:04: warning: "Storage_Error" will be raised at run time
gnatbind -x bbb.ali
gnatlink bbb.ali
$ ./bbb
raised STORAGE_ERROR : object too large
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 |