From owner-freebsd-stable Fri Nov 24 11:53:45 2000 Delivered-To: freebsd-stable@freebsd.org Received: from scorba.crt.com (scorba.crt.com [209.224.167.30]) by hub.freebsd.org (Postfix) with ESMTP id 2AEAC37B479 for ; Fri, 24 Nov 2000 11:53:42 -0800 (PST) Received: from frosty.il.nbgfn.com (frosty.il.nbgfn.com [10.216.34.242]) by scorba.crt.com (8.10.2/8.10.2) with ESMTP id eAOJrev14853; Fri, 24 Nov 2000 13:53:40 -0600 (CST) Received: from chitmp05.nt.il.nbgfn.com (chitmp05.nt.il.nbgfn.com [10.216.18.34]) by frosty.il.nbgfn.com (8.8.8/8.8.8) with ESMTP id NAA01278; Fri, 24 Nov 2000 13:53:40 -0600 (CST) From: mike.perik@bankofamerica.com Received: by chitmp05.nt.il.nbgfn.com with Internet Mail Service (5.5.2650.21) id ; Fri, 24 Nov 2000 13:53:40 -0600 Message-ID: To: anand@desktop.com, stable@FreeBSD.ORG Subject: RE: GCC 2.95.x with threads enabled Date: Fri, 24 Nov 2000 13:53:36 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I checked my system and didn't find a libgcc_r.a When configuring JTC for building a script gets run that does a : nm 'gcc -print-libgcc-file-name' | grep pthread if it doesn't find anything it won't continue on with the configuration. For now I'm just disabling the check and adding the -pthread argument to see if that will get arround the problem. Mike > -----Original Message----- > From: Anand Ranganathan [SMTP:anand@desktop.com] > Sent: Friday, November 24, 2000 1:30 PM > To: stable@FreeBSD.ORG > Subject: Re: GCC 2.95.x with threads enabled > > mike.perik@bankofamerica.com quoth: > > I'm attempting to build JTC 1.0.13 and Orbacus 4.0.3 on a SMP (2x100 > mhz) > > box. The first step is to build JTC but it needs a version of the > compiler > > that has threads enabled. The default gcc does not have threads enabled > so > > I poked around in the /usr/src/contrib directory and really got no > where. I > > downloaded the source and was going to build it and install it into > > /usr/local. I finally got that finished but it still doesn't seem to > have > > threads enabled in it. JTC/Orbacus checks for thread support by doing > an nm > > on libgcc.a and grep'ing for 'thread'. I know I used the > --enable-threads > > option on configure so I'm at a loss as to what is the problem. > > > > Has anybody else dealt with this? How did you resolve it? > > > > I'm running a 4.1 machine. and the gcc version is 2.95.2. > > What you need is to compile with the -pthread option. See man gcc :) > > Anand > -- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message