Date: Thu, 15 Oct 1998 07:28:15 +0800 From: Peter Wemm <peter@netplex.com.au> To: "Justin M. Seger" <jseger@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/textproc/sp Makefile Message-ID: <199810142328.HAA08377@spinner.netplex.com.au> In-Reply-To: Your message of "Wed, 14 Oct 1998 16:30:12 MST." <199810142330.QAA26818@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810142328.HAA08377>
