Summary: | dev-lang/ispc-1.8.2-r3 : cbackend.cpp:1639:18: error: ‘isnan’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Christoph Junghans (RETIRED) <junghans> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | stephan.menzel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-lang:ispc-1.8.2-r3:20160507-114602.log
emerge-history.txt environment |
Description
Toralf Förster
2016-05-07 13:32:30 UTC
Created attachment 433506 [details]
dev-lang:ispc-1.8.2-r3:20160507-114602.log
Created attachment 433508 [details]
emerge-history.txt
Created attachment 433510 [details]
environment
Can you try if adding a std:: to isnan() and isinf() helps? I am not able to reproduce this using gcc-5.3.0, llvm-3.7.1-r1 and glibc-2.22-r4. (In reply to Christoph Junghans from comment #4) yes, changing that and typing "make" into that dir let the build process continue. (In reply to Toralf Förster from comment #6) but it stops now here : clang++ -O2 -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include -DLLVM_3_7 -Wall -DBUILD_DATE="\"20160510\"" -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare -Wno-unused-function -Werror -std=c++11 -Wno-c99-extensions -Wno-deprecated-register -fno-rtti -o objs/util.o -c util.cpp echo Creating C++ source from builtins definition file builtins/dispatch.ll Creating C++ source from builtins definition file builtins/dispatch.ll m4 -Ibuiltins/ -DLLVM_VERSION=LLVM_3_7 -DBUILD_OS=UNIX builtins/dispatch.ll | python bitcode2cpp.py builtins/dispatch.ll > objs/builtins-dispatch.cpp Traceback (most recent call last): File "bitcode2cpp.py", line 25, in <module> if platform.system() == 'Windows' or string.find(platform.system(), "CYGWIN_NT") != -1: AttributeError: 'module' object has no attribute 'find' Makefile:317: recipe for target 'objs/builtins-dispatch.cpp' failed make: *** [objs/builtins-dispatch.cpp] Error 1 (In reply to Toralf Förster from comment #7) > (In reply to Toralf Förster from comment #6) > but it stops now here : > > clang++ -O2 -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS > -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -Iobjs/ -I/usr/include > -DLLVM_3_7 -Wall -DBUILD_DATE="\"20160510\"" > -DBUILD_VERSION="\""no_version_info"\"" -Wno-sign-compare > -Wno-unused-function -Werror -std=c++11 -Wno-c99-extensions > -Wno-deprecated-register -fno-rtti -o objs/util.o -c util.cpp > echo Creating C++ source from builtins definition file builtins/dispatch.ll > Creating C++ source from builtins definition file builtins/dispatch.ll > m4 -Ibuiltins/ -DLLVM_VERSION=LLVM_3_7 -DBUILD_OS=UNIX builtins/dispatch.ll > | python bitcode2cpp.py builtins/dispatch.ll > objs/builtins-dispatch.cpp > Traceback (most recent call last): > File "bitcode2cpp.py", line 25, in <module> > if platform.system() == 'Windows' or string.find(platform.system(), > "CYGWIN_NT") != -1: > AttributeError: 'module' object has no attribute 'find' > Makefile:317: recipe for target 'objs/builtins-dispatch.cpp' failed > make: *** [objs/builtins-dispatch.cpp] Error 1 That error looks to me like the header needs to be changed to use python2, i.e sed -i '1/s/python/&2/' bitcode2cpp.py Are there any news on this one? It has been blocking my updates for months now and I would much appreciate a clean build to sort out all sorts of issues that arise from this. Cheers, Stephan (In reply to Stephan Menzel from comment #9) > Are there any news on this one? > It has been blocking my updates for months So sorry! I meant weeks ;-) just felt like it. (In reply to Stephan Menzel from comment #9) > Are there any news on this one? > It has been blocking my updates for months now and I would much appreciate a > clean build to sort out all sorts of issues that arise from this. I just put ispc-1.9.1 in the tree, maybe that solves the issue, otherwise please report it upstream. Yes it did. 1.9.1 builds fine. Thanks a bunch, this can be closed. |