• Status New
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages
  • Assigned To No-one
  • Operating System pentium4
  • Severity Low
  • Priority Medium
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by Andreas Baumann - 07.02.2021
Last edited by Andreas Baumann - 16.09.2021

FS#143 - thunderbird doesn't build and run

still linked against icu67.

Same here, I cannot believe that somebody is actually using thunderbird on Archlinux32 anymore.

Triggered rebuild, doesn’t build currently.

Admin
Andreas Baumann commented on 09.02.2021 13:22

stuck at:

 0:12.39 configure: error: compiler is incompatible with sanitize options
 0:12.40 DEBUG: <truncated - see config.log for full output>
 0:12.40 DEBUG: /* Override any gcc2 internal prototype to avoid an error.  */
 0:12.40 DEBUG: /* We use char because int might match the return type of a gcc2
 0:12.40 DEBUG:     builtin and then its argument prototype would still apply.  */
 0:12.40 DEBUG: char IceConnectionNumber();
 0:12.40 DEBUG:
 0:12.40 DEBUG: int main() {
 0:12.40 DEBUG: IceConnectionNumber()
 0:12.40 DEBUG: ; return 0; }
 0:12.40 DEBUG: configure:3734: /usr/bin/clang -std=gnu99 -o conftest -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -Qunused-arguments -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--no-keep-memory -Wl,--reduce-memory-overheads -fuse-ld=gold conftest.c  1>&5
 0:12.40 DEBUG: /usr/bin/ld.gold: --reduce-memory-overheads: unknown option
 0:12.40 DEBUG: /usr/bin/ld.gold: use the --help option for usage information
 0:12.40 DEBUG: clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
 0:12.40 DEBUG: configure: failed program was:
 0:12.40 DEBUG: #line 3727 "configure"
 0:12.40 DEBUG: #include "confdefs.h"
 0:12.40 DEBUG:
 0:12.40 DEBUG: int main() {
 0:12.40 DEBUG:
 0:12.40 DEBUG: ; return 0; }
 0:12.40 DEBUG: configure: error: compiler is incompatible with sanitize options
 0:12.40 ERROR: old-configure failed
 0:12.43 *** Fix above errors and then restart with\
 0:12.43                "./mach build"
 0:12.43 make: *** [client.mk:115: configure] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/slave1/staging-pentium4/slave1/build
used straw: :mirrored_source:mirrored_source_by_hash:

Admin
Andreas Baumann commented on 11.02.2021 10:29

0:23.19 DEBUG: /usr/bin/ld.gold: –reduce-memory-overheads: unknown option

so, not using humongous amounts of memory is now the standard in ld.gold? ;-)

Admin
Andreas Baumann commented on 11.02.2021 11:28

ok. the Archlinux32 patching fails miserably in prepare()..
all the rest is caused by the wrong ld being picked.

Admin
Andreas Baumann commented on 11.02.2021 11:33

The whole PKGBUILD has been reorganized, so we start from scratch here..

Admin
Andreas Baumann commented on 12.02.2021 13:43
61:45.27 toolkit/library/build/libxul.so
74:14.39 /usr/bin/ld.bfd: final link failed: memory exhausted
74:14.79 clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

16 AMD cores and 74 minutes later the next memory exhaustion (which I thought switching
from gold to bfd linking would solve..

Admin
Andreas Baumann commented on 12.02.2021 17:49

Intermediate build failure, rekick:

 0:17.58 b''
 0:17.58 b'ERROR: Couldn\'t execute `cargo metadata` with manifest "/build/thunderbird/src/thunderbird-78.7.1/toolkit/library/rust/Cargo.toml": Metadata(Output { status: ExitStatus(ExitStatus(25856)), stdout: "", stderr: "error: failed to parse manifest at `/build/thunderbird/src/thunderbird-78.7.1/Cargo.toml`\\n\\nCaused by:\\n  dependency (nix) specification is ambiguous. Only one of `branch`, `tag` or `rev` is allowed.\\n" })\nERROR: Couldn\'t generate bindings for /build/thunderbird/src/thunderbird-78.7.1/toolkit/library/rust.\n'
 0:17.60 make[4]: *** [backend.mk:83: .deps/ServoStyleConsts.h.stub] Error 1
Admin
Andreas Baumann commented on 29.04.2021 07:41

Back to memory exhaustion in ld.bfd

Admin
Andreas Baumann commented on 16.09.2021 07:35

On hour and 16 cores and then I get this:

50:05.65 fatal runtime error: Rust cannot catch foreign exceptions
50:06.34 error: could not compile `gkrust`

That's new. :-)

Admin
Andreas Baumann commented on 28.10.2021 06:37

libffi33 and icu67 make the old version work.

Admin
Andreas Baumann commented on 28.10.2021 06:39

Cannot recompile currently:

17:34.63 LLVM ERROR: out of memory
17:34.63 Allocation failed
17:35.33 error: could not compile `gkrust`
17:35.33 Caused by:
17:35.33   process didn't exit successfully: `/usr/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type staticlib --emit=dep-info,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -Clto --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gecko_profiler_parse_elf"' --cfg 'feature="glean_disable_upload"' --cfg 'feature="glean_with_gecko"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="quantum_render"' --cfg 'feature="remote_agent"' --cfg 'feature="simd-accel"' --cfg 'feature="webgpu"' --cfg 'feature="webrtc"' --cfg 'feature="with_dbus"' -C metadata=5ab62cb7c48a722c -C extra-filename=-5ab62cb7c48a722c --out-dir /build/thunderbird/src/thunderbird-91.2.1/obj-i686-pc-linux-gnu/i686-unknown-linux-gnu/release/deps --target i686-unknown-linux-gnu -C linker=/build/thunderbird/src/thunderbird-91.2.1/build/cargo-linker -C incremental=/build/thunderbird/src/thunderbird-91.2.1/obj-i686-pc-linux-gnu/i686-unknown-linux-gnu/release/incremental -L dependency=/build/thunderbird/src/thunderbird-91.2.1/obj-i686-pc-linux-gnu/i686-unknown-linux-gnu/release/deps -L dependency=/build/thunderbird/src/thunderbird-91.2.1/obj-i686-pc-linux-gnu/release/deps --extern gkrust_shared=/build/thunderbird/src/thunderbird-91.2.1/obj-i686-pc-linux-gnu/i686-unknown-linux-gnu/release/deps/libgkrust_shared-0e0b97120069e80a.rlib --extern mozglue_static=/build/thunderbird/src/thunderbird-91.2.1/obj-i686-pc-linux-gnu/i686-unknown-linux-gnu/release/deps/libmozglue_static-fe07eeb7a1d3c7d6.rlib --extern mozilla_central_workspace_hack=/
17:35.34 make[4]: *** [/build/thunderbird/src/thunderbird-91.2.1/config/makefiles/rust.mk:405: force-cargo-library-build] Error 101
17:35.34 make[3]: *** [/build/thunderbird/src/thunderbird-91.2.1/config/recurse.mk:72: toolkit/library/rust/target] Error 2
17:35.34 make[2]: *** [/build/thunderbird/src/thunderbird-91.2.1/config/recurse.mk:34: compile] Error 2
17:35.34 make[1]: *** [/build/thunderbird/src/thunderbird-91.2.1/config/rules.mk:355: default] Error 2
17:35.35 make: *** [client.mk:65: build] Error 2
17:35.37 0 compiler warnings present.
17:35.50 Notification center failed: Install notify-send (usually part of the libnotify package) to get a notification when the build finishes.

It gets harder and harder not to cross-compile Mozilla software to 32-bit, it seems. We do sort of
native builds in a chroot, which have limited address space, hence the failures..
..in the past fiddling some debug info and optimizations out helped, but this gets harder and harder to do..

Admin
Andreas Baumann commented on 03.11.2022 12:14

On a pentium III without SSE2:

0xb0a51587 in ?? () from /usr/lib/thunderbird/libxul.so
=> 0xb0a51587:  f2 0f 10 44 24 10       movsd  0x10(%esp),%xmm0

#0  0xb0a51587 in  () at /usr/lib/thunderbird/libxul.so
#1  0xb09c8b87 in  () at /usr/lib/thunderbird/libxul.so
#2  0xacb4a0f4 in  () at /usr/lib/thunderbird/libxul.so
#3  0xaff64e76 in  () at /usr/lib/thunderbird/libxul.so
#4  0xaff6538c in  () at /usr/lib/thunderbird/libxul.so
#5  0xaff6dfc4 in  () at /usr/lib/thunderbird/libxul.so
#6  0x00406d5c in  ()
#7  0xb7a56119 in  () at /usr/lib/libc.so.6
#8  0xb7a561ed in __libc_start_main () at /usr/lib/libc.so.6
#9  0x00406965 in _start ()

This was version 68.11.0-1 kept together with glue and duktape (aka icu67 and libffi33).

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing