From nobody Tue Feb 13 20:58:54 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TZDG704t5z59lvR for ; Tue, 13 Feb 2024 20:59:11 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TZDG64hKPz4VNJ; Tue, 13 Feb 2024 20:59:10 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from mail (mail [IPv6:fd5c:5351:d272::3]) by mail.madpilot.net (Postfix) with ESMTP id 4TZDFv0wBrz6dfc; Tue, 13 Feb 2024 21:58:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:references:content-language:subject:subject:date:date :message-id:received; s=bjowvop61wgh; t=1707857935; x= 1709672336; bh=nGAJWjnym4Kjhby4UOj+pZSQ6wZVvkvpwbQ1H5j3ycc=; b=v WOSO2JTfO4mJgqnLhU9DY66OsV5N6cKwzO4EKMvhUhaCl60RN1Np03VAeY19cOqo r8txtRjrdSYYEJGanPQbFiqnL0592/s2b5W6E0vPs3+VQNsgzOZtOcX3K/ZCfUH6 S2fcF6nan0OVRF119wXEJixKhcUeN/8KILypSGVH0PJFf4WhBQOOI2H4U+R9kegv dsLuq6tGOkFXvvCg0nZQwpMvLqDjF7yDt3nCMOxiRforS15tur9LpuT8NvWcBB9M tBBUzI6SXZrhYtOUGMjwHeZXESQ7W7IdX/gug3SJLxj3+Y8AcZCBrVZKqDS1yeGB AJYzoOp388ESl9PcLk17A== Received: from mail.madpilot.net ([IPv6:fd5c:5351:d272::3]) by mail (mail.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavisd-new, port 10026) with ESMTP id WUxW5AARn7G9; Tue, 13 Feb 2024 21:58:55 +0100 (CET) Message-ID: <0df4fe61-780f-4658-b412-ab9fd72df7b0@madpilot.net> Date: Tue, 13 Feb 2024 21:58:54 +0100 Subject: Firefox failing at startup (was Re: firefox LTO compile fails) Content-Language: en-US To: Nuno Teixeira , FreeBSD Mailing List References: From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeAQTAQIAIgUCT4b6XQIbAwYL CQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQGuaGDlbL0pOWigf/YVTVf3+ZRnzeGP7CjGV1 Wrrxzjc8h8W64NZasV0XLHGFjl5MYwtm9jJ9gbL8Ubtqstey7lYpjOk2fG6YDhY5eptWCpR6 1QqYrioukhCfKbodSk6PnIZcx719nJVK2P7ihdFEN78TavpBwqIf9hGEcKkMpbRFQv1mYvXD hKVwQGY+8bkH/a/pAWmIyD4qMfKCMurH5DexxEt5SYWu5BB5hd/DWyZ0wuZ+F79KMPzLBPJW 5cpdLNbrvenSqFZGJEGhtTp7GFJJr6lTy8VLBArxmFHiY5jGy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ppu+bBkQ91/kj2uJQSXO8euonwHHS3c+6N2i2H7I0emcHGu07wuRB2t Dnw/RLBxohffdPZT2kbxuG7lhVHzwVDw5DRwSw8GkOdy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE] X-Rspamd-Queue-Id: 4TZDG64hKPz4VNJ X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org On 13/02/24 15:23, Nuno Teixeira wrote: > Hello all, > > While I've noticed this happening in 122, I'm re-testing with 123.0_1 > on 14-RELEASE: > > Default options + LTO: > > ld.lld: error: /wrkdirs/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libbuiltins_static.a(builtins_static-251923731896d9f8.builtins_static.38c192b2a53b4c5e-cgu.0.rcgu.o): > Unknown attribute kin > d (86) (Producer: 'LLVM17.0.6-rust-1.75.0-stable' Reader: 'LLVM 15.0.7') > clang-15: error: linker command failed with exit code 1 (use -v to see > invocation) > gmake[4]: *** [/wrkdirs/usr/ports/www/firefox/work/firefox-123.0/config/rules.mk:541: > libnssckbi.so] Error 1 > > Same error on 15-CURRENT. > > Logs: > https://people.freebsd.org/~eduardo/logs/firefox/LTO/15amd64_firefox-123.0_1%2C2.log > https://people.freebsd.org/~eduardo/logs/firefox/LTO/140amd64_firefox-123.0_1%2C2.log > > Thanks, > With latest firefox I'm seeing it fail on startup: > firefox XPCOMGlueLoad error for file /usr/local/lib/firefox/libgkcodecs.so: /usr/local/lib/firefox/libgkcodecs.so: Undefined symbol "sin" Couldn't load XPCOM. I'm building it in poudriere with minor option changes: OPTIONS_FILE_UNSET+=CANBERRA OPTIONS_FILE_SET+=DBUS OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_SET+=FFMPEG OPTIONS_FILE_UNSET+=LIBPROXY OPTIONS_FILE_UNSET+=LTO OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS OPTIONS_FILE_SET+=PROFILE OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_UNSET+=ALSA OPTIONS_FILE_UNSET+=JACK OPTIONS_FILE_SET+=PULSEAUDIO OPTIONS_FILE_SET+=SNDIO Looks like a missing -lm to me. -- Guido Falsi