From owner-freebsd-gecko@freebsd.org Sun Dec 18 20:05:56 2016 Return-Path: Delivered-To: freebsd-gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC11AC86AD3 for ; Sun, 18 Dec 2016 20:05:56 +0000 (UTC) (envelope-from omars1234@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id ABCE61F47 for ; Sun, 18 Dec 2016 20:05:56 +0000 (UTC) (envelope-from omars1234@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AB399C86AD2; Sun, 18 Dec 2016 20:05:56 +0000 (UTC) Delivered-To: gecko@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAE0AC86AD1 for ; Sun, 18 Dec 2016 20:05:56 +0000 (UTC) (envelope-from omars1234@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 788041F44; Sun, 18 Dec 2016 20:05:56 +0000 (UTC) (envelope-from omars1234@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id v84so126829551oie.3; Sun, 18 Dec 2016 12:05:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9I1H9aVqIWIJiH0JVbfSr4vvh1yHHb3NVKXbf4yqKqA=; b=TWKy8xxKbLQgVExZ9bREBDUmaxM+DQti896C2lO7I0v11Mb0nekE4JyPvq361HoR7I fNMVi/a69iwWZP9fiYjqKnh8XCb2w7CqdUiZML6LW/t4Jmx5ivg7fEfuM20E7Nv1aMm3 A2jrvQ8u11KRf09Ca5jq/aVijtwmtWoTahY5AzflXgCUbZh/JCPksdjmujd/12SQXa6g g+OssF1UUWy016lQV6+7ySYUXGTX8hDNfwwgXmeyKdBqEGilsTyYmR25SuUCjgwWxGxZ SzsLMOrs9pDaV24fUWi1Htzld1Oj4a4RRZCDkWoetg5t30hw0aLhIOEoI4rMtH+8EfLj 9FcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9I1H9aVqIWIJiH0JVbfSr4vvh1yHHb3NVKXbf4yqKqA=; b=FoU/zJZOAhYuVCtp+MPZyag3qcicByiKSONlf0j5o/q18TBYCUakZUSDz7wzagnEGb 9ioyzEcz/Ixn3EkONsP1tELe6Qmq+vo3bnIQLEqlCPd/hDrm0drnSR0hVd0/4BUAv8Xf hLTVuHVFC00htRqSoR7UKZtUui+t5yqh4f9X3B+a7RuVYQsCU54h3v//bVeabAJlZcWl NNQYjbwlueCNrxcqdDFx6whutZrV2txVJSme/JxnVzlLZkFcWzR5KULO1AfFj1U7N3oH BX22obaItVQokiLWPumOlYNxDWvobCtvmzMLOwZI+Uyz+jvaZxBp1i0cRsv+KJjOsr7N Mx9Q== X-Gm-Message-State: AIkVDXKdFTBhNf4M/8Z1dTtMDSUh8NJTmssXb+uAUc9JtwQ52N0GQKoZW/qvvaaRFa7XhqF73f2Rfd2rlYvUQA== X-Received: by 10.202.75.139 with SMTP id y133mr7021252oia.193.1482091555724; Sun, 18 Dec 2016 12:05:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.29.7 with HTTP; Sun, 18 Dec 2016 12:05:55 -0800 (PST) In-Reply-To: <20161211004530.D7EEB4C15@freefall.freebsd.org> References: <20161211004530.D7EEB4C15@freefall.freebsd.org> From: Omar S Date: Sun, 18 Dec 2016 15:05:55 -0500 Message-ID: Subject: Re: build failure for firefox 50.0.1 on FB10.3 To: Jan Beich Cc: gecko@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 20:05:56 -0000 On Sat, Dec 10, 2016 at 7:45 PM, Jan Beich wrote: > Omar S writes: > > > This is where the failure occurs: > > INPUT("../../gfx/skia/Unified_cpp_gfx_skia8.o") > > INPUT("../../gfx/skia/Unified_cpp_gfx_skia9.o") > > INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o") > > > > /usr/local/bin/ld: ../../xpcom/components/nsComponentManager.o: > relocation > > R_X86_64_PC32 against protected symbol `start_kPStaticModules_NSModule' > can > > not be used when making a shared object > > Looks like https://gnats.netbsd.org/50767 which has a workaround. Maybe > check if it fixes the build for you without causing a crash on startup. > Hello Jan, Thanks for the followup. Your response sounded like my build problem was not shared by many others, so I took another look, focused on my build environment, and tracked down the problem. Looks like the problem was caused by having $LOCALBASE first on my path (ie, /usr/local/bin). I suspect that's the fault of binutils, though I didn't retest thoroughly enough to determine which binary is at fault. "ld" seems like a likely candidate. The 10.3 /usr/bin/ld is: GNU ld 2.17.50 [FreeBSD] 2007-07-03 While the current (ports) binutils /usr/local/bin/ld is: GNU ld (GNU Binutils) 2.27 Just thought I'd share that in case others report the same problem. I didn't experience this issue prior to ff50 (but binutils may have changed also). -omar