torbrowser-overlay icon indicating copy to clipboard operation
torbrowser-overlay copied to clipboard

=www-client/torbrowser-115.14.0_p13502 fails to compile with lots of error messages

Open redblade7 opened this issue 1 year ago • 4 comments

Build log and emerge info attached.

torbrowser-emerge-info.txt torbrowser-build-log.txt

redblade7 avatar Aug 10 '24 20:08 redblade7

The actual error is ld.lld: error: undefined hidden symbol.... and x86_64-pc-linux-gnu-clang++-18: error: linker command failed with exit code 1

I can't reproduce the issue. Did you change or tweak your linker in any way? Why did you enable default-lld?

MeisterP avatar Aug 10 '24 20:08 MeisterP

I tried disabling default-lld in clang-common, didn't make a difference.

I tried compiling torbrowser with USE=-clang , and the build process froze at some point (the computer was not frozen, but the build process did not continue and CPU was not in use). I am running again with MAKEOPTS=-j1 and will get back to you.

I noticed when compiling torbrowser with USE=-clang, it downgraded virtual/rust and pulled in an older version of dev-lang/rust-bin (1.77.1) as a new slot. Both of these compiled fine.

redblade7 avatar Aug 10 '24 22:08 redblade7

Successfully compiled with USE=-clang and MAKEOPTS=-j1

redblade7 avatar Aug 10 '24 23:08 redblade7

Yeah, if you use -clang you use a different linker and a different compiler https://github.com/MeisterP/torbrowser-overlay/blob/f65ed42eced2cd96559e6dffcb891e52364f9e70/www-client/torbrowser/torbrowser-115.14.0_p13502.ebuild#L596 There seems to be an issue with your clang tool chain.

MeisterP avatar Aug 11 '24 07:08 MeisterP

Please reopen if this is still an issue

MeisterP avatar Nov 23 '24 22:11 MeisterP