From nobody Sat Nov 19 13:10:15 2022 X-Original-To: freebsd-stable@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 4NDvCT67yDz4hl52 for ; Sat, 19 Nov 2022 13:10:29 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NDvCT07n8z3LbW for ; Sat, 19 Nov 2022 13:10:29 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=CrYBRoRL; spf=pass (mx1.freebsd.org: domain of hiroo.ono@gmail.com designates 2607:f8b0:4864:20::42b as permitted sender) smtp.mailfrom=hiroo.ono@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pf1-x42b.google.com with SMTP id 140so7383549pfz.6 for ; Sat, 19 Nov 2022 05:10:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AAnsWrkvE0ZxvJQD5ZVnVtqKCwErtew85qsMQldJt0w=; b=CrYBRoRLbi1Fzsx/NbE40KbYO9j5H8dxw91/gecsZsr5rp0EFz0T/os4E7UcDO6Rzx b15BZCBwLQPDDMr4KYT4X9sIZeujcFkmY8xvr0837CKapyopAxUJofutzmzPCTb5zD0o awk0wo5zdQW1c2285md292HxV7n5UYZ28MZIZgjohEl7jgY/iHFRiOIgspVDCD439vuC hjdiQavH9YnsxgshQxIaw3xTVjOj7MfKyyJXTshmSDg3Sh/DS+bzMKsBvIdaDkFRVqnO Bcd09E9w/eo3VmTguJW4+I3v6FwvXkIZHZftzQx3N332rdF23mDs1fZMdAskCwXXN4w8 K6ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AAnsWrkvE0ZxvJQD5ZVnVtqKCwErtew85qsMQldJt0w=; b=ldwaoHIFm/ti7072tJ/MQ+sD/+v+w7OrJAeoKS9FUhqBfRBz886KxFKDuo/j37jKKa qI0/r8fzUcnzwfO78i9mcED6r4lD09HaWR+WeFtlVQhr+pX1DaukN/ZOC4RklCNRqB/3 UVKs5i+zBnhSyBdrkcrCITtOPjEgXr9k7YRDng3EvixmS5QCozNzDSXhQfP9BMzmVu4u QfX5wvf0BDzVZEkr3lOV3T6p72j3ogavJYLnckglBJoiLN6kdNHHSLgINCg3HZBO6Xoe +4C+ul6BS+1BBvLFnr1CMWDUK39ci+WdINMxmSHftnL7mNgbWI0a3WjVmCB7LXtdZXwZ oKNw== X-Gm-Message-State: ANoB5pnMv78zfQxXxDZ1NAIGaYWKFmFveCwEjOGK/mhU5/1R5YlhcDZm 5tfHGv0d6sLy0Y0scloMLdeaAgKBO40vgRASX268qIUT X-Google-Smtp-Source: AA0mqf5o/kwaFx3vr8L28aA75Jpjb4galWh088DJyP4Bsp7nEMbLjSDxfOs3lTUu0Vyrt2o2yC0mcT9XGyyP1SrVTPg= X-Received: by 2002:a63:461d:0:b0:456:d859:2143 with SMTP id t29-20020a63461d000000b00456d8592143mr10546953pga.396.1668863427233; Sat, 19 Nov 2022 05:10:27 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: In-Reply-To: Reply-To: hiroo.ono+freebsd@gmail.com From: =?UTF-8?B?SGlyb28gT25vICjlsI/ph47lr5vnlJ8p?= Date: Sat, 19 Nov 2022 22:10:15 +0900 Message-ID: Subject: LLVM error when building www/firefox 107.0_2,2 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-1.82 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.72)[0.722]; NEURAL_HAM_LONG(-0.54)[-0.541]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::42b:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; HAS_REPLYTO(0.00)[hiroo.ono+freebsd@gmail.com]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[freebsd]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4NDvCT07n8z3LbW X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N hello, while building www/firefox with poudriere, following error occurred. Should I report it to LLVM project as the error message says? Or is this just a bug in firefox or the combination of options I chose? The system is: FreeBSD 13.1-STABLE #7 stable/13-af3ccd7b6d: Thu Nov 10 08:00:43 JST 2022 and the llvm suite is LLVM 13.0.1 from ports. /usr/local/bin/clang++13 -std=gnu++17 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fst ack-protector-strong -fstack-clash-protection -Qunused-arguments -DLIBICONV_PLUG -isystem /usr/local/include -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualif iers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtyp e-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreach able-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-vararg s -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-a nalysis -Wno-range-loop-analysis -Wc++2a-compat -Wenum-compare-conditional -Wno- ambiguous-reversed-operator -Wno-error=deprecated -Wno-error=deprecated-anon-enu m-enum-conversion -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecat ed-enum-float-conversion -Wno-error=deprecated-this-capture -Wno-error=deprecate d-volatile -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-de lete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free- nonheap-object -Wno-error=atomic-alignment -Wformat -Wformat-security -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligne d-new -O2 -pipe -O3 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local /include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -fno-e xceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -f no-math-errno -pipe -O2 -O3 -fno-omit-frame-pointer -funwind-tables -shared -Wl ,-z,defs -Wl,--warn-unresolved-symbols -Wl,--gc-sections -Wl,-h,libxul.so -o lib xul.so /wrkdirs/usr/ports/www/firefox/work/.build/toolkit/library/build/libxul_s o.list -flto=thin -Wl,-plugin-opt=-import-instr-limit=10 -Wl,-plugin-opt=-impor t-hot-multiplier=30 -pthread -Wl,--as-needed -fstack-protector-strong -Wl,-z,noe xecstack -Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions -W l,--build-id=sha1 -fstack-protector-strong -fstack-clash-protection -Wl,-rpath-l ink,/wrkdirs/usr/ports/www/firefox/work/.build/dist/bin -Wl,-rpath-link,/usr/loc al/lib ../../../js/src/build/libjs_static.a /wrkdirs/usr/ports/www/firefox/work /.build/x86_64-unknown-freebsd/release/libgkrust.a ../../../config/external/lgpl libs/liblgpllibs.so ../../../config/external/sqlite/libmozsqlite3.so ../../../wi dget/gtk/mozgtk/libmozgtk.so ../../../widget/gtk/mozwayland/libmozwayland.so - L/usr/local/lib -licui18n -L/usr/local/lib -licuuc -licudata -laom -ldav1d -lX11 -lXcomposite -lXdamage -lXext -lXfixes -lXrandr -lXrender -lXtst -lpthread -lff i -lplds4 -lplc4 -lnspr4 -pthread -ldl -lz -lm -lnss3 -lsmime3 -lssl3 -lnssutil3 -lfreetype -lfontconfig -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgl ib-2.0 -lintl -lutil -lpng16 -lwebpdemux -lwebp -lgraphite2 -levent -lvpx -lpixman-1 -ldbus-glib-1 -ldbus-1 -lxcb-shm -lX11-xcb -lxcb -lXcursor -lXi LLVM ERROR: Type mismatch in constant table! PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: 0. Program arguments: /usr/local/llvm13/bin/ld --eh-frame-hdr -Bshareable --hash-style=both --enable-new-dtags -o libxul.so /usr/lib/crti.o /usr/lib/crtbeginS.o -L/usr/local/lib -L/usr/local/lib -L/usr/lib -plugin /usr/local/llvm13/bin/../lib/LLVMgold.so -plugin-opt=mcpu=x86-64 -plugin-opt=O3 -plugin-opt=thinlto -plugin-opt=-function-sections -plugin-opt=-data-sections -z defs --warn-unresolved-symbols --gc-sections -h libxul.so /wrkdirs/usr/ports/www/firefox/work/.build/toolkit/library/build/libxul_so.list -plugin-opt=-import-instr-limit=10 -plugin-opt=-import-hot-multiplier=30 --as-needed -z noexecstack -z text -z relro -z nocopyreloc -Bsymbolic-functions --build-id=sha1 -rpath-link /wrkdirs/usr/ports/www/firefox/work/.build/dist/bin -rpath-link /usr/local/lib ../../../js/src/build/libjs_static.a /wrkdirs/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libgkrust.a ../../../config/external/lgpllibs/liblgpllibs.so ../../../config/external/sqlite/libmozsqlite3.so ../../../widget/gtk/mozgtk/libmozgtk.so ../../../widget/gtk/mozwayland/libmozwayland.so -licui18n -licuuc -licudata -laom -ldav1d -lX11 -lXcomposite -lXdamage -lXext -lXfixes -lXrandr -lXrender -lXtst -lpthread -lffi -lplds4 -lplc4 -lnspr4 -ldl -lz -lm -lnss3 -lsmime3 -lssl3 -lnssutil3 -lfreetype -lfontconfig -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lutil -lpng16 -lwebpdemux -lwebp -lgraphite2 -levent -lvpx -lpixman-1 -ldbus-glib-1 -ldbus-1 -lxcb-shm -lX11-xcb -lxcb -lXcursor -lXi -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtendS.o /usr/lib/crtn.o #0 0x00000008263c40c9 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/llvm13/lib/libLLVM-13.so+0x2bc40c9) #1 0x00000008263c2375 llvm::sys::RunSignalHandlers() (/usr/local/llvm13/lib/libLLVM-13.so+0x2bc2375) #2 0x00000008263c48a1 (/usr/local/llvm13/lib/libLLVM-13.so+0x2bc48a1) #3 0x00000008224aebc0 handle_signal /usr/local/poudriere/jails/s13amd64/usr/src/lib/libthr/thread/thr_sig.c:0:3 #4 0x00000008224ae17f thr_sighandler /usr/local/poudriere/jails/s13amd64/usr/src/lib/libthr/thread/thr_sig.c:247:1 #5 0x00007ffffffff2d3 ([vdso]+0x2d3) #6 0x000000082b142c7a __sys_thr_kill /usr/obj/usr/local/poudriere/jails/s13amd64/usr/src/amd64.amd64/lib/libc/thr_kill.S:4:0 #7 0x000000082b0bbde4 __raise /usr/local/poudriere/jails/s13amd64/usr/src/lib/libc/gen/raise.c:0:10 #8 0x000000082b16cac9 abort /usr/local/poudriere/jails/s13amd64/usr/src/lib/libc/stdlib/abort.c:73:17 #9 0x0000000826306c9d (/usr/local/llvm13/lib/libLLVM-13.so+0x2b06c9d) #10 0x0000000826306ad9 (/usr/local/llvm13/lib/libLLVM-13.so+0x2b06ad9) #11 0x0000000826d1d28e (/usr/local/llvm13/lib/libLLVM-13.so+0x351d28e) #12 0x0000000826cf940e (/usr/local/llvm13/lib/libLLVM-13.so+0x34f940e) #13 0x0000000826d01536 (/usr/local/llvm13/lib/libLLVM-13.so+0x3501536) #14 0x0000000826cea4a3 llvm::BitcodeModule::getModuleImpl(llvm::LLVMContext&, bool, bool, bool, llvm::function_ref, std::__1::allocator > > (llvm::StringRef)>) (/usr/local/llvm13/lib/libLLVM-13.so+0x34ea4a3) #15 0x0000000826ceab74 llvm::BitcodeModule::getLazyModule(llvm::LLVMContext&, bool, bool) (/usr/local/llvm13/lib/libLLVM-13.so+0x34eab74) #16 0x0000000827850af9 (/usr/local/llvm13/lib/libLLVM-13.so+0x4050af9) #17 0x0000000827850847 llvm::irsymtab::readBitcode(llvm::BitcodeFileContents const&) (/usr/local/llvm13/lib/libLLVM-13.so+0x4050847) #18 0x000000082784e0bb llvm::object::readIRSymtab(llvm::MemoryBufferRef) (/usr/local/llvm13/lib/libLLVM-13.so+0x404e0bb) #19 0x00000008276e3e77 llvm::lto::InputFile::create(llvm::MemoryBufferRef) (/usr/local/llvm13/lib/libLLVM-13.so+0x3ee3e77) #20 0x0000000000494857 lld::elf::BitcodeFile::BitcodeFile(llvm::MemoryBufferRef, llvm::StringRef, unsigned long) (/usr/local/llvm13/bin/ld+0x494857) #21 0x0000000000495770 lld::elf::BitcodeFile* lld::make(llvm::MemoryBufferRef&, llvm::StringRef&, unsigned long&) (/usr/local/llvm13/bin/ld+0x495770) #22 0x0000000000493336 lld::elf::createObjectFile(llvm::MemoryBufferRef, llvm::StringRef, unsigned long) (/usr/local/llvm13/bin/ld+0x493336) #23 0x00000000004930ba lld::elf::ArchiveFile::fetch(llvm::object::Archive::Symbol const&) (/usr/local/llvm13/bin/ld+0x4930ba) #24 0x0000000000558a75 lld::elf::SymbolTable::addSymbol(lld::elf::Symbol const&) (/usr/local/llvm13/bin/ld+0x558a75) #25 0x0000000000492d8d lld::elf::ArchiveFile::parse() (/usr/local/llvm13/bin/ld+0x492d8d) #26 0x0000000000490d44 lld::elf::parseFile(lld::elf::InputFile*) (/usr/local/llvm13/bin/ld+0x490d44) #27 0x00000000004647ee void lld::elf::LinkerDriver::link >(llvm::opt::InputArgList&) (/usr/local/llvm13/bin/ld+0x4647ee) #28 0x00000000004599ec lld::elf::LinkerDriver::linkerMain(llvm::ArrayRef) (/usr/local/llvm13/bin/ld+0x4599ec) #29 0x0000000000457b17 lld::elf::link(llvm::ArrayRef, bool, llvm::raw_ostream&, llvm::raw_ostream&) (/usr/local/llvm13/bin/ld+0x457b17) #30 0x00000000003a3dbf (/usr/local/llvm13/bin/ld+0x3a3dbf) clang-13: error: unable to execute command: Abort trap (core dumped) clang-13: error: linker command failed due to signal (use -v to see invocation)