Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
gnatmake -m32 on x86_64 worked in F-8 and was fixed in early gcc-4.4.x but fails in RHEL-6.1 gcc-4.4.5.x
Version-Release number of selected component (if applicable):
gcc-gnat-4.4.5-6.el6.x86_64
How reproducible:
Always
Steps to Reproduce: (From bug 443293)
/bin/echo -e ' procedure Foo is\n begin\n null;\n end Foo;' >foo.adb;rm -f
foo.{,all,o};gnatmake -m32 foo.adb;./foo
Actual results:
gcc -c -m32 foo.adb
gnatbind -x foo.ali
gnatlink foo.ali -m32
/usr/bin/ld: i386:x86-64 architecture of input file
`/usr/lib/gcc/x86_64-redhat-linux/4.4.5/adalib/libgnat.a(s-exctab.o)' is
incompatible with i386 output
.....many more similar to above line....
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc
gnatmake: *** link failed.
Expected results:
Expected an executable to be created using i686(or 386) lib's.
Additional info:
Ref. bug # 443293 -- This seems to have been fixed @ one point then un-fixed.
As in ref'd bug, it can be worked around by adding `-largs -lgnat-4.4` to the gnatmake command (gnatmake -m32 foo.adb -largs -lgnat-4.4).
Looked briefly @ the src rpm and it appears it was setup to be building the 32 bit "multilib" lib's but none are included in the rpms produced when rpmbuild -ba SPEC_FILE is run.
Do you have all of libgnat{,-devel}-4.4*.{i686,x86_64}.rpm installed?
Comment 3RHEL Program Management
2011-10-25 05:49:44 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
The Gnat packages that are currently installed:(rpm -qa |grep -i gnat)
gcc-gnat-4.4.5-6.el6.x86_64
libgnat-devel-4.4.5-6.el6.i686
libgnat-4.4.5-6.el6.i686
libgnat-devel-4.4.5-6.el6.x86_64
libgnat-4.4.5-6.el6.x86_64