Arch: x86_64 Problem Description: The ADA system files that are part of the gcc-gnat package on a 64 bit system hard code word size (the size of an address or a pointer) as 64 bits. It does this even if you pass gnatmake the “-m32” flag. How Reproducible: Always Steps to Reproduce: Make and run the test program attached Actual Results: Opening the file Writing the full integer ADA.IO_EXCEPTIONS.DEVICE_ERROR s-fileio.adb:1083 ADA_WRITE_TEST.FILE_WRITE_ERROR ada_write_test.adb:58 Expected Results: Opening the file Writing the full integer Closing the file GOODBYE! Additional Information: The issue is fixed upstream with a package restructure. The adainclude and adalib contents have been put in a separate libgnat-devel package so that one may install libgnat-devel.i386 as well as libgnat-devel.x86_64 to get the desired files.
Created attachment 438219 [details] test.tar.gz
In RHEL5, gnat only supports the primary platform. The amount of changes for multiarch ada support was huge and are really not backportable.