From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ecb9a6b73bef184f,start X-Google-Attributes: gid103376,public From: Andreas Jungmaier Subject: gnat compilation fails with missing symbols Date: 1998/05/27 Message-ID: #1/1 X-Deja-AN: 356936263 Mime-Version: 1.0 Reply-To: ajung@teisa.unican.es Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Universidad de Cantabria NEWS Server Newsgroups: comp.lang.ada Date: 1998-05-27T00:00:00+00:00 List-Id: Hello all, in my quest :) for compiling gcc with gnat from the sources, I have stumbled across the following message several times, regardless whether I do this with gcc-2.7.2.1, gcc-2.7.2.3 or even gcc-2.8.1, so I am not sure what is going wrong. In the bind/link part of compilation in the ada-dir, when gcc -DIN_GCC -O2 -o ../gnat1 `cat ../stamp-objlist` b_gnat1.o.... is run, followed by a long list of object files, that pops up: a-misc.o: In function `yyparse': a-misc.o(.text+0x16): undefined reference to `__builtin_setjmp' a-raise.o: In function `__gnat_raise_nodefer_with_msg': a-raise.o(.text+0xc4): undefined reference to `__builtin_longjmp' Now, I have done an nm search in all directories of the distribution, but, as you may already have guessed, I didn't find what I was looking for. The system I am working on is RedHat-5.0, with glibc-2.0.7, gcc-2.7.2.1 from the gnat-3.10p-binary distribution, and I modified the ada source files 5iosinte.ads/5losinte.ads with the following diff < type sigset_t is new unsigned_long; --- > type sigset_t is array (1 .. 32) of unsigned_long; > pragma Pack (sigset_t); as well as a-init.c with 39a40,41 > #define NULL 0 > Any ideas ? ------------------------------------------------------------------------- Andreas Jungmaier ajung@teisa.unican.es -------------------------------------------------------------------------