Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

=www-client/torbrowser-60.9.0_p855: Unable to link (hunspell errors) #35

Closed
redblade7 opened this issue Sep 5, 2019 · 14 comments
Closed

Comments

@redblade7
Copy link

Hi,

I am unable to link =www-client/torbrowser-60.9.0_p855, it gives errors about Hunspell.

True of both ld.bfd and ld.gold.

Enabled USE flags for www-client/torbrowser are: clang,custom-cflags,custom-optimization,dbus,hardened,pulseaudio,startup-notification,system-harfbuzz,system-icu,system-jpeg,system-libevent,system-libvpx,system-sqlite

I do not have this problem with =www-client/firefox-69.0

Attached is the build log.

build.log

@redblade7
Copy link
Author

redblade7 commented Sep 5, 2019

No problems when removing the clang USE flag from package.use.

@redblade7
Copy link
Author

A note that =www-client/firefox-69.0 required clang/LLVM/etc be updated to v8.0.1. Before then I was using v7.1.0. So perhaps =www-client/torbrowser-60.9.0_p855 is not compatible with clang/LLVM/etc v8.0.1.

@MeisterP
Copy link
Owner

MeisterP commented Sep 6, 2019

Are you able to build www-client/firefox-60.9.0 with clang? (60.9.0 not 69.0, confusingly close version numbers these days...). This would be the firefox version that matches the source used by torbrowser

To be honest, I don't have the capacity to test different toolchains nor do I have the knowledge to fix linker bugs. If you can reproduce your issue with www-client/firefox-60.9.0 from the gentoo tree, you could open a bug on gentoo's bugzilla and maybe get some help there.

@redblade7
Copy link
Author

redblade7 commented Sep 6, 2019

What version of clang are you using?

@MeisterP
Copy link
Owner

MeisterP commented Sep 7, 2019

sys-devel/clang-7.1.0, sys-devel/llvm-7.1.0 and sys-devel/lld-7.1.0 and building with USE=clang finishes successfully.

@redblade7
Copy link
Author

=www-client/firefox-60.9.0 bug filed on Gentoo bug tracker:

https://bugs.gentoo.org/693698

@MeisterP
Copy link
Owner

I can still not reproduce your issue. Recently updated to sys-devel/clang-8.0.1, sys-devel/llvm-8.0.1 and sys-devel/lld-8.0.1.

Both www-client/firefox-60.9.0 as well as www-client/torbrowser-60.9.0_p855 build successfully with USE=clang.

@redblade7
Copy link
Author

redblade7 commented Sep 17, 2019

What are your other USE flags?

Mine for www-client/torbrowser are:

USE="clang custom-cflags custom-optimization dbus hardened pulseaudio startup-notification system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite"

and USE=clang for me won't work with v8.0.1.

Perhaps this is something relating to one of these system- packages being incompatible when v8.0.1 is used? I'm gonna try removing the system- flags and adding them back one-by-one.

@redblade7
Copy link
Author

Removing all system- and custom- flags to use:

USE="clang dbus hardened pulseaudio startup-notification"

Still gives the hunspell errors.

I will try removing all except clang now.

@redblade7
Copy link
Author

redblade7 commented Sep 17, 2019

I will try removing all except clang now.

Nope, still doesn't work.

I usually use the gold linker and I'm wondering if some dependency I don't know about shouldn't be linked with gold for clang v8.0.1 to work properly. This is true of protobuf, it links fine but attempting to use it (e.g. for the compilation of bitcoin-qt) will fail.

@MeisterP
Copy link
Owner

What are your other USE flags?

USE="clang dbus pulseaudio startup-notification"

I'm not using the gold linker, so I can't comment on that.

@redblade7
Copy link
Author

I was able to compile the latest version (=www-client/torbrowser-68.2.0_p900) with USE=clang and ld.gold without any problems.

@MeisterP
Copy link
Owner

I was able to compile the latest version (=www-client/torbrowser-68.2.0_p900) with USE=clang and ld.gold without any problems.

Same here. Building with clang as well as with gcc works fine on my end.

I don't think you're using the gold linker though, since USE=clang enforces --enable-linker=lld.
see https://github.com/MeisterP/torbrowser-overlay/blob/master/www-client/torbrowser/torbrowser-68.2.0_p900.ebuild#L324

@redblade7
Copy link
Author

redblade7 commented Oct 23, 2019

Since =www-client/torbrowser-60.9.0_p855 is still available, should this bug remain open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants