From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 52473159C9B for ; Tue, 6 Aug 2024 18:27:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3386E2B71; Tue, 6 Aug 2024 18:27:39 +0000 (UTC) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83398E2B3E for ; Tue, 6 Aug 2024 18:27:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A156241794 for ; Tue, 6 Aug 2024 20:27:38 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UkrrNdtXmDhG for ; Tue, 6 Aug 2024 20:27:36 +0200 (CEST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1722968856; bh=guUH/ByFpeVnR+zY6lqsl4dCbSLDpaFW0+LdV3ntR8w=; h=Date:From:To:Subject:In-Reply-To:References; b=kP/aGPEnzW79WNxkyqj3bwAeXMHXrxk2jwTg4/g/4guegZb1EMOcT3QtOIWyZmIMU wh599utIaYrsY2pAXBI+HghynHTpO3xY/Hi5EsAJiQ1dd8fIXbQnRc8tF37s9jYSYs +GGzjFkIBaTLdZfOLV7IUOec3FjpvyBZu7TzvF3MVnBOP04JLozkxGHPVykbLpFrgd l8faiZ/l0B3drqeo2weCBZJHkRQ6xrK5665AfrxtyfzF4OXtyCp6NtVK2Ah0b682K4 8Mzbeb2KwE/K/ccAqo+tWMLbpeaNXG+nbq5f58GJySkDMnHyaU/n0CGW6NYDgp3W6A Zw2EA53vi/S3Q== Date: Tue, 06 Aug 2024 20:27:36 +0200 From: efeizbudak To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Cannot compile firefox::rapid with +lto +pgo In-Reply-To: <7ceb0cb9-cb27-486e-9dcb-40f3b17c12b8@gentoo.org> References: <543a622b1add04b0ba71b4ea0151a72c@disroot.org> <7ceb0cb9-cb27-486e-9dcb-40f3b17c12b8@gentoo.org> Message-ID: <0e62363e61e23dd164c017c01f0ca95b@disroot.org> X-Sender: efeizbudak@disroot.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 8f4a011d-b7ea-409c-9f65-d0fc6067386a X-Archives-Hash: be2281812e12660b125ffaa6d00eb2a6 Do you have any idea why that might have happened? On 2024-08-06 20:22, Eli Schwartz wrote: > On 8/6/24 2:03 PM, efeizbudak wrote: > >> I am on a musl system and I cannot compile www-client/firefox-128.0.3 >> with +lto +pgo flags. The compilation runs fine otherwise. Can anyone >> point me in the right direction? >> >> Here are the logs: >> build.log: http://0x0.st/XVSx.txt >> emerge --info: https://paste.gentoo.zip/hSkfCD7R >> emerge -pqv: https://paste.gentoo.zip/WOeQw5hA > > The error is very hard to track down in the logs, due to "waiting for > other jobs to finish" resulting in massive quantities of text to scroll > through. > > I did manage to track down the actual error message though, and it's an > issue with the compiler receiving a SIGKILL: > > 389:20.50 error: could not compile `style` (lib) > 389:20.54 Caused by: > 389:20.72 process didn't exit successfully: > `CARGO=/usr/lib/rust/1.79.0/bin/cargo-1.79.0 CARGO_CRATE_NAME=style > CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox-128.0.3/servo/compone > nts/style CARGO_PKG_AUTHORS='The Servo Project Developers' > CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' > CARGO_PKG_LICENSE=MPL-2.0 > CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=style > CARGO_PKG_README=README.md CARGO > _PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.0.1 > CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=0 > CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' > LD_LIBRARY_PATH=/var/tmp/portage/www-cl > ient/firefox-128.0.3/work/firefox_build/release/deps > OUT_DIR=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/build/style-97a68456b2498359/out > /usr/bin/rustc --cra > te-name style --edition=2018 servo/components/style/lib.rs > --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type > lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abo > rt -C embed-bitcode=no --cfg 'feature="bindgen"' --cfg > 'feature="gecko"' > --cfg 'feature="mozbuild"' --cfg 'feature="nsstring"' --cfg > 'feature="regex"' --cfg 'feature="serde"' --cfg 'feature="toml"' -C > metadata=c > a116bbf990c009c -C extra-filename=-ca116bbf990c009c --out-dir > /var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps > --target x86_64-unknown-linux-musl -C linker=/v > ar/tmp/portage/www-client/firefox-128.0.3/work/firefox-128.0.3/build/cargo-linker > -C strip=debuginfo -L > dependency=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release > /deps -L > dependency=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/release/deps > --extern > app_units=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release > /deps/libapp_units-23bb47b34762f781.rmeta --extern > arrayvec=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libarrayvec-2b4eee745db82b3e.rmeta > --extern atomi > c_refcell=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libatomic_refcell-cb57148bd6470ff3.rmeta > --extern bitflags=/var/tmp/portage/www-client/firefox-128. > 0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libbitflags-1373efd736a93ba8.rmeta > --extern > byteorder=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/releas > e/deps/libbyteorder-be36daa9a57e230d.rmeta --extern > cssparser=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libcssparser-960378b7a209cc97.rmeta > --extern de > rive_more=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libderive_more-54005a681ceef14f.rmeta > --extern dom=/var/tmp/portage/www-client/firefox-128.0.3/work > /firefox_build/x86_64-unknown-linux-musl/release/deps/libdom-e85e762bf573015d.rmeta > --extern > euclid=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libeuclid > -01cfd351756be0a9.rmeta --extern > fxhash=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libfxhash-10904a7b8f64fef9.rmeta > --extern gecko_profiler=/var/tmp/por > tage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libgecko_profiler-95a2f9db25b8a44c.rmeta > --extern > icu_segmenter=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_ > build/x86_64-unknown-linux-musl/release/deps/libicu_segmenter-4d3c7e04a09264b3.rmeta > --extern > indexmap=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libind > exmap-02d003d00ed76105.rmeta --extern > itertools=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libitertools-e3386f949e551411.rmeta > --extern itoa=/var/tmp/po > rtage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libitoa-350c5cabb2760ad2.rmeta > --extern > lazy_static=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_6 > 4-unknown-linux-musl/release/deps/liblazy_static-ccc7e0953dab0264.rmeta > --extern > log=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/liblog-6484083b68459965. > rmeta --extern > malloc_size_of=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libmalloc_size_of-efc28ed2c09175b7.rmeta > --extern > malloc_size_of_derive=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/release/deps/libmalloc_size_of_derive-28d2e3a3332b15bd.so > --extern > matches=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libmatches-18b2fa707a380497.rmeta > --extern > debug_unreachable=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libdebug_unreachable-ddb9a8df3713f0d8.rmeta > --extern > nsstring=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libnsstring-55d9bd2164fa59ef.rmeta > --extern > num_derive=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/release/deps/libnum_derive-d0bf1f258501f100.so > --extern > num_integer=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libnum_integer-d2b26449f5539538.rmeta > --extern > num_traits=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libnum_traits-89a3ece068b5b3aa.rmeta > --extern > num_cpus=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libnum_cpus-99d92fe17ebda3e6.rmeta > --extern > parking_lot=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libparking_lot-f4b01459d868c694.rmeta > --extern > precomputed_hash=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libprecomputed_hash-562514adfa10fc77.rmeta > --extern > rayon=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/librayon-3a510673591ced6f.rmeta > --extern > rayon_core=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/librayon_core-c997c3ef16c0bcb6.rmeta > --extern > selectors=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libselectors-d8d6e1d0941577c2.rmeta > --extern > serde=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libserde-427611b6f300ef55.rmeta > --extern > servo_arc=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libservo_arc-2d06c7e9d51d69ca.rmeta > --extern > smallbitvec=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libsmallbitvec-475b43bb61fc62e0.rmeta > --extern > smallvec=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libsmallvec-7d3a523a4cd48ad5.rmeta > --extern > static_assertions=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libstatic_assertions-f0c29131f592e259.rmeta > --extern > static_prefs=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libstatic_prefs-84dbe85c516224c9.rmeta > --extern > style_derive=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/release/deps/libstyle_derive-8ededa5f574e653b.so > --extern > style_traits=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libstyle_traits-109975e3c491b813.rmeta > --extern > thin_vec=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libthin_vec-460f585178181373.rmeta > --extern > time=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libtime-37133b45ee1cdf4a.rmeta > --extern > to_shmem=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libto_shmem-c3b41299e5ea1fae.rmeta > --extern > to_shmem_derive=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/release/deps/libto_shmem_derive-891cbc40c047bbae.so > --extern > uluru=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libuluru-f904b7de1acd12fc.rmeta > --extern > unicode_bidi=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libunicode_bidi-237bea115ce1ae16.rmeta > --extern > void=/var/tmp/portage/www-client/firefox-128.0.3/work/firefox_build/x86_64-unknown-linux-musl/release/deps/libvoid-ef178a38bfc1a91c.rmeta > --cap-lints warn -C target-cpu=native -C opt-level=3 > -Clinker-plugin-lto > -C codegen-units=1` (signal: 9, SIGKILL: kill) > 389:20.73 warning: build failed, waiting for other jobs to finish...