From owner-freebsd-hackers Thu Apr 16 09:02:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04182 for freebsd-hackers-outgoing; Thu, 16 Apr 1998 09:02:41 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA04171 for ; Thu, 16 Apr 1998 16:02:32 GMT (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id LAA06283; Thu, 16 Apr 1998 11:01:02 -0400 (EDT) Date: Thu, 16 Apr 1998 11:01:01 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: Peter Dufault cc: hackers@FreeBSD.ORG Subject: Re: egcs and templates In-Reply-To: <199804161443.KAA29674@hda.hda.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 16 Apr 1998, Peter Dufault wrote: > I've been off hackers so I hope this hasn't gone around in the last > week before list archival takes place: > > Does anyone know the combination of tools for egcs to work with templates? > The new ptolemy needs egcs and I get the evidently well known > problems of this assembler complaint: It was my understanding that those messages (which hit me in another way) were the fault of the linker, and would most likely be resolved when we moved to ELF. I also understood that the move to ELF was to happen really quickly now, so I'm kinda anxious to test this myself. > > > {standard input}: Assembler messages: > > {standard input}:7398: Warning: GOT relocation burb: `__$_9InfString' should be global > > followed by multiple defines in the link for the shared library: > > > ld /usr/lib/c++rt0.o -Bshareable -o libexttools.so.7.0 InstanceManager.o MathematicaIfc.o MatlabIfc.o MatlabPtIfc.o > > ../../../src/utils/libexttools/MathematicaIfc.cc:74: Definition of symbol `__$_9InfString' (multiply defined) > > ../../../src/utils/libexttools/MatlabIfc.cc:75: Definition of symbol `__$_9InfString' (multiply defined) > > gmake: *** [libexttools.so.7.0] Error 1 > > This shows another thing I know I may be doing wrong: using /usr/lib/c++rt0.o > with egcs. > > Tools: > > Using new egcs in ports, > assembler from -current, > standard linker. > > I tried the switches "-frepo" and "-fno-implicit-templates" not expecting > the program to work but at least trying to see if it linked and it > exhibited the same behavior, as if the switches were doing nothing. > > Later I'm going to follow the INSTALL directions and try to install at > least the assembler from the latest binutils but that recommendation > mentions exceptions as the item it fixes and not templates. > > Anyone have this working? > > Peter > > -- > Peter Dufault (dufault@hda.com) Realtime development, Machine control, > HD Associates, Inc. Safety critical systems, Agency approval > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message