From owner-freebsd-current Thu Feb 15 3:48: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.rdc1.kt.home.ne.jp (ha2.rdc1.kt.home.ne.jp [203.165.9.243]) by hub.freebsd.org (Postfix) with ESMTP id E594537B4EC for ; Thu, 15 Feb 2001 03:48:01 -0800 (PST) Received: from daemon.local.idaemons.org ([203.165.161.10]) by mail.rdc1.kt.home.ne.jp (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20010215114800.BLQA19464.mail.rdc1.kt.home.ne.jp@daemon.local.idaemons.org> for ; Thu, 15 Feb 2001 03:48:00 -0800 Received: by daemon.local.idaemons.org (8.11.1/3.7W) id f1FBlvv42049; Thu, 15 Feb 2001 20:47:57 +0900 (JST) Date: Thu, 15 Feb 2001 20:47:57 +0900 Message-ID: <86wvasqiaa.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: current@FreeBSD.org Subject: Backward binary compatibility with libc/libm User-Agent: Wanderlust/2.5.4 (Smooth) SEMI/1.14.2 (=?ISO-8859-1?Q?Daish=F2?= =?ISO-8859-1?Q?ji?=) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.2 - =?ISO-8859-1?Q?=22Daish=F2ji=22?=) Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Seems some 4.x/3.x binary that is linked with libm.so does not work on 5-CURRENT because libm.so is not properly associated with (the latest) libc.so. So, when a program lets libm refers to __stdout/__stderr from within, it fails as follows. :( /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderr" Unfortunately, it applies to some important bits like JDK 1.1.8... As a workaround, adding LDADD=-lc to src/lib/msun/Makefile seems to do the trick and get it working. Ideas, anyone? -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "We're only at home when we're on the run, on the wing, on the fly" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message