From owner-freebsd-current Thu Feb 15 9:27:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from harmony.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id EDEE937B503 for ; Thu, 15 Feb 2001 09:27:33 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f1FHRRW72383; Thu, 15 Feb 2001 10:27:28 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102151727.f1FHRRW72383@harmony.village.org> To: "Akinori MUSHA" Subject: Re: Backward binary compatibility with libc/libm Cc: current@FreeBSD.ORG In-reply-to: Your message of "Thu, 15 Feb 2001 20:47:57 +0900." <86wvasqiaa.wl@archon.local.idaemons.org> References: <86wvasqiaa.wl@archon.local.idaemons.org> Date: Thu, 15 Feb 2001 10:27:27 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <86wvasqiaa.wl@archon.local.idaemons.org> "Akinori MUSHA" writes: : 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? Do not use -current after 2000-02-10. They are broken. I'm working with others to integrate a fix that doesn't break things like this. I'll post something to -current and -arch when the buildworld finishes. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message