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

pkgsCross.armv7l-hf-multiplatform.spidermonkey_78: error: field 'ufp' has incomplete type 'user_vfp' #106947

Closed
Atemu opened this issue Dec 15, 2020 · 4 comments
Labels
0.kind: bug Something is broken 6.topic: cross-compilation Building packages on a different platform than they will be used on

Comments

@Atemu
Copy link
Member

Atemu commented Dec 15, 2020

Describe the bug
A clear and concise description of what the bug is.

In a sea of benign warnings, you can find:

In file included from Unified_cpp_js_src_wasm2.cpp:38:
/build/firefox-78.4.0/js/src/wasm/WasmSignalHandlers.cpp:540:19: error: field 'ufp' has incomplete type 'user_vfp'
  540 |   struct user_vfp ufp;
      |                   ^~~
/build/firefox-78.4.0/js/src/wasm/WasmSignalHandlers.cpp:540:10: note: forward declaration of 'struct user_vfp'
  540 |   struct user_vfp ufp;
      |          ^~~~~~~~
/build/firefox-78.4.0/js/src/wasm/WasmSignalHandlers.cpp:541:23: error: field 'ufp_exc' has incomplete type 'user_vfp_exc'
  541 |   struct user_vfp_exc ufp_exc;
      |                       ^~~~~~~
/build/firefox-78.4.0/js/src/wasm/WasmSignalHandlers.cpp:541:10: note: forward declaration of 'struct user_vfp_exc'
  541 |   struct user_vfp_exc ufp_exc;
      |          ^~~~~~~~~~~~

and I assume that's why the build ultimately fails.

To Reproduce
Steps to reproduce the behavior:

nix-build -A pkgsCross.armv7l-hf-multiplatform.spidermonkey_78

https://github.com/Atemu/nixpkgs/tree/armv7l-cross-old

Additional context
Add any other context about the problem here.

This might be armv7l-specific, currently building pkgsCross.aarch64-multiplatform.spidermonkey_78 to verify...

Edit: That one works, armv7l-specific bug

#106759

Notify maintainers

cc @matthewbauer

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@Atemu Atemu added the 0.kind: bug Something is broken label Dec 15, 2020
@Atemu Atemu changed the title pkgsCross.spidermonkey_78: error: field 'ufp' has incomplete type 'user_vfp' pkgsCross.armv7l-hf-multiplatform.spidermonkey_78: error: field 'ufp' has incomplete type 'user_vfp' Dec 15, 2020
@veprbl veprbl added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Dec 15, 2020
@thefloweringash
Copy link
Member

This looks a lot like upstream bug 1526653 - Spidermonkey building error on Raspberry pi 3. I opened a PR for this (#86532) but haven't found the time to get back to it.

@stale
Copy link

stale bot commented Jun 16, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 16, 2021
@thefloweringash
Copy link
Member

Still important to me. This should be fixed by #114942.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 16, 2021
@misuzu
Copy link
Contributor

misuzu commented Aug 25, 2021

#114942 is merged.

@misuzu misuzu closed this as completed Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 6.topic: cross-compilation Building packages on a different platform than they will be used on
Projects
None yet
Development

No branches or pull requests

4 participants