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
Unable to Link Chrome 70 #194
Comments
Trying with clang now to see if is the same |
I am interested to see your results with clang |
Just finished up clang passed fine. |
OK while you are here, can you see if this works as well as your normal testing worked when built with gcc |
I am confused on the "this" you are referring too. If you are talking about testing the chrome from the clang build then I have an image building but it will take a bit of time. |
yes here |
My image failed on an unrelated error ( a different layer not ready for thud). I have an image of sumo + clang (for chromium only) building. Chromium was able to build with clang so I expect it will run property. |
OK. I am interested to know if someone switched to use clang in OE to do day to day chromium based images then what differences do they see, building-wise or runtime-wise. |
Ahhh I am not even close to doing that. I just use clang for some static analysis functions so I already had the layer to try and build chromium with. I didn't enable it as my global default compiler. |
keep going ... |
In my testings, this is actually a "too many open files" error underneath. Running |
Yep I just ran it with an increased ulimit and it pass fine. Thanks! |
pretty hacky.. where is |
It is in the man pages for ulimit. I think at this point it is an issue of the host system. Something that needs to be documented, but not something that can be fixed inside the layer. |
I thought it was part of POSIX, but apparently it's the builtin version implemented by most shells that offer this option. In any case, I don't see how it's that hacky, AFAICS it's just a matter of having too many file descriptors open at the same time, and any suggestions on how to do that in a better way are welcome. |
I got same error on my Yocto 'thud' layer but with the chromium-x11 v75:
What is a workaround? |
Did you run |
In my case it is unlimited:
but, I will try to set 4096.. |
Note that |
Ah, yes, sorry, in my case with -n it return 1024. ok, thanks, I will try with 4096 |
Yes, it does help, many thanks. |
@rakuco we could consider adding a check on the recipe to avoid people falling into this pitfall. What do you think? |
I agree, I just don't really know how to do that. The best option would be to get people to use gold instead, but I guess that's not very usual, right? |
I'd check if on |
….bfd The usual limit (i.e. the value returned by `ulimit -n`), 1024, is too low for ld.bfd to be able to link the `chrome` binary. Add a fatal check for the value that aborts when ld.bfd is being used and the resource limit is too low. Fixes OSSystems#194. Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
….bfd The usual limit (i.e. the value returned by `ulimit -n`), 1024, is too low for ld.bfd to be able to link the `chrome` binary. Add a fatal check for the value that aborts when ld.bfd is being used and the resource limit is too low. Fixes OSSystems#194. Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
….bfd The usual limit (i.e. the value returned by `ulimit -n`), 1024, is too low for ld.bfd to be able to link the `chrome` binary. Add a fatal check for the value that aborts when ld.bfd is being used and the resource limit is too low. Fixes OSSystems#194. Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
….bfd The usual limit (i.e. the value returned by `ulimit -n`), 1024, is too low for ld.bfd to be able to link the `chrome` binary. Add a fatal check for the value that aborts when ld.bfd is being used and the resource limit is too low. Fixes #194. Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Every time I try to build Chromium 70 I get the following linker error.
This is with Sumo GCC 7 intel-corei7-64 or core2-32 on a Fedora 26 64bit host.
Chromium 69 was building fine on the same system.
The text was updated successfully, but these errors were encountered: