This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
I got this while trying to compile GCC 3.3.1 from CVS with ada enabled. +===========================GNAT BUG DETECTED==============================+ | 3.3.1 20030531 (prerelease) (powerpc-apple-darwin6.6) Segmentation fault | | Error detected at ../../gcc-3.3/gcc/gcc/ada/ada.ads:18:1 | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | concatenated together with no headers between files. | +==========================================================================+ It did not list any source files for me to include. The base GCC came from Apple's December 2002 Developer Tools: [anandatirtha:~] shrao% gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs Thread model: posix Apple Computer, Inc. GCC version 1173, based on gcc version 3.1 20020420 (prerelease) The base Ada compiler came from http://www.adapower.net/macos/compiler.html (the 10.2 compiler).
*** Bug 11047 has been marked as a duplicate of this bug. ***
Could you provide the full build log, or at least the last 1000 lines?
Hello, the error is actually fairly easy to reproduce. I just did a standard configure (with Ada compiler installed, no flags beyond prefix and enable-checking) and then a make. Following this, I just did the make -C gcc gnatlib_and_tools and got... make -C rts CC="../../xgcc -B../../" \ ADA_INCLUDES="-I. -I/Users/dara/Downloads/branch/gcc/gcc/ada" \ CFLAGS="-g -O2" ADA_CFLAGS="-g -O2" \ ADAFLAGS="-W -Wall -gnatpg" \ srcdir=/Users/dara/Downloads/branch/gcc/gcc/ada VPATH=/Users/dara/Downloads/ branch/gcc/gcc/ada \ -f ../Makefile \ a-caldel.o a-calend.o a-chahan.o a-charac.o a-chlat1.o a-chlat9.o a-colien.o a-colire.o a- comlin.o a-cwila1.o a-cwila9.o a-decima.o a-einuoc.o a-except.o a-exctra.o a-filico.o a-finali.o a-flteio.o a-fwteio.o a-inteio.o a-ioexce.o a-iwteio.o a-lfteio.o a-lfwtio.o a-liteio.o a-liwtio.o a- llftio.o a-llfwti.o a-llitio.o a-lliwti.o a-ncelfu.o a-nlcefu.o a-nlcoty.o a-nlelfu.o a-nllcef.o a-nllcty.o a-nllefu.o a-nscefu.o a-nscoty.o a-nselfu.o a-nucoty.o a-nuelfu.o a-nuflra.o a-numaux.o a- numeri.o a-sfteio.o a-sfwtio.o a-siteio.o a-siwtio.o a-ssicst.o a-ssitio.o a-ssiwti.o a-stmaco.o a- strbou.o a-stream.o a-strfix.o a-string.o a-strmap.o a-strsea.o a-strunb.o a-ststio.o a-stunau.o a-stwibo.o a-stwifi.o a-stwima.o a-stwise.o a-stwiun.o a-suteio.o a-swuwti.o a-swmwco.o a- tags.o a-teioed.o a-textio.o a-ticoau.o a-tideau.o a-tienau.o a-tiflau.o a-tigeau.o a-tiinau.o a- timoau.o a-tiocst.o a-titest.o a-witeio.o a-wtcoau.o a-wtcstr.o a-wtdeau.o a-wtedit.o a-wtenau.o a-wtflau.o a-wtgeau.o a-wtinau.o a-wtmoau.o a-wttest.o ada.o calendar.o g-awk.o g-busora.o g- calend.o g-casuti.o g-catiio.o g-cgi.o g-cgicoo.o g-cgideb.o g-comlin.o g-crc32.o g-curexc.o g- debuti.o g-debpoo.o g-diopit.o g-dirope.o g-except.o g-exctra.o g-expect.o g-flocon.o g- hesora.o g-htable.o g-io.o g-io_aux.o g-locfil.o g-md5.o g-moreex.o g-os_lib.o g-regexp.o g- regpat.o g-soccon.o g-socket.o g-socthi.o g-soliop.o g-souinf.o g-speche.o g-spipat.o g- spitbo.o g-sptabo.o g-sptain.o g-sptavs.o g-tasloc.o g-traceb.o gnat.o i-c.o i-cexten.o i-cobol.o i-cpp.o i-cstrea.o i-cstrin.o i-fortra.o i-pacdec.o interfac.o ioexcept.o machcode.o s-addima.o s- arit64.o s-assert.o s-auxdec.o s-bitops.o s-chepoo.o s-crc32.o s-direio.o s-errrep.o s-except.o s-exctab.o s-exnflt.o s-exngen.o s-exnint.o s-exnlfl.o s-exnlin.o s-exnllf.o s-exnlli.o s-exnsfl.o s-exnsin.o s-exnssi.o s-expflt.o s-expgen.o s-expint.o s-explfl.o s-explin.o s-expllf.o s-explli.o s-expllu.o s-expmod.o s-expsfl.o s-expsin.o s-expssi.o s-expuns.o s-fatflt.o s-fatlfl.o s-fatllf.o s-fatsfl.o s-ficobl.o s-fileio.o s-finimp.o s-finroo.o s-fore.o s-imgbiu.o s-imgboo.o s-imgcha.o s- imgdec.o s-imgenu.o s-imgint.o s-imgllb.o s-imglld.o s-imglli.o s-imgllu.o s-imgllw.o s- imgrea.o s-imguns.o s-imgwch.o s-imgwiu.o s-io.o s-gloloc.o s-maccod.o s-mantis.o s- mastop.o s-osprim.o s-pack03.o s-pack05.o s-pack06.o s-pack07.o s-pack09.o s-pack10.o s- pack11.o s-pack12.o s-pack13.o s-pack14.o s-pack15.o s-pack17.o s-pack18.o s-pack19.o s- pack20.o s-pack21.o s-pack22.o s-pack23.o s-pack24.o s-pack25.o s-pack26.o s-pack27.o s- pack28.o s-pack29.o s-pack30.o s-pack31.o s-pack33.o s-pack34.o s-pack35.o s-pack36.o s- pack37.o s-pack38.o s-pack39.o s-pack40.o s-pack41.o s-pack42.o s-pack43.o s-pack44.o s- pack45.o s-pack46.o s-pack47.o s-pack48.o s-pack49.o s-pack50.o s-pack51.o s-pack52.o s- pack53.o s-pack54.o s-pack55.o s-pack56.o s-pack57.o s-pack58.o s-pack59.o s-pack60.o s- pack61.o s-pack62.o s-pack63.o s-parame.o s-parint.o s-pooglo.o s-pooloc.o s-poosiz.o s- powtab.o s-rpc.o s-scaval.o s-secsta.o s-sequio.o s-shasto.o s-sopco3.o s-sopco4.o s-sopco5.o s-stache.o s-stalib.o s-stoele.o s-stopoo.o s-stratt.o s-strops.o s-soflin.o s-memory.o s-traceb.o s-traces.o s-unstyp.o s-vaflop.o s-valboo.o s-valcha.o s-valdec.o s-valenu.o s-valint.o s-vallld.o s-vallli.o s-valllu.o s-valrea.o s-valuns.o s-valuti.o s-valwch.o s-vercon.o s-vmexta.o s-wchcnv.o s-wchcon.o s-wchjis.o s-wchstw.o s-wchwts.o s-widboo.o s-widcha.o s-widenu.o s-widlli.o s- widllu.o s-widwch.o s-wwdcha.o s-wwdenu.o s-wwdwch.o system.o text_io.o a-dynpri.o a- interr.o a-intsig.o a-intnam.o a-reatim.o a-retide.o a-sytaco.o a-taside.o g-thread.o s-asthan.o s-inmaop.o s-interr.o s-intman.o s-osinte.o s-proinf.o s-taenca.o s-taprob.o s-taprop.o s- tarest.o s-tasdeb.o s-tasinf.o s-tasini.o s-taskin.o s-taspri.o s-tasque.o s-tasres.o s-tasren.o s- tassta.o s-tasuti.o s-taasde.o s-tadeca.o s-tadert.o s-tataat.o s-tpinop.o s-tpoben.o s-tpobop.o s-tposen.o s-tratas.o g-trasym.o ../../xgcc -B../../ -c -g -O2 -g -O2 -W -Wall -gnatpg -I. -I/Users/dara/Downloads/branch/ gcc/gcc/ada a-caldel.adb +===========================GNAT BUG DETECTED==============================+ | 3.3.1 20030530 (prerelease) (powerpc-apple-darwin6.6) Segmentation fault | | No source file position information available | | Please submit a bug report; see http://gcc.gnu.org/bugs.html. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | concatenated together with no headers between files. | +=========================================================== ===============+ Please include these source files with error report ... Unfortunatey there are no files listed (gnats bug box itself seems to have crashes, I must ctrl-c to exit). I wonder if this bug is related to 10129... I'll attach a full build log later, though I doubt it'll help... Dara
Created an attachment (id=4121) [edit] build.log Here's the log for my build. Configure options were: ../gcc/configure --prefix=/tmp/junk --enable-checking
Hello, I did a bit of investigating, and it appears that this bug is actually a problem with the bootstrap compiler (Apple's libgcc to be exact). Did you (the original submitter) install the library fix adapower.net provides: http://www.adapower.net/macos/Downloads/Compiler/ gcc_gnat_library_fix.dmg.gz . Can you check whether that solves the problem for you, as it does for me? Note, I still cannot build Ada fully, even after the fix, but that's due to bug 10129 (invalid assembler being emitted)... Thanks, Dara
Created an attachment (id=4129) [edit] A build log showing failure (because of bug 10129?)
I did not have the fix installed. I installed it and ran again, and got a different kind of failure this time (log given). Perhaps this is what you were referring to.
Yes, if you look at PR 10129, you'll see that the error is exactly in the same place as the one you mentioned, and is in fact, the same. I'll close this bug then as a duplicate of that one, and you'll get added to the cc: list of that bug so that you'll hear if any progress is made... Dara *** This bug has been marked as a duplicate of 10129 ***