From owner-freebsd-gecko@FreeBSD.ORG Sat Jan 29 18:46: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 76FA71065672; Sat, 29 Jan 2011 18:46:14 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id CEDAA8FC08; Sat, 29 Jan 2011 18:46:13 +0000 (UTC) Received: by qyk36 with SMTP id 36so4207840qyk.13 for ; Sat, 29 Jan 2011 10:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type; bh=ltA3v5JHWghrcy1OOAno8KSPfk++Mt4dsDohHstfSSY=; b=YA6RtAcOf5uMzscLOorCUAUp+fZAPLftRUoiVndSsVOIpFTIKY8jZ+njwKMF2lZ2v3 FsONJo0MBxWHziY8enLdcGnUbwJ0Hv31HcgEyPEL8wdZqUe5h+SA4JoZ3gNrF/I+i5D5 mlq7SlxuFL+516J7JfXh1OmcqLmUye3GSEElc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=IwNKAkvr+NTYO/HBT+szyQHX7yNArWvMj7yz6vLj8GS4+LLJj4S3+9uOeHEjBEnJ7U LZ8OMfJu4ocmo8M9QjAlr6gLBveBtP6TdNBbsFfRdjUV4I3iN2bQ7yw1ef5dnJws68ia y+hFIzcRc3sQcmqmM8CA38ewGrB2iXW7+np5U= Received: by 10.229.95.211 with SMTP id e19mr4098873qcn.53.1296325312418; Sat, 29 Jan 2011 10:21:52 -0800 (PST) Received: from kan.dnsalias.net (c-24-63-226-98.hsd1.ma.comcast.net [24.63.226.98]) by mx.google.com with ESMTPS id w12sm12456536qco.44.2011.01.29.10.21.50 (version=SSLv3 cipher=RC4-MD5); Sat, 29 Jan 2011 10:21:51 -0800 (PST) Date: Sat, 29 Jan 2011 13:21:44 -0500 From: Alexander Kabaev To: Daniel Eischen Message-ID: <20110129132144.57c42924@kan.dnsalias.net> In-Reply-To: References: <20110128235851.GB95980@lexx.ifp.tuwien.ac.at> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/t/awCm+FPVGD0Ib2HyUw6MH"; protocol="application/pgp-signature" Cc: Alexey Shuvaev , 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 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:46:14 -0000 --Sig_/t/awCm+FPVGD0Ib2HyUw6MH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 29 Jan 2011 13:02:24 -0500 (EST) Daniel Eischen wrote: > On Sat, 29 Jan 2011, Alexey Shuvaev wrote: >=20 > > 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. >=20 > Yes, I had this problem also on -current. Does seamonkey build > on recent 8.x? >=20 > 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. >=20 My wild guess: seamonkey tries to hide symbols that are coming from different .o file (this time one from libiconv.a) and that fails with our toolchain. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D20218 --=20 Alexander Kabaev --Sig_/t/awCm+FPVGD0Ib2HyUw6MH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iD8DBQFNRFq9Q6z1jMm+XZYRAobmAJwNgHvAe0S7dDry3nXlLn14cCHV/gCfZULY oMsEz+uk3NjG8tvJfj0rhcI= =D59k -----END PGP SIGNATURE----- --Sig_/t/awCm+FPVGD0Ib2HyUw6MH--