From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006756.tru64-unix-managers.marc@archive.invalid> From: Jesus Rodriguez Castro Date: Thu, 23 Nov 1995 09:46:16 +0000 To: tru64-unix-managers Subject: SUMMARY: Problems with gcc X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006756 Hi all: Days ago I posted this questing about a message that I get when I try to use gcc 2.6.3 on a DEC 3000 running OSF1 v3.2c. The annoying message is: > ---------------- screen dump ------------------- > /usr/bin/ld: > Warning: Linking some objects which contain exception information sections > and some which do not. This may cause fatal runtime exception > handling problems (last obj encountered without exceptions was > /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.6.3/libgcc.a) > ---------------- screen dump end --------------- I have recived several answers. Well, I have lost some of them so I can't list all the people that answered. Yet I'll try: Mark Van Overbeke William Flett KASSARJIAN STEVEN J Brian Sheehan All af them have the same problems even with earlier GCC versions (2.7.0 and 2.7.1). It is something to do with the Digital Unix linker and it is serious but compiled programs seem to run correctly ( I myself have compiled some code and nothing wrong seems to happen when executing it). AS GNU linker is not currently proted to Dig. UNIX, will have to keep on using /usr/bin/ld and praying. William Flett gave me a recipe to avoid the message: ------------------------------------------------------- Firstly gcc 2.7.0 will give the same warning message. Secondly the warning is produced by the DEC linker ( /usr/bin/ld ) not gcc but unfortunately the GNU linker is not currently ported to Dig. UNIX. Luckily enough we've had no problems with runtime errors as yet, but the statement about exception handling is true, the Alpha port is missing a fundamental function (__unwind_function). In fact the exception handling is only available currently on SUN Sparc, RS6000/PowerPC, 386/486/Pentium, or ARM architectures. I've had a naff but real solution to this warning message. (it's g++ BTW but the same warning applies) Compile the prog. in stages like the example below and is doesn't give the warning ! > platon[148]$ g++ -S test.C > platon[149]$ as -o test.o test.s > platon[150]$ ld -G 8 -O1 /usr/lib/cmplrs/cc/crt0.o test.o -L -L/usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.0 -L/usr/local/lib -L/usr/lib/cmplrs/cc -L/usr/lib -lg++ -lstdc++ -lgcc -lc > platon[151]$ ./a.out > Hello, World! This uses the DEC assembler and linker, and is a very painful way to compile. ------------------------------------------------------------ I'd like to thank all of them for their fast answers and apologise for all the people that answered and I don't include in the list. P.S. It won't solve this warning but ... I've managed to get the 2.7.0 version!!! I can't believe it! Ok, I know, Just in time to try to bring the newest version. ========================================================================= JESUS RODRIGUEZ CASTRO Applications Systems Manager ------------------------------------------------------------------------- Centro de Investigaci'ons Lig"u'isticas _/ e-mail: jcastro@cirp.es e Literarias "Ram'on Pi~neiro". _/ suso@udc.es Estrada Santiago-Noia km. 3 _/ phone : +34 (9)81 542691 15896 Santiago, A Coru~na, Spain _/ fax : +34 (9)81 543553 =========================================================================