Bug 158458
Summary: | gcc-gnat on ppc disabled | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Colin Charles <byte> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | dcantrell, dwmw2 | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | powerpc | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-01-05 10:22:46 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: | |||||||
Bug Blocks: | 157550, 174720 | ||||||
Attachments: |
|
Description
Colin Charles
2005-05-22 15:36:07 UTC
For FC-5 maybe, for FC-4 definitely not. Ada is certainly low priority and adding a new Ada arch because of the Ada bootstrap requirements is time consuming. Was this related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10129 and is it now fixed? Would be good to have this fixed by FC7, so reopening. Jakub, if you want to reclose it please could you make sure there's a current bug in GCC bugzilla and set the resolution to 'UPSTREAM'? I'm told that gnat should now be working -- we just need to get it bootstrapped. To test that theory I'm doing a test build of gcc-4.1.1 with %build_ada enabled, building with FC2's gcc-3.3.3. That build seems to work (although it failed at the final hurdle because I'd set %buildjava to zero to speed it up so it had some files missing). It had already populated the buildroot though, and the resulting gnat files from a 32-bit build (along with the compiler driver /usr/bin/gcc) are at http://david.woodhou.se/gcc-gnat-4.1.1-47.ppc.tar.gz I'm not entirely sure how to use these to bootstrap Ada in brew -- perhaps by including the tarball (and a similarly-generated 64-bit tarball) as 'source' files in the package for one build, then rebuilding 'properly' once it's managed to spit out gcc-gnat and libgnat into the build system? Or maybe by creating a special buildroot for it which contains FC2's gcc-3.3.3 packages instead of the current FC6 compiler, then just doing normal ppc and ppc64 builds and letting those get inherited into the FC7 system? Jesse will know; Jesse likes bootstrapping things. Gee, thanks (: Either method should work, using tarballs is slightly less work then creating a special buildroot. Either way I'll be able to help you when I return from forced holiday. 32-bit packages seem fine, and are uploaded to ftp://ftp.infradead.org/pub/fc6-ada/ The 64-bit package failed though -- is this because I was building it on a "normal" system and not a pure 64-bit buildroot, or is it a real problem? ../../xgcc -B../../ -c -g -O2 -fPIC -specs=ldblspecs -mno-minimal-toc -W -Wall -gnatpg a-elchha.adb -o a-elchha.o ../../xgcc -B../../ -c -g -O2 -fPIC -specs=ldblspecs -mno-minimal-toc -W -Wall -gnatpg -g -O1 -fno-inline \ a-except.adb -o a-except.o a-exexpr.adb:169:04: warning: types for unchecked conversion have different sizes make[9]: *** [a-except.o] Error 1 make[9]: Leaving directory `/home/dwmw2/working/pkgs/gcc/FC-6/gcc-4.1.1-20061220/obj-ppc64-redhat-linux/gcc/ada/rts' make[8]: *** [gnatlib] Error 2 Created attachment 144759 [details]
bootstrap patch for specfile
A scratch build of gcc-4.1.1-50.ada is running with this patch now, as a test.
If the result is successful, we should be able to build once with this in
dist-fc7, then back out all but the first hunk and build again. Perhaps even
FC-6 too?
I've tested GtkAda and ghdl with the manually bootstrapped gcc-gnat; I'll do so
again with the packages which this test build spits out.
|