From owner-freebsd-hackers Thu Apr 16 07:47:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA17144 for freebsd-hackers-outgoing; Thu, 16 Apr 1998 07:47:18 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA17122 for ; Thu, 16 Apr 1998 07:47:10 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id KAA29674 for hackers@freebsd.org; Thu, 16 Apr 1998 10:43:49 -0400 (EDT) From: Peter Dufault Message-Id: <199804161443.KAA29674@hda.hda.com> Subject: egcs and templates To: hackers@FreeBSD.ORG Date: Thu, 16 Apr 1998 10:43:49 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: > {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