From owner-cvs-all Wed Oct 14 16:56:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21462 for cvs-all-outgoing; Wed, 14 Oct 1998 16:56:03 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA21407; Wed, 14 Oct 1998 16:55:55 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Spinner) with ESMTP id HAA08377; Thu, 15 Oct 1998 07:28:16 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199810142328.HAA08377@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: "Justin M. Seger" cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/textproc/sp Makefile In-reply-to: Your message of "Wed, 14 Oct 1998 16:30:12 MST." <199810142330.QAA26818@freefall.freebsd.org> Date: Thu, 15 Oct 1998 07:28:15 +0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk "Justin M. Seger" wrote: > jseger 1998/10/14 16:30:12 PDT > > Modified files: > textproc/sp Makefile > Log: > Mark BROKEN for ELF: > cc -O -pipe -o nsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o St ringSet.o nsgmls_inst.o -lstdc++ -L/usr/ports/textproc/sp/work/sp-1.2.1/ns gmls/../lib -lsp > /usr/lib/libstdc++.so: undefined reference to `log' > /usr/lib/libstdc++.so: undefined reference to `sqrt' > /usr/lib/libstdc++.so: undefined reference to `cosh' > /usr/lib/libstdc++.so: undefined reference to `cos' > /usr/lib/libstdc++.so: undefined reference to `sin' This should have been fixed in 3.0 a few days ago: [7:39am]~-105> elfdump -Lv /usr/lib/libstdc++.so /usr/lib/libstdc++.so: **** DYNAMIC SECTION INFORMATION **** .dynamic : [INDEX] Tag Value [1] NEEDED libm.so.2 <<<< Here. [2] SONAME libstdc++.so.2 [3] INIT 0x10fb0 [4] FINI 0x2ec1c [5] HASH 0x94 [..] The DT_NEEDED tag should allow ld to consider libstdc++'s use of libm as complete, unless nsgmls uses it too. objdump --all-headers shows this too, but its output is less convenient. I tested the unmodified port on an up-to-date system: [..] c++ -fno-implicit-templates -O2 -ansi -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -I. -I/home/ports/textproc/sp/work/sp-1.2.1/nsgmls/../include -I/home/ports/textproc/sp/work/sp-1.2.1/nsgmls/../generic -c nsgmls_inst.cxx cc -O -pipe -o nsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o -lstdc++ -L/home/ports/textproc/sp/work/sp-1.2.1/nsgmls/../lib -lsp ===> sgmlnorm [..] ===> spent Warning: Object directory not changed from original /home/ports/textproc/sp/work/sp-1.2.1/spent c++ -fno-implicit-templates -O2 -ansi -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -I. -I/home/ports/textproc/sp/work/sp-1.2.1/spent/../include -I/home/ports/textproc/sp/work/sp-1.2.1/spent/../generic -c spent.cxx cc -O -pipe -o spent spent.o -lstdc++ -L/home/ports/textproc/sp/work/sp-1.2.1/spent/../lib -lsp ===> doc [7:54am]~ports/textproc/sp-111> It works on an up-to-date ELF -current system. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message