From owner-freebsd-gecko@FreeBSD.ORG Sat Jan 29 18:24:14 2011 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F77A106564A; Sat, 29 Jan 2011 18:24:14 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id D562E8FC15; Sat, 29 Jan 2011 18:24:13 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id p0TI2O2j007322; Sat, 29 Jan 2011 13:02:24 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.6 (mail.netplex.net [204.213.176.10]); Sat, 29 Jan 2011 13:02:24 -0500 (EST) Date: Sat, 29 Jan 2011 13:02:24 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Alexey Shuvaev In-Reply-To: <20110128235851.GB95980@lexx.ifp.tuwien.ac.at> Message-ID: References: <20110128235851.GB95980@lexx.ifp.tuwien.ac.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed Content-ID: Content-Disposition: INLINE Cc: gecko@freebsd.org, freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: [WORKAROUND] www/seamonkey2 on CURRENT X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2011 18:24:14 -0000 On Sat, 29 Jan 2011, Alexey Shuvaev wrote: > Hello! > > It seems www/seamonkey2 is broken on CURRENT for at least 1 month now [1]. > Examining build log and reproducing it locally, the problem is in the > usage of libiconv in nsNativeCharsetUtils.cpp. The linker fails to > produce libxpcom_core.so although -L/usr/local/lib and -liconv > are specified [2]. Examining this further I found that nsNativeCharsetUtils.o > produced with [3] fails to link with libiconv alone too [4] (note > still unresolved libiconv references). > I'm not a compiler/linker guru and do not understand what is happening > here. As a workaroud I use the attached patch which disables the usage > of libiconv in nsNativeCharsetUtils.cpp. Yes, I had this problem also on -current. Does seamonkey build on recent 8.x? libxpcomio_s.a is a static library that has unresolved references to libiconv. I guess I'd expect those references to be resolved with a later -L/usr/local/lib -liconv when building the shared library (libxpcom_core.so), but they are not. -- DE