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

opensubdiv doesn't compile #31426

Closed
pmiddend opened this issue Nov 9, 2017 · 4 comments
Closed

opensubdiv doesn't compile #31426

pmiddend opened this issue Nov 9, 2017 · 4 comments
Labels
0.kind: bug Something is broken 0.kind: regression Something that worked before working no longer 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Comments

@pmiddend
Copy link
Contributor

pmiddend commented Nov 9, 2017

Issue description

opensubdiv-3.3.0 fails to compile. Relevant output:

[ 87%] Built target osd_gpu_obj
[ 89%] Building NVCC (Device) object opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o
/nix/store/xd2mlzvlgmskbyyb33lz2vdq15k74xpr-glibc-2.26-75-dev/include/bits/floatn.h(61): error: invalid argument to attribute "__mode__"

/nix/store/xd2mlzvlgmskbyyb33lz2vdq15k74xpr-glibc-2.26-75-dev/include/bits/floatn.h(73): error: identifier "__float128" is undefined

2 errors detected in the compilation of "/tmp/nix-build-opensubdiv-3.3.0.drv-0/tmpxft_00007876_00000000-6_cudaKernel.cpp1.ii".
CMake Error at osd_dynamic_gpu_generated_cudaKernel.cu.o.cmake:264 (message):
  Error generating file
  /tmp/nix-build-opensubdiv-3.3.0.drv-0/source/build/opensubdiv/CMakeFiles/osd_dynamic_gpu.dir/osd/./osd_dynamic_gpu_generated_cudaKernel.cu.o

Steps to reproduce

build opensubdiv-3.3.0 from source.

Technical details

  • System: 18.03pre119292.cfafd6f5a8 (Impala)
  • Nix version: nix-env (Nix) 1.11.15
  • Nixpkgs version: "18.03pre119910.27831cbd86"
  • Sandboxing enabled: false
@cillianderoiste
Copy link
Member

I can reproduce this error when cuda is enabled.

@cillianderoiste cillianderoiste added 0.kind: bug Something is broken 0.kind: regression Something that worked before working no longer labels Dec 18, 2017
@cillianderoiste
Copy link
Member

Related issue: facebookarchive/caffe2/issues/1194
It seems to be a problem with cuda 3.3.0 and glibc 2.26

@stale
Copy link

stale bot commented Jun 5, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 5, 2020
@SomeoneSerge
Copy link
Contributor

Evaluating nixpkgs-unstable with these arguments, opensubdiv build with cuda support, specifically with cuda 10.2: https://hercules-ci.com/accounts/github/SomeoneSerge/derivations/%2Fnix%2Fstore%2Fc6knggf4rffvm24vd6b1il2cm8l9azs2-opensubdiv-3.4.4.drv?via-job=5db289ae-240a-40c3-95c3-9eb0566ce090

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 0.kind: regression Something that worked before working no longer 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Projects
None yet
Development

No branches or pull requests

3 participants